cut ramdisk

This commit is contained in:
Robert Morris 2019-07-30 16:06:00 -04:00
parent b70cd9ebd7
commit d600026c3f

View file

@ -10,7 +10,6 @@
// 10001000 -- virtio disk // 10001000 -- virtio disk
// 80000000 -- boot ROM jumps here in machine mode // 80000000 -- boot ROM jumps here in machine mode
// -kernel loads the kernel here // -kernel loads the kernel here
// 88000000 -- -initrd fs.img ramdisk image.
// unused RAM after 80000000. // unused RAM after 80000000.
// the kernel uses physical memory thus: // the kernel uses physical memory thus:
@ -42,8 +41,6 @@
#define PLIC_MCLAIM(hart) (PLIC + 0x200004 + (hart)*0x2000) #define PLIC_MCLAIM(hart) (PLIC + 0x200004 + (hart)*0x2000)
#define PLIC_SCLAIM(hart) (PLIC + 0x201004 + (hart)*0x2000) #define PLIC_SCLAIM(hart) (PLIC + 0x201004 + (hart)*0x2000)
#define RAMDISK 0x88000000L
// the kernel expects there to be RAM // the kernel expects there to be RAM
// for use by the kernel and user pages // for use by the kernel and user pages
// from physical address 0x80000000 to PHYSTOP. // from physical address 0x80000000 to PHYSTOP.