aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/include/x86
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-01-18 15:22:17 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-01-18 15:22:17 +0000
commitc1ea56152af43af8fa0d6ead7ab22ebd065e63ae (patch)
tree14f1d475305f6cf5a116de14c78057edd0939b07 /extras/mini-os/include/x86
parent2c7a4f62dc6e21ebd25b64c09f249e7773cf1f59 (diff)
downloadxen-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.h2
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)
{