Changeset 3acd1bb in mainline
- Timestamp:
- 2013-02-17T15:00:03Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9ad289d
- Parents:
- 124a1ce (diff), 005b765 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- boot/arch/arm32
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/arm32/Makefile.inc
r124a1ce r3acd1bb 54 54 RD_SRVS_ESSENTIAL += \ 55 55 $(USPACE_PATH)/srv/hid/s3c24xx_ts/s3c24xx_ts \ 56 $(USPACE_PATH)/srv/hw/char/s3c24xx_uart/s3c24 xx_uart56 $(USPACE_PATH)/srv/hw/char/s3c24xx_uart/s3c24ser 57 57 endif 58 58 -
boot/arch/arm32/src/asm.S
r124a1ce r3acd1bb 97 97 nop 98 98 #endif 99 100 #TODO:This should not be necessary101 102 #if defined(MACHINE_gta02)103 104 #define CP15_C7_SEG_SHIFT 5105 #define CP15_C7_SEG_SIZE 3106 #define CP15_C7_IDX_SHIFT 26107 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 segment114 mov r4, #0115 # Initialize index116 1: mov r5, #0117 2: orr r6, r4, r5118 # Clean and invalidate a single line119 mcr p15, 0, r6, c7, c10, 2120 # Increment index121 add r5, r5, #(1 << CP15_C7_IDX_SHIFT)122 cmp r5, #0123 bne 2b124 # Increment segment125 add r4, #(1 << CP15_C7_SEG_SHIFT)126 tst r4, #(1 << (CP15_C7_SEG_SHIFT + CP15_C7_SEG_SIZE))127 beq 1b128 #endif129 130 99 mov pc, r0
Note:
See TracChangeset
for help on using the changeset viewer.