[haiku-bugs] Re: [Haiku] #10984: Fault raised due to invalid memory access when MMU is turned on

  • From: "pdziepak" <trac@xxxxxxxxxxxx>
  • Date: Thu, 26 Jun 2014 15:31:33 -0000

#10984: Fault raised due to invalid memory access when MMU is turned on
----------------------------------+----------------------------
   Reporter:  arvindsraj          |      Owner:  ithamar
       Type:  bug                 |     Status:  assigned
   Priority:  normal              |  Milestone:  R1
  Component:  System/Boot Loader  |    Version:  R1/Development
 Resolution:                      |   Keywords:  gsoc2014
 Blocked By:                      |   Blocking:
Has a Patch:  1                   |   Platform:  arm
----------------------------------+----------------------------

Comment (by pdziepak):

 What is the point of using `r2` instead of directly accessing `sp`?

 Also, what about something like:
 {{{
 #define STACK_BASE (SDRAM_BASE + 0x1200000)
 ...
 ldr sp, =STACK_BASE
 }}}

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

Other related posts: