[haiku-bugs] Re: [Haiku] #5193: [PATCH] openfirmware: Skip mappings to non-physical memory

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Fri, 21 May 2010 15:49:16 -0000

#5193: [PATCH] openfirmware: Skip mappings to non-physical memory
---------------------------------+------------------------------------------
  Reporter:  andreasf            |       Owner:  axeld         
      Type:  bug                 |      Status:  closed        
  Priority:  normal              |   Milestone:  R1            
 Component:  System/Boot Loader  |     Version:  R1/Development
Resolution:  fixed               |    Keywords:                
  Platform:  PowerPC             |   Blockedby:                
     Patch:  1                   |    Blocking:  1048          
---------------------------------+------------------------------------------
Changes (by bonefish):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 Reverted the first patch and uncommented the addition of virtual ranges in
 r36886. Basically what the second patch does, just with a comment and
 without a warning.

 I don't see a convincing reason for
 attachment:ppc_free_unused_boot_loader_range2.diff ATM.

 Replying to [comment:7 andreasf]:
 > More specifically, {{{spawn_kernel_thread}}} ({{{thread.cpp}}}) calls
 {{{create_thread}}} and in turn {{{arch_thread_init_kthread_stack}}},
 where the {{{memset}}} of 0x80a01000 (size 0x3000) does not return.
 >
 > As can be seen above, 0x80a0000 is identity-mapped in OpenFirmware.

 It shouldn't be mapped at this point anymore.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/5193#comment:8>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: