Changeset 44d0758 in mainline for kernel/arch/sparc64/src/start.S
- Timestamp:
- 2006-11-22T18:35:17Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- aca95f6b
- Parents:
- eb353b3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/start.S
reb353b3 r44d0758 123 123 membar #Sync 124 124 125 #ifdef CONFIG_VIRT_IDX_CACHE 126 #define TTE_LOW_DATA(imm) (TTE_CP | TTE_CV | TTE_P | LMA | (imm)) 127 #else /* CONFIG_VIRT_IDX_CACHE */ 128 #define TTE_LOW_DATA(imm) (TTE_CP | TTE_P | LMA | (imm)) 129 #endif /* CONFIG_VIRT_IDX_CACHE */ 130 125 131 #define SET_TLB_DATA(r1, r2, imm) \ 126 set TTE_ CV | TTE_CP | TTE_P | LMA | imm, %r1; \132 set TTE_LOW_DATA(imm), %r1; \ 127 133 or %r1, %l5, %r1; \ 128 134 mov PAGESIZE_4M, %r2; \ … … 349 355 .global kernel_8k_tlb_data_template 350 356 kernel_8k_tlb_data_template: 351 .quad ((1 << TTE_V_SHIFT) | TTE_CV | TTE_CP | TTE_P | TTE_W) 357 #ifdef CONFIG_VIRT_IDX_CACHE 358 .quad ((1 << TTE_V_SHIFT) | (PAGESIZE_8K << TTE_SIZE_SHIFT) | TTE_CP | TTE_CV | TTE_P | TTE_W) 359 #else /* CONFIG_VIRT_IDX_CACHE */ 360 .quad ((1 << TTE_V_SHIFT) | (PAGESIZE_8K << TTE_SIZE_SHIFT) | TTE_CP | TTE_P | TTE_W) 361 #endif /* CONFIG_VIRT_IDX_CACHE */
Note:
See TracChangeset
for help on using the changeset viewer.