mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-05 02:40:37 +00:00
dm: cmdline: remove unused parameters
Remove unused parameters for acrn-dm Tracked-On: #1616 Signed-off-by: Conghui Chen <conghui.chen@intel.com> Acked-by: Yin Fengwei <fengwei.yin@intel.com>
This commit is contained in:
@@ -52,7 +52,6 @@ struct vmctx {
|
||||
int vmid;
|
||||
int ioreq_client;
|
||||
uint32_t lowmem_limit;
|
||||
int memflags;
|
||||
size_t lowmem;
|
||||
size_t highmem;
|
||||
char *baseaddr;
|
||||
@@ -69,17 +68,6 @@ struct vmctx {
|
||||
struct acrn_set_vcpu_regs bsp_regs;
|
||||
};
|
||||
|
||||
/*
|
||||
* 'flags' value passed to 'vm_set_memflags()'.
|
||||
*/
|
||||
#define VM_MEM_F_INCORE 0x01 /* include guest memory in core file */
|
||||
#define VM_MEM_F_WIRED 0x02 /* guest memory is wired */
|
||||
|
||||
#define VM_MEMMAP_F_WIRED 0x01
|
||||
#define VM_MEMMAP_F_IOMMU 0x02
|
||||
|
||||
#define VM_MEMSEG_NAME(m) ((m)->name[0] != '\0' ? (m)->name : NULL)
|
||||
|
||||
#define PROT_RW (PROT_READ | PROT_WRITE)
|
||||
#define PROT_ALL (PROT_READ | PROT_WRITE | PROT_EXEC)
|
||||
|
||||
@@ -122,8 +110,6 @@ void hugetlb_unsetup_memory(struct vmctx *ctx);
|
||||
void *vm_map_gpa(struct vmctx *ctx, vm_paddr_t gaddr, size_t len);
|
||||
uint32_t vm_get_lowmem_limit(struct vmctx *ctx);
|
||||
void vm_set_lowmem_limit(struct vmctx *ctx, uint32_t limit);
|
||||
void vm_set_memflags(struct vmctx *ctx, int flags);
|
||||
int vm_get_memflags(struct vmctx *ctx);
|
||||
size_t vm_get_lowmem_size(struct vmctx *ctx);
|
||||
size_t vm_get_highmem_size(struct vmctx *ctx);
|
||||
int vm_run(struct vmctx *ctx);
|
||||
|
Reference in New Issue
Block a user