From 7ac9833646b8f0722538c85187497eda9684eafc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Fri, 14 Aug 2009 00:10:59 +0000 Subject: [PATCH] [GSoC] [ARM] Patch by Johannes Wischert. Update the memory map to account for passed tgz mapping. It's still hardcoded for now though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32339 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/boot/platform/u-boot/mmu.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/system/boot/platform/u-boot/mmu.cpp b/src/system/boot/platform/u-boot/mmu.cpp index ad956c03de..b255be6d95 100644 --- a/src/system/boot/platform/u-boot/mmu.cpp +++ b/src/system/boot/platform/u-boot/mmu.cpp @@ -153,12 +153,12 @@ static struct memblock LOADER_MEMORYMAP[] = { 0x40FFFFFF, MMU_L2_FLAG_B, }, - { +/* { "RAM_image\0",//15MB for the initrd should be enough.. 0xA0000000, 0xA1ffffff, MMU_L2_FLAG_C, - }, + },*/ { "RAM_loader\0",//1MB loader 0xA2000000, @@ -183,6 +183,12 @@ static struct memblock LOADER_MEMORYMAP[] = { 0xA4000000, MMU_L2_FLAG_C, }, + { + "RAM_initrd\0",//stack + 0xA4000000, + 0xA4500000, + MMU_L2_FLAG_C, + }, };