Changeset 7740f86 in mainline for arch/ppc32/loader/asm.S


Ignore:
Timestamp:
2006-03-13T13:05:00Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8cbe350
Parents:
3998ab2
Message:

better MSR bits masking

File:
1 edited

Legend:

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

    r3998ab2 r7740f86  
    187187        mtspr SPRN_SRR0, r3
    188188        mfmsr r3
    189         andi. r3, r3, ~(MSR_IR | MSR_DR)@l
     189        lis r4, ~0@h
     190        ori r4, r4, ~(MSR_IR | MSR_DR)@l
     191        and r3, r3, r4
    190192        mtspr SPRN_SRR1, r3
    191193        bl flush_instruction_cache
Note: See TracChangeset for help on using the changeset viewer.