Last change
on this file since 643 was
624,
checked in by alain, 5 years ago
|
Fix several bugs to use the instruction MMU in kernel mode
in replacement of the instruction address extension register,
and remove the "kentry" segment.
This version is running on the tsar_generic_iob" platform.
One interesting bug: the cp0_ebase defining the kernel entry point
(for interrupts, exceptions and syscalls) must be initialized
early in kernel_init(), because the VFS initialisation done by
kernel_ini() uses RPCs, and RPCs uses Inter-Processor-Interrup.
|
File size:
696 bytes
|
Rev | Line | |
---|
[610] | 1 | /******************************************************************* |
---|
| 2 | * This is the linker script for the ALMOS-MKH boot-loader, |
---|
| 3 | * to generate the 'boot.elf' file used for the TSAR architecture. |
---|
| 4 | *******************************************************************/ |
---|
[439] | 5 | |
---|
| 6 | /* define the boot code base address */ |
---|
| 7 | |
---|
[624] | 8 | boot_code_base = 0x200000; |
---|
[439] | 9 | |
---|
[610] | 10 | /* Set the entry point of the boot-loader */ |
---|
| 11 | /* (e_entry field in the "boot.elf" file header) */ |
---|
[439] | 12 | |
---|
| 13 | ENTRY(boot_entry) |
---|
| 14 | |
---|
| 15 | /* Describe how to group the sections */ |
---|
| 16 | |
---|
| 17 | SECTIONS |
---|
| 18 | { |
---|
| 19 | . = boot_code_base; |
---|
[624] | 20 | .code : |
---|
[439] | 21 | { |
---|
| 22 | *(.text) |
---|
| 23 | *(.rodata*) |
---|
| 24 | } |
---|
| 25 | . = ALIGN(0x1000); |
---|
| 26 | .data : |
---|
| 27 | { |
---|
| 28 | *(.data*) |
---|
| 29 | *(.bss) |
---|
[624] | 30 | *(.scommon) |
---|
[439] | 31 | } |
---|
| 32 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.