mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 09:17:58 +00:00
dm: remove set vm memory by cma
Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
This commit is contained in:
@@ -90,6 +90,7 @@
|
||||
|
||||
/* Guest memory management */
|
||||
#define IC_ID_MEM_BASE 0x40UL
|
||||
/* IC_ALLOC_MEMSEG not used */
|
||||
#define IC_ALLOC_MEMSEG _IC_ID(IC_ID, IC_ID_MEM_BASE + 0x00)
|
||||
#define IC_SET_MEMSEG _IC_ID(IC_ID, IC_ID_MEM_BASE + 0x01)
|
||||
|
||||
@@ -105,17 +106,6 @@
|
||||
#define IC_ID_PM_BASE 0x60UL
|
||||
#define IC_PM_GET_CPU_STATE _IC_ID(IC_ID, IC_ID_PM_BASE + 0x00)
|
||||
|
||||
/**
|
||||
* struct vm_memseg - memory segment info for guest
|
||||
*
|
||||
* @len: length of memory segment
|
||||
* @gpa: guest physical start address of memory segment
|
||||
*/
|
||||
struct vm_memseg {
|
||||
uint64_t len;
|
||||
uint64_t gpa;
|
||||
};
|
||||
|
||||
#define VM_MEMMAP_SYSMEM 0
|
||||
#define VM_MMIO 1
|
||||
|
||||
|
Reference in New Issue
Block a user