mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 10:19:52 +08:00
bsp/csb336: Fix MMU _ttbl_base location to not overlap with exception vectors.
The initial region (64 bytes) of SDRAM RTEMS image is remapped to provide overlay of the initial/ROM exceptions table. This area cannot be used for MMU mapping table. Different correctly aligned block has to be used for MMU table. Remapping of SDRAM (address 0x08200000) to address 0 is supported only on 1 MB block granularity and that is why SDRAM_VEC area has to be 1 MB aligned too but unused part of remapped region can be freely used for other purposes (as MMU tables). Signed-off-by: Pavel Pisa <ppisa@pikron.com>
This commit is contained in:
committed by
Sebastian Huber
parent
ef3c17fb89
commit
e4b16ea919
@@ -1,9 +1,10 @@
|
||||
MEMORY {
|
||||
SDRAM_MMU : ORIGIN = 0x08200000, LENGTH = 16k
|
||||
SDRAM : ORIGIN = 0x08204000, LENGTH = 30M - 16k
|
||||
SDRAM_VEC : ORIGIN = 0x08200000, LENGTH = 16k
|
||||
SDRAM_MMU : ORIGIN = 0x08204000, LENGTH = 16k
|
||||
SDRAM : ORIGIN = 0x08208000, LENGTH = 30M - 32k
|
||||
}
|
||||
|
||||
REGION_ALIAS ("REGION_START", SDRAM);
|
||||
REGION_ALIAS ("REGION_START", SDRAM_VEC);
|
||||
REGION_ALIAS ("REGION_VECTOR", SDRAM);
|
||||
REGION_ALIAS ("REGION_TEXT", SDRAM);
|
||||
REGION_ALIAS ("REGION_TEXT_LOAD", SDRAM);
|
||||
|
||||
Reference in New Issue
Block a user