Changeset 7e85bfbe in rtems for c/src/lib/libbsp/powerpc/shared/bootloader/exception.S
- Timestamp:
- Aug 24, 2011, 9:48:56 AM (10 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 01750d5
- Parents:
- 1d367a49
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/powerpc/shared/bootloader/exception.S
r1d367a49 r7e85bfbe 153 153 andi. r3,r1,8 # check for guarded memory 154 154 bne- 5f 155 mtspr RPA,r1155 mtspr PPC_RPA,r1 156 156 mfsrr1 r3 157 157 tlbli r0 … … 169 169 mfsrr1 r3 # get saved cr0 bits now to dual issue 170 170 ori r1,r1,0x100 171 mtspr RPA,r1171 mtspr PPC_RPA,r1 172 172 tlbli r0 173 173 /* Do not update PTE if R bit already set, this will save one cache line … … 249 249 mfspr r0,DMISS # get miss address during load delay 250 250 #ifdef ASSUME_REF_SET 251 mtspr RPA,r1251 mtspr PPC_RPA,r1 252 252 mfsrr1 r3 253 253 tlbld r0 … … 256 256 mfsrr1 r3 # get saved cr0 bits now to dual issue 257 257 ori r1,r1,0x100 258 mtspr RPA,r1258 mtspr PPC_RPA,r1 259 259 tlbld r0 260 260 /* Do not update PTE if R bit already set, this will save one cache line … … 327 327 beq- 5f # if (C==0) go to check protection 328 328 3: mfsrr1 r3 # get the saved cr0 bits 329 mtspr RPA,r1 # set the pte329 mtspr PPC_RPA,r1 # set the pte 330 330 tlbld r0 # load the dtlb 331 331 mtcrf 0x80,r3 # restore CR0
Note: See TracChangeset
for help on using the changeset viewer.