projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4300db
)
x86/EFI: fix EFI_MEMORY_WP handling
author
Jan Beulich
<jbeulich@suse.com>
Wed, 10 Jun 2015 10:01:35 +0000
(12:01 +0200)
committer
Jan Beulich
<jbeulich@suse.com>
Wed, 10 Jun 2015 10:01:35 +0000
(12:01 +0200)
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/common/efi/boot.c
patch
|
blob
|
history
diff --git
a/xen/common/efi/boot.c
b/xen/common/efi/boot.c
index 4b816f28629efa8284395515618f898b13bc1bc9..130166e75e13790e48c8461e0fcd37aa191a0ce7 100644
(file)
--- a/
xen/common/efi/boot.c
+++ b/
xen/common/efi/boot.c
@@
-1202,7
+1202,7
@@
void __init efi_init_memory(void)
}
if ( desc->Attribute & EFI_MEMORY_WP )
- prot &= _PAGE_RW;
+ prot &=
~
_PAGE_RW;
if ( desc->Attribute & EFI_MEMORY_XP )
prot |= _PAGE_NX;