|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [RFC PATCH 76/84] x86/setup: also clear the permission bits in the dummy 1:1 mapping.
From: Hongyan Xia <hongyax@xxxxxxxxxx>
Signed-off-by: Hongyan Xia <hongyax@xxxxxxxxxx>
---
xen/arch/x86/setup.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/xen/arch/x86/setup.c b/xen/arch/x86/setup.c
index 3dc2fad987..9015e3b723 100644
--- a/xen/arch/x86/setup.c
+++ b/xen/arch/x86/setup.c
@@ -1368,7 +1368,7 @@ void __init noreturn __start_xen(unsigned long mbi_p)
if ( map_e < end )
{
map_pages_to_xen((unsigned long)__va(map_e), INVALID_MFN,
- PFN_DOWN(end - map_e), PAGE_HYPERVISOR);
+ PFN_DOWN(end - map_e), _PAGE_NONE);
init_boot_pages(map_e, end);
map_e = end;
}
@@ -1383,7 +1383,7 @@ void __init noreturn __start_xen(unsigned long mbi_p)
if ( s < map_s )
{
map_pages_to_xen((unsigned long)__va(s), INVALID_MFN,
- PFN_DOWN(map_s - s), PAGE_HYPERVISOR);
+ PFN_DOWN(map_s - s), _PAGE_NONE);
init_boot_pages(s, map_s);
}
}
--
2.17.1
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |