mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-01 03:45:29 +00:00
DM: remove unused function vm_create_devmem
Change-Id: I1d6b56688e533a00a484548ed97fd1968f01041d Tracked-On: #3123 Signed-off-by: Ying Liu <ying2.liu@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
parent
75ef7e8458
commit
ec924385ae
@ -378,12 +378,6 @@ vm_get_highmem_size(struct vmctx *ctx)
|
||||
return ctx->highmem;
|
||||
}
|
||||
|
||||
void *
|
||||
vm_create_devmem(struct vmctx *ctx, int segid, const char *name, size_t len)
|
||||
{
|
||||
return MAP_FAILED;
|
||||
}
|
||||
|
||||
int
|
||||
vm_run(struct vmctx *ctx)
|
||||
{
|
||||
|
@ -89,8 +89,6 @@ struct vm_isa_irq {
|
||||
*
|
||||
* Returns a pointer to the memory segment on success and MAP_FAILED otherwise.
|
||||
*/
|
||||
void *vm_create_devmem(struct vmctx *ctx, int segid, const char *name,
|
||||
size_t len);
|
||||
int vm_get_device_fd(struct vmctx *ctx);
|
||||
struct vmctx *vm_create(const char *name, uint64_t req_buf);
|
||||
void vm_pause(struct vmctx *ctx);
|
||||
|
Loading…
Reference in New Issue
Block a user