diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-01-18 15:22:17 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-01-18 15:22:17 +0000 |
commit | c1ea56152af43af8fa0d6ead7ab22ebd065e63ae (patch) | |
tree | 14f1d475305f6cf5a116de14c78057edd0939b07 /extras/mini-os/include/x86 | |
parent | 2c7a4f62dc6e21ebd25b64c09f249e7773cf1f59 (diff) | |
download | xen-c1ea56152af43af8fa0d6ead7ab22ebd065e63ae.tar.gz xen-c1ea56152af43af8fa0d6ead7ab22ebd065e63ae.tar.bz2 xen-c1ea56152af43af8fa0d6ead7ab22ebd065e63ae.zip |
minios: set text and rodata read-only, free unused pages 0 and 1
Signed-off-by: Samuel Thibault <samuel.thibault@eu.citrix.com>
Diffstat (limited to 'extras/mini-os/include/x86')
-rw-r--r-- | extras/mini-os/include/x86/arch_mm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/mini-os/include/x86/arch_mm.h b/extras/mini-os/include/x86/arch_mm.h index ddf132f1be..5c7f061471 100644 --- a/extras/mini-os/include/x86/arch_mm.h +++ b/extras/mini-os/include/x86/arch_mm.h @@ -189,7 +189,7 @@ typedef unsigned long maddr_t; #endif extern unsigned long *phys_to_machine_mapping; -extern char _text, _etext, _edata, _end; +extern char _text, _etext, _erodata, _edata, _end; #define pfn_to_mfn(_pfn) (phys_to_machine_mapping[(_pfn)]) static __inline__ maddr_t phys_to_machine(paddr_t phys) { |