Changeset 544 for trunk


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

Stop accessing first 8Mb of physical memory

Location:
trunk
Files:
4 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
  • trunk/hal/tsar_mips32/kernel.ld

    r406 r544  
    1010/* Define the kernel code base addresses */
    1111
    12 seg_kcode_base  = 0x00008000;
    13 seg_kentry_base = 0x00004000;
     12seg_kcode_base  = 0x00808000;
     13seg_kentry_base = 0x00804000;
    1414
    1515/* Set the entry point (e_entry field in the "kernel.elf" file header) */
  • trunk/kernel/kernel_config.h

    r510 r544  
    301301#define CONFIG_VMM_VSPACE_SIZE        0x100000     // virtual space          : 4   Gbytes
    302302
    303 #define CONFIG_VMM_KENTRY_BASE        0x000004     // UTILS zone base        : 16  Kbytes
     303#define CONFIG_VMM_KENTRY_BASE        0x000804     // UTILS zone base        : 16  Kbytes
    304304#define CONFIG_VMM_ELF_BASE           0x000400     // ELF zone base          : 4   Mbytes
    305305#define CONFIG_VMM_HEAP_BASE          0x002000     // HEAP zone base         : 32  Mbytes
Note: See TracChangeset for help on using the changeset viewer.