[arch][arm] Put main translation table into a section to address alignment issues.
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
static uint32_t *tt = (void *)MMU_TRANSLATION_TABLE_ADDR;
|
||||
#else
|
||||
/* the main translation table */
|
||||
static uint32_t tt[4096] __ALIGNED(16384);
|
||||
static uint32_t tt[4096] __ALIGNED(16384) __SECTION(".bss.prebss.translation_table");
|
||||
#endif
|
||||
|
||||
#define MMU_FLAG_CACHED 0x1
|
||||
|
||||
@@ -78,6 +78,7 @@ SECTIONS
|
||||
__data_end = .;
|
||||
|
||||
/* unintialized data (in same segment as writable data) */
|
||||
.prebss : SUBALIGN(4) { KEEP(*(.bss.prebss.*)) }
|
||||
.bss.initial_stack : SUBALIGN(4) { KEEP(*(.bss.initial_stack)) }
|
||||
.bss : SUBALIGN(4) {
|
||||
__bss_start = .;
|
||||
|
||||
Reference in New Issue
Block a user