Changeset 279 for trunk/hal/tsar_mips32/kernel.ld
- Timestamp:
- Jul 27, 2017, 12:23:29 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/tsar_mips32/kernel.ld
r63 r279 5 5 6 6 /* Define the kernel code base address */ 7 kernel_base = 0x4000;8 7 9 /* 10 * Set the entry point of the boot-loader (e_entry field in the "boot.elf" 11 * file header) 12 */8 seg_kcode_base = 0x00004000; 9 seg_kgiet_base = 0x80000000; 10 11 /* Set the entry point (e_entry field in the "kernel.elf" file header) */ 13 12 14 13 ENTRY(kernel_init) 15 14 16 /* 17 * Describe how to group the sections 18 */ 15 /* Describe how to group the sections */ 16 19 17 SECTIONS 20 18 { 21 . = kernel_base;19 . = seg_kcode_base; 22 20 seg_kcode : 23 21 { … … 35 33 *(.data*) 36 34 } 35 36 . = seg_kgiet_base; 37 seg_kgiet : 38 { 39 *(.kgiet) 40 } 37 41 }
Note: See TracChangeset
for help on using the changeset viewer.