Changeset 75a3095 in mainline for arch/ppc32/loader/asm.S


Ignore:
Timestamp:
2006-03-12T17:16:47Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3998ab2
Parents:
91aba7f
Message:

fix various ppc32 bootloader bugs

File:
1 edited

Legend:

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

    r91aba7f r75a3095  
    3333
    3434flush_buffer:
    35         .space 4
     35        .space (L1_CACHE_LINES * L1_CACHE_BYTES)
    3636
    3737.text
     
    185185
    186186jump_to_kernel:
    187         mfmsr r4
    188         andis. r4, r4, (~MSR_DR | MSR_IR) >> 16
    189187        mtspr SPRN_SRR0, r3
    190         mtspr SPRN_SRR1, r4
     188        mfmsr r3
     189        andi. r3, r3, ~(MSR_IR | MSR_DR)@l
     190        mtspr SPRN_SRR1, r3
    191191        bl flush_instruction_cache
    192192        rfi
Note: See TracChangeset for help on using the changeset viewer.