Changeset 544 for trunk/boot/tsar_mips32


Ignore:
Timestamp:
Sep 21, 2018, 10:22:51 PM (6 years ago)
Author:
nicolas.van.phan@…
Message:

Stop accessing first 8Mb of physical memory

Location:
trunk/boot/tsar_mips32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/boot/tsar_mips32/boot.ld

    r439 r544  
    66/* define the boot code base address */
    77
    8 boot_code_base = 0x100000;
     8boot_code_base = 0x900000;
    99
    1010/* Set the entry point of the boot-loader (e_entry field in the "boot.elf" file header) */
  • trunk/boot/tsar_mips32/boot_config.h

    r439 r544  
    2121// Preloader temporary segment
    2222#define PRELOADER_BASE      0x00000000      // 'preloader' physical base address
    23 #define PRELOADER_MAX_SIZE  0x00004000      // 'preloader' max size
     23#define PRELOADER_MAX_SIZE  0x00804000      // 'preloader' max size
    2424
    2525// kentry segment
    26 #define KENTRY_BASE         0x00004000      // 'kentry' segment physical base address       
     26#define KENTRY_BASE         0x00804000      // 'kentry' segment physical base address       
    2727#define KENTRY_MAX_SIZE     0X00004000      // 'kentry' segment max size
    2828
    2929// kcode segment
    30 #define KCODE_BASE          0x00008000      // 'kcode' segment physical base address
     30#define KCODE_BASE          0x00808000      // 'kcode' segment physical base address
    3131#define KCODE_MAX_SIZE      0x000F8000      // 'kcode' + 'kdata' segments max size
    3232
    3333// boot.elf file temporary buffer
    34 #define BOOT_BASE           0x00100000      // 'boot.elf' file physical base address   
     34#define BOOT_BASE           0x00900000      // 'boot.elf' file physical base address   
    3535#define BOOT_MAX_SIZE       0x00010000      // 'boot.elf' file max size
    3636
    3737// arch_info file temporary buffer
    38 #define ARCHINFO_BASE       0x00200000      // 'arch_info.bin' file physical base address
     38#define ARCHINFO_BASE       0x00A00000      // 'arch_info.bin' file physical base address
    3939#define ARCHINFO_MAX_SIZE   0x00010000      // 'arch_info.bin' file max size
    4040
    4141// kernel.elf file temporary buffer
    42 #define KERN_BASE           0x00300000      // 'kernel.elf' file base address
     42#define KERN_BASE           0x00B00000      // 'kernel.elf' file base address
    4343#define KERN_MAX_SIZE       0x00200000      // 'kernel.elf' file max size
    4444
    4545// Temporary stacks segments
    46 #define BOOT_STACK_BASE     0x00504000      // Boot stack base address
     46#define BOOT_STACK_BASE     0x00D04000      // Boot stack base address
    4747#define BOOT_STACK_SIZE     0x00004000      // Boot stack size (16Kb)
    4848
Note: See TracChangeset for help on using the changeset viewer.