Changeset 35f3b8c in mainline for arch/ppc32/src/asm.S


Ignore:
Timestamp:
2006-05-18T23:24:40Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c0bc189
Parents:
8424198
Message:

ppc32 work
update framebuffer
get rid of the BAT memory mapping (not finished yet)

File:
1 edited

Legend:

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

    r8424198 r35f3b8c  
    3434.global iret
    3535.global iret_syscall
     36.global invalidate_bat
    3637.global memsetb
    3738.global memcpy
     
    194195        rfi
    195196       
     197invalidate_bat:
     198       
     199        # invalidate block address translation registers
     200       
     201        li r14, 0
     202       
     203        mtspr ibat0u, r14
     204        mtspr ibat0l, r14
     205       
     206        mtspr ibat1u, r14
     207        mtspr ibat1l, r14
     208       
     209        mtspr ibat2u, r14
     210        mtspr ibat2l, r14
     211       
     212        mtspr ibat3u, r14
     213        mtspr ibat3l, r14
     214       
     215        mtspr dbat0u, r14
     216        mtspr dbat0l, r14
     217       
     218        mtspr dbat1u, r14
     219        mtspr dbat1l, r14
     220       
     221        mtspr dbat2u, r14
     222        mtspr dbat2l, r14
     223       
     224        mtspr dbat3u, r14
     225        mtspr dbat3l, r14
     226       
     227        blr
     228       
    196229memsetb:
    197230        rlwimi r5, r5, 8, 16, 23
Note: See TracChangeset for help on using the changeset viewer.