summaryrefslogtreecommitdiff
path: root/memlayout.h
diff options
context:
space:
mode:
Diffstat (limited to 'memlayout.h')
-rw-r--r--memlayout.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/memlayout.h b/memlayout.h
index 798621e..9bc9c5d 100644
--- a/memlayout.h
+++ b/memlayout.h
@@ -4,6 +4,8 @@
// 00001000 -- boot ROM, provided by qemu
// 10000000 -- uart0 registers
// 80000000 -- boot ROM jumps here in machine mode
+// -kernel loads the kernel here
+// 88000000 -- -initrd fs.img ramdisk image.
// unused RAM after 80000000.
// the kernel uses physical memory thus:
@@ -14,6 +16,8 @@
// registers start here in physical memory.
#define UART0 0x10000000L
+#define RAMDISK 0x88000000
+
// the kernel expects there to be RAM
// for use by the kernel and user pages
// from physical address 0x80000000 to PHYSTOP.