[haiku-bugs] Re: [Haiku] #11896: ARM: arch_mmu assumes RAM starts at 80000000

  • From: "kallisti5" <trac@xxxxxxxxxxxx>
  • Date: Thu, 12 Mar 2015 11:55:08 -0000

#11896: ARM: arch_mmu assumes RAM starts at 80000000
------------------------------+--------------------------------------------
   Reporter:  kallisti5       |      Owner:  pdziepak
       Type:  bug             |     Status:  new
   Priority:  normal          |  Milestone:  Unscheduled
  Component:  System/Boot     |    Version:  R1/Development
  Loader                      |   Keywords:  ARM MMU pfoetchen mmu_man rpi2
 Resolution:                  |   Blocking:
 Blocked By:                  |   Platform:  arm
Has a Patch:  0               |
------------------------------+--------------------------------------------

Comment (by kallisti5):

 Looking at the logs and the mmu code,

 {{{
 src/system/boot/arch/arm/arch_mmu.cpp

 init_page_directory()...

     // ****
     // 80000 - d0000 here....
     // *****
     // map ourselfs first... just to make sure
     mmu_map_identity((addr_t)&_start, (addr_t)&_end, ARM_MMU_L2_FLAG_C);

     // ****
     // 100000 - 300000 here....
     // *****
     // map our page directory region (TODO should not be identity mapped)
     mmu_map_identity((addr_t)sPageDirectory, sPageTableRegionEnd,
 ARM_MMU_L2_FLAG_C);
 }}}

 So what is attempting to use the 300000+?

--
Ticket URL: <https://dev.haiku-os.org/ticket/11896#comment:7>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: