Changeset 34259b9 in mainline
- Timestamp:
- 2009-02-02T12:55:40Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7b187ef
- Parents:
- 108a60f9
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/ppc32/loader/asm.S
r108a60f9 r34259b9 30 30 #include "regname.h" 31 31 32 .macro FLUSH_CACHE addr 33 dcbst 0, \addr 34 sync 35 icbi 0, \addr 36 isync 37 .endm 38 32 39 .text 33 40 … … 165 172 stw r28, 0(r30) 166 173 174 FLUSH_CACHE r30 175 167 176 addi r29, r29, 4 168 177 addi r30, r30, 4 … … 186 195 mtctr r29 187 196 li r30, 0 # ASID 0 (VSIDs 0 .. 7) 188 197 189 198 seg_fill_uspace: 190 199 … … 260 269 261 270 stw r29, 0(r31) 271 FLUSH_CACHE r31 262 272 263 273 addi r31, r31, 4 -
kernel/arch/ppc32/_link.ld.in
r108a60f9 r34259b9 2 2 * 3 3 * umapped section: 4 * 5 * 4 * kernel text 5 * kernel data 6 6 * mapped section: 7 * 8 * kernel data7 * kernel text 8 * kernel data 9 9 * 10 10 */ … … 28 28 } 29 29 30 .mapped PA2KA(BOOT_OFFSET): AT (BOOT_OFFSET) { 30 .mapped PA2KA(BOOT_OFFSET): AT (BOOT_OFFSET) { 31 31 ktext_start = .; 32 32 *(K_TEXT_START); … … 38 38 *(.rodata); 39 39 *(.rodata.*); 40 *(.data); 40 *(.data); /* initialized data */ 41 41 *(.sdata); 42 42 *(.sdata2); 43 43 *(.sbss); 44 44 hardcoded_ktext_size = .; 45 LONG(ktext_end - ktext_start); 45 LONG(ktext_end - ktext_start); 46 46 hardcoded_kdata_size = .; 47 47 LONG(kdata_end - kdata_start); 48 48 hardcoded_load_address = .; 49 49 LONG(PA2KA(BOOT_OFFSET)); 50 *(.bss); /* uninitialized static variables */51 *(COMMON); 52 50 *(.bss); /* uninitialized static variables */ 51 *(COMMON); /* global variables */ 52 53 53 symbol_table = .; 54 *(symtab.*); 55 54 *(symtab.*); /* Symbol table, must be LAST symbol!*/ 55 56 56 kdata_end = .; 57 57 }
Note:
See TracChangeset
for help on using the changeset viewer.