diff options
Diffstat (limited to 'nuttx/configs/mirtoo/ostest/ld.script')
-rw-r--r-- | nuttx/configs/mirtoo/ostest/ld.script | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/nuttx/configs/mirtoo/ostest/ld.script b/nuttx/configs/mirtoo/ostest/ld.script index 35019a9e3..7463754d7 100644 --- a/nuttx/configs/mirtoo/ostest/ld.script +++ b/nuttx/configs/mirtoo/ostest/ld.script @@ -46,18 +46,19 @@ MEMORY * 0x1fc00000-0x1fc00c00. The initial reset vector is in KSEG1, but * all other accesses are in KSEG0. * - * REGION PHYSICAL KSEG SIZE - * DESCRIPTION START ADDR (BYTES) - * ------------- ---------- ------ ---------------------- + * REGION PHYSICAL KSEG SIZE + * DESCRIPTION START ADDR (BYTES) + * --------------- ---------- ------ ---------------------- * Exceptions:* - * Reset 0x1fc00000 KSEG1 512 512 (0.500Kb) - * TLB Refill 0x1fc00200 KSEG1 256 768 (0.750Kb) - * Cache Error 0x1fc00300 KSEG1 128 896 (0.875Kb) - * Others 0x1fc00380 KSEG1 128 1024 (1.000Kb) - * Interrupt 0x1fc00400 KSEG1 128 1152 (1.125Kb) - * JTAG 0x1fc00480 KSEG1 16 1168 (1.141Kb) - * Exceptions 0x1fc00490 KSEG0 3072-1168-16 3056 (2.984Kb) - * DEVCFG3-0 0x1fc00bf0 KSEG1 16 3072 (3Kb) + * Reset 0x1fc00000 KSEG1 384 384 (0.375Kb) + * Gen exception 0x1fc00000 KSEG1 128 512 (0.500Kb) + * TLB Refill 0x1fc00200 KSEG1 256 768 (0.750Kb) + * Cache Error 0x1fc00300 KSEG1 128 896 (0.875Kb) + * Others 0x1fc00380 KSEG1 128 1024 (1.000Kb) + * Interrupt 0x1fc00400 KSEG1 128 1152 (1.125Kb) + * JTAG 0x1fc00480 KSEG1 16 1168 (1.141Kb) + * Exceptions 0x1fc00490 KSEG0 3072-1168-16 3056 (2.984Kb) + * DEVCFG3-0 0x1fc00bf0 KSEG1 16 3072 (3Kb) * * Exceptions assume: * @@ -69,7 +70,8 @@ MEMORY kseg1_reset (rx) : ORIGIN = 0xbfc00000, LENGTH = 384 kseg1_genexcpt (rx) : ORIGIN = 0xbfc00180, LENGTH = 128 - kseg1_ebexcpt (rx) : ORIGIN = 0xbfc00200, LENGTH = 128 + kseg1_ebexcpt (rx) : ORIGIN = 0xbfc00200, LENGTH = 256 + kseg1_cacherr (rx) : ORIGIN = 0xbfc00300, LENGTH = 128 kseg1_bevexcpt (rx) : ORIGIN = 0xbfc00380, LENGTH = 128 kseg1_intexcpt (rx) : ORIGIN = 0xbfc00400, LENGTH = 128 kseg1_dbgexcpt (rx) : ORIGIN = 0xbfc00480, LENGTH = 16 @@ -80,11 +82,11 @@ MEMORY * 0x00000000. Since the PIC32MX has no data cache, this memory is * always accessed through KSEG1. * - * When used with MPLAB, we need to set aside 512 bytes of memory - * for use by MPLAB. + * NOTE: When used with MPLAB, we need to set aside 512 bytes of memory + * at the beginning of this region for use by MPLAB. */ - kseg1_datamem (w!x) : ORIGIN = 0xa0000200, LENGTH = 32K - 512 + kseg1_datamem (w!x) : ORIGIN = 0xa0000200, LENGTH = 32K } OUTPUT_FORMAT("elf32-tradlittlemips") @@ -154,8 +156,6 @@ SECTIONS *(.int_handler) } > kseg0_bootmem - .dbg_code = ORIGIN(kseg1_dbgcode); - .devcfg : { KEEP (*(.devcfg)) |