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/tools/bootloader_tsar/boot_config.h

    r68 r296  
    2020
    2121// Preloader temporary segment
    22 #define PRELOADER_BASE      0x0             /* Preloader base address.      */
    23 #define PRELOADER_MAX_SIZE  0x4000          /* Preloader max size.          */
     22#define PRELOADER_BASE      0x00000000      // 'preloader' physical base address
     23#define PRELOADER_MAX_SIZE  0x00004000      // 'preloader' max size
    2424
    25 // boot code temporary segment
    26 #define BOOT_BASE           0x100000        /* 'boot.elf' base address.     */
    27 #define BOOT_MAX_SIZE       0x010000        /* 'boot.elf' max size.         */
     25// kentry segment
     26#define KENTRY_BASE         0x00004000      // 'kentry' segment physical base address       
     27#define KENTRY_MAX_SIZE     0X00004000      // 'kentry' segment max size
    2828
    29 // arch_info temporary segment
    30 #define ARCHINFO_BASE       0x200000        /* 'arch_info.bin' file base address */
    31 #define ARCHINFO_MAX_SIZE   0x010000        /* 'arch_info.bin' file max size.    */
     29// kcode segment
     30#define KCODE_BASE          0x00008000      // 'kcode' segment physical base address
     31#define KCODE_MAX_SIZE      0x000F8000      // 'kcode' + 'kdata' segments max size
    3232
    33 // kernel code temporary segment
    34 #define KERN_BASE           0x300000        /* 'kernel.elf' file base address    */
    35 #define KERN_MAX_SIZE       0x200000        /* 'kernel.elf' file max size.       */
     33// boot.elf file temporary buffer
     34#define BOOT_BASE           0x00100000      // 'boot.elf' file physical base address   
     35#define BOOT_MAX_SIZE       0x00010000      // 'boot.elf' file max size
     36
     37// arch_info file temporary buffer
     38#define ARCHINFO_BASE       0x00200000      // 'arch_info.bin' file physical base address
     39#define ARCHINFO_MAX_SIZE   0x00010000      // 'arch_info.bin' file max size
     40
     41// kernel.elf file temporary buffer
     42#define KERN_BASE           0x00300000      // 'kernel.elf' file base address
     43#define KERN_MAX_SIZE       0x00200000      // 'kernel.elf' file max size
    3644
    3745// Temporary stacks segments
    38 #define BOOT_STACK_BASE     0x504000        /* Boot stack base address.     */
    39 #define BOOT_STACK_SIZE     0x4000          /* Boot stack size (16Kb)       */
     46#define BOOT_STACK_BASE     0x00504000      // Boot stack base address
     47#define BOOT_STACK_SIZE     0x00004000      // Boot stack size (16Kb)
     48
     49
    4050
    4151#endif  // _BOOT_CONFIG_H
Note: See TracChangeset for help on using the changeset viewer.