mirror of
https://github.com/xemu-project/xemu.git
synced 2025-04-02 11:11:48 -04:00
pass an inclusive address range to xc_domain_pin_memory_cacheattr
xc_domain_pin_memory_cacheattr expects an inclusive address range: adjust the parameters. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
This commit is contained in:
parent
04b0de0ee8
commit
8b6bb0ad17
1 changed files with 1 additions and 1 deletions
|
@ -323,7 +323,7 @@ go_physmap:
|
|||
|
||||
xc_domain_pin_memory_cacheattr(xen_xc, xen_domid,
|
||||
start_addr >> TARGET_PAGE_BITS,
|
||||
(start_addr + size) >> TARGET_PAGE_BITS,
|
||||
(start_addr + size - 1) >> TARGET_PAGE_BITS,
|
||||
XEN_DOMCTL_MEM_CACHEATTR_WB);
|
||||
|
||||
snprintf(path, sizeof(path),
|
||||
|
|
Loading…
Add table
Reference in a new issue