[haiku-commits] r39046 - haiku/trunk/src/system/boot/platform/u-boot

  • From: ithamar.adema@xxxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 22 Oct 2010 17:57:58 +0200 (CEST)

Author: ithamar
Date: 2010-10-22 17:57:57 +0200 (Fri, 22 Oct 2010)
New Revision: 39046
Changeset: http://dev.haiku-os.org/changeset/39046

Modified:
   haiku/trunk/src/system/boot/platform/u-boot/mmu.cpp
Log:
* Remove references to vectors, they are not at physical address 0, but on 
either virtual address 0 or (in case of high vectors) on 0xffff0000....


Modified: haiku/trunk/src/system/boot/platform/u-boot/mmu.cpp
===================================================================
--- haiku/trunk/src/system/boot/platform/u-boot/mmu.cpp 2010-10-22 08:53:38 UTC 
(rev 39045)
+++ haiku/trunk/src/system/boot/platform/u-boot/mmu.cpp 2010-10-22 15:57:57 UTC 
(rev 39046)
@@ -47,8 +47,7 @@
 */
 
 /*!    The (physical) memory layout of the boot loader is currently as follows:
-        0x000000000                    interupt vectors
-        0x???                          u-boot
+        0x00000000                     u-boot (run from NOR flash)
         0xa0000000                     u-boot stuff like kernel arguments afaik
         0xa0100000 - 0xa0ffffff        boot.tgz (up to 15MB probably never 
needed so big...)
         0xa1000000 - 0xa1ffffff        pagetables
@@ -78,13 +77,7 @@
 
 
 static struct memblock LOADER_MEMORYMAP[] = {
-        {
-                "vectors",//interrupt vectors
-               VECT_BASE,
-               VECT_BASE + VECT_SIZE - 1,
-               MMU_L2_FLAG_B,
-        },
-        {
+       {
                 "devices",
                DEVICE_BASE,
                DEVICE_BASE + DEVICE_SIZE - 1,


Other related posts:

  • » [haiku-commits] r39046 - haiku/trunk/src/system/boot/platform/u-boot - ithamar . adema