mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-06 08:04:55 +00:00
hypercall: add set_memmaps hypercall support
Add set_memmaps hypercall to support multi regions memmap. Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -237,6 +237,17 @@ int64_t hcall_notify_req_finish(uint64_t vmid, uint64_t param);
|
||||
*/
|
||||
int64_t hcall_set_vm_memmap(struct vm *vm, uint64_t vmid, uint64_t param);
|
||||
|
||||
/**
|
||||
* @brief setup ept memmory mapping for multi regions
|
||||
*
|
||||
* @param vm Pointer to VM data structure
|
||||
* @param param guest physical address. This gpa points to
|
||||
* struct set_memmaps
|
||||
*
|
||||
* @return 0 on success, non-zero on error.
|
||||
*/
|
||||
int64_t hcall_set_vm_memmaps(struct vm *vm, uint64_t param);
|
||||
|
||||
/**
|
||||
* @brief remap PCI MSI interrupt
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user