[haiku-bugs] Re: [Haiku] #11896: ARM loader: arch_mmu positioning dynamic va start incorrectly.

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Thu, 12 Mar 2015 13:11:45 -0000

#11896: ARM loader: arch_mmu positioning dynamic va start incorrectly.
------------------------------+--------------------------------------------
   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:  1               |
------------------------------+--------------------------------------------

Comment (by pulkomandy):

 This address is the start of the dynamically allocated RAM. We are
 apparently trying to identity-map it (va==pa) but we also want it to be in
 kernel space (>= KERNEL_LOAD_BASE). This isn't possible with the Pi memory
 map.

 So, KERNEL_LOAD_BASE + kMaxKernelSize would make sense. It makes sure we
 don't erase the kernel with allocated memory, and moves the virtual
 addresses to kernel-side address space.

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

Other related posts: