mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 01:07:57 +00:00
hv:Change the function parameter for init_ept_mem_ops
Currently the parameter of init_ept_mem_ops is 'struct acrn_vm *vm' for this api,change it to 'struct memory_ops *mem_ops' and 'vm_id' to avoid the reversed dependency, page.c is hardware layer and vm structure is its upper-layer stuff. Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
0f70a5ca3a
commit
d81872ba18
@@ -75,7 +75,7 @@ struct memory_ops {
|
||||
};
|
||||
|
||||
extern const struct memory_ops ppt_mem_ops;
|
||||
void init_ept_mem_ops(struct acrn_vm *vm);
|
||||
void init_ept_mem_ops(struct memory_ops *mem_ops, uint16_t vm_id);
|
||||
void *get_reserve_sworld_memory_base(void);
|
||||
|
||||
#endif /* PAGE_H */
|
||||
|
Reference in New Issue
Block a user