Changeset eebd172 in mainline for arch/ppc32/loader/asm.S


Ignore:
Timestamp:
2006-03-13T19:58:00Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6323989
Parents:
272c219
Message:

relocate ppc32 kernel above 2 GB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ppc32/loader/asm.S

    r272c219 reebd172  
    3939.global memsetb
    4040.global memcpy
     41.global flush_instruction_cache
    4142.global jump_to_kernel
    4243
     
    181182
    182183jump_to_kernel:
    183         mtspr SPRN_SRR0, r3
    184         mfmsr r3
    185         lis r4, ~0@h
    186         ori r4, r4, ~(MSR_IR | MSR_DR)@l
    187         and r3, r3, r4
    188         mtspr SPRN_SRR1, r3
    189         bl flush_instruction_cache
    190         rfi
     184        mtlr r3
     185        blr
     186
Note: See TracChangeset for help on using the changeset viewer.