diff options
author | Robert Morris <[email protected]> | 2019-05-31 11:45:42 -0400 |
---|---|---|
committer | Robert Morris <[email protected]> | 2019-05-31 11:45:42 -0400 |
commit | 5d34fa2a489940f19ee6c4728e4b11b6d8ffad01 (patch) | |
tree | 98bb91986da866684aa0159d3e44991ea8a1a87c /memlayout.h | |
parent | 2ec1959fd1016a18ef3b2d154ce7076be8f237e4 (diff) | |
download | xv6-labs-5d34fa2a489940f19ee6c4728e4b11b6d8ffad01.tar.gz xv6-labs-5d34fa2a489940f19ee6c4728e4b11b6d8ffad01.tar.bz2 xv6-labs-5d34fa2a489940f19ee6c4728e4b11b6d8ffad01.zip |
-initrd fs.img, ramdisk.c, file system
Diffstat (limited to 'memlayout.h')
-rw-r--r-- | memlayout.h | 4 |
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. |