Changes in / [3acd1bb:124a1ce] in mainline
- Location:
- boot/arch/arm32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/arm32/Makefile.inc
r3acd1bb r124a1ce 54 54 RD_SRVS_ESSENTIAL += \ 55 55 $(USPACE_PATH)/srv/hid/s3c24xx_ts/s3c24xx_ts \ 56 $(USPACE_PATH)/srv/hw/char/s3c24xx_uart/s3c24 ser56 $(USPACE_PATH)/srv/hw/char/s3c24xx_uart/s3c24xx_uart 57 57 endif 58 58 -
boot/arch/arm32/src/asm.S
r3acd1bb r124a1ce 97 97 nop 98 98 #endif 99 100 #TODO:This should not be necessary 101 102 #if defined(MACHINE_gta02) 103 104 #define CP15_C7_SEG_SHIFT 5 105 #define CP15_C7_SEG_SIZE 3 106 #define CP15_C7_IDX_SHIFT 26 107 108 # Now clean D-cache to guarantee coherency between I-cache and D-cache. 109 110 # D-cache clean and invalidate procedure. 111 # See ARM920T TRM pages 2-17, 4-17. 112 113 # Initialize segment 114 mov r4, #0 115 # Initialize index 116 1: mov r5, #0 117 2: orr r6, r4, r5 118 # Clean and invalidate a single line 119 mcr p15, 0, r6, c7, c10, 2 120 # Increment index 121 add r5, r5, #(1 << CP15_C7_IDX_SHIFT) 122 cmp r5, #0 123 bne 2b 124 # Increment segment 125 add r4, #(1 << CP15_C7_SEG_SHIFT) 126 tst r4, #(1 << (CP15_C7_SEG_SHIFT + CP15_C7_SEG_SIZE)) 127 beq 1b 128 #endif 129 99 130 mov pc, r0
Note:
See TracChangeset
for help on using the changeset viewer.