Ignore:
Timestamp:
Jul 31, 2017, 1:59:52 PM (4 years ago)
Author:
alain
Message:

Several modifs in the generic scheduler and in the hal_context to
fix the context switch mechanism.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/tsar_mips32/kernel.ld

    r279 r296  
    1 /*******************************************************************************
    2  * This is the linker script for the ALMOS-MKH TSAR kernel.
    3  * It describes the memory layout for the "kernel.elf" binary file.
    4  ******************************************************************************/
     1/***************************************************************************************
     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 three
     4 * loadable segments, that MUST be identity mapped for the TSAR architecture.
     5 *
     6 * WARNING the seg_kentry_base and seg_kcode_base defined below must be kept coherent
     7 * with the values defined in the boot_config.h file used by the TSAR bootloader.
     8 **************************************************************************************/
    59
    610/* Define the kernel code base address */
    711
    8 seg_kcode_base = 0x00004000;
    9 seg_kgiet_base = 0x80000000;
     12seg_kcode_base  = 0x00008000;
     13seg_kentry_base = 0x00004000;
    1014
    1115/* Set the entry point (e_entry field in the "kernel.elf" file header) */
     
    3438        }
    3539
    36     . = seg_kgiet_base;
    37     seg_kgiet :
     40    . = seg_kentry_base;
     41    seg_kentry :
    3842    {
    39                 *(.kgiet)
     43                *(.kentry)
    4044    }
    4145}
Note: See TracChangeset for help on using the changeset viewer.