From 5d34fa2a489940f19ee6c4728e4b11b6d8ffad01 Mon Sep 17 00:00:00 2001 From: Robert Morris Date: Fri, 31 May 2019 11:45:42 -0400 Subject: -initrd fs.img, ramdisk.c, file system --- memlayout.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'memlayout.h') 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. -- cgit v1.2.3