Changeset 34259b9 in mainline for boot/arch/ppc32/loader/asm.S


Ignore:
Timestamp:
2009-02-02T12:55:40Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7b187ef
Parents:
108a60f9
Message:

flush cache during image copying

File:
1 edited

Legend:

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

    r108a60f9 r34259b9  
    3030#include "regname.h"
    3131
     32.macro FLUSH_CACHE addr
     33        dcbst 0, \addr
     34        sync
     35        icbi 0, \addr
     36        isync
     37.endm
     38
    3239.text
    3340
     
    165172                        stw r28, 0(r30)
    166173                       
     174                        FLUSH_CACHE r30
     175                       
    167176                        addi r29, r29, 4
    168177                        addi r30, r30, 4
     
    186195        mtctr r29
    187196        li r30, 0                     # ASID 0 (VSIDs 0 .. 7)
    188 
     197       
    189198        seg_fill_uspace:
    190199       
     
    260269               
    261270                stw r29, 0(r31)
     271                FLUSH_CACHE r31
    262272               
    263273                addi r31, r31, 4
Note: See TracChangeset for help on using the changeset viewer.