Changeset 1b34360 in mainline
- Timestamp:
- 2013-09-01T20:21:59Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 60b1076, 61ab4a9, 730ff63
- Parents:
- f7fba727
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/sparc64/src/asm.S
rf7fba727 r1b34360 30 30 #include <arch/arch.h> 31 31 32 #if defined(PROCESSOR_us) || defined(PROCESSOR_us3) 32 33 #define ICACHE_SIZE 8192 33 34 #define ICACHE_LINE_SIZE 32 34 35 #define ICACHE_SET_BIT (1 << 13) 35 36 #define ASI_ICACHE_TAG 0x67 37 #endif /* PROCESSOR_us || PROCESSOR_us3 */ 36 38 37 39 .register %g2, #scratch … … 134 136 # Flush I-cache 135 137 icache_flush: 138 #if defined(PROCESSOR_us) || defined(PROCESSOR_us3) 136 139 set ((ICACHE_SIZE - ICACHE_LINE_SIZE) | ICACHE_SET_BIT), %g1 137 140 stxa %g0, [%g1] ASI_ICACHE_TAG … … 149 152 150 153 nop 154 #else 155 // TODO: sun4v 156 retl 157 nop 158 #endif /* PROCESSOR_us || PROCESSOR_us3 */ 151 159 152 160 .global ofw
Note:
See TracChangeset
for help on using the changeset viewer.