Changeset 624 for trunk/hal/tsar_mips32/kernel.ld
- Timestamp:
- Mar 12, 2019, 1:37:38 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/kernel.ld
r623 r624 1 1 /*************************************************************************************** 2 2 * This is the linker script for the ALMOS-MKH kernel code on the TSAR architecture. 3 * It describes the memory layout for the "kernel.elf" binary file, containing th ree3 * It describes the memory layout for the "kernel.elf" binary file, containing the two 4 4 * loadable segments, that MUST be identity mapped for the TSAR architecture. 5 5 * 6 * WARNING : the seg_k entry_base and seg_kcode_base defined below must be coherent6 * WARNING : the seg_kcode_base defined below must be coherent 7 7 * with the values defined in the boot_config.h file used by the TSAR bootloader. 8 8 **************************************************************************************/ … … 10 10 /* Define the kernel code base addresses */ 11 11 12 seg_kcode_base = 0x00008000; 13 seg_kentry_base = 0x00004000; 12 seg_kcode_base = 0x00004000; 14 13 15 /* Set the entry point (e_entry field in the "kernel.elf" file header) */14 /* Define the e_entry field in the "kernel.elf" file header) */ 16 15 17 16 ENTRY(kernel_init) … … 24 23 seg_kcode : 25 24 { 25 *(.kentry) 26 *(.switch) 26 27 *(.text) 27 28 *(.rodata*) … … 35 36 *(.kidle) 36 37 *(.kdata*) 38 *(.scommon) 39 *(.bss) 40 *(.eh*) 37 41 *(.data*) 38 42 } 39 40 . = seg_kentry_base;41 seg_kentry :42 {43 *(.kentry)44 *(.switch)45 }46 43 }
Note: See TracChangeset
for help on using the changeset viewer.