parent
4565a75766
commit
fa07bdb681
@ -32,23 +32,23 @@ SECTIONS
|
|||||||
*(.bss .bss.*);
|
*(.bss .bss.*);
|
||||||
. = ALIGN(4);
|
. = ALIGN(4);
|
||||||
__bss_end = .;
|
__bss_end = .;
|
||||||
} > OCM
|
} > OCM3
|
||||||
|
|
||||||
.stack1 (NOLOAD) : ALIGN(8) {
|
.stack1 (NOLOAD) : ALIGN(8) {
|
||||||
__stack1_end = .;
|
__stack1_end = .;
|
||||||
. += 0x200;
|
. += 0x200;
|
||||||
__stack1_start = .;
|
__stack1_start = .;
|
||||||
} > OCM
|
} > OCM3
|
||||||
|
|
||||||
.stack0 (NOLOAD) : ALIGN(8) {
|
.stack0 (NOLOAD) : ALIGN(8) {
|
||||||
__stack0_end = .;
|
__stack0_end = .;
|
||||||
. = ORIGIN(OCM) + LENGTH(OCM) - 8;
|
. = ORIGIN(OCM3) + LENGTH(OCM3) - 8;
|
||||||
__stack0_start = .;
|
__stack0_start = .;
|
||||||
|
|
||||||
/* unused heap0 to prevent the linker from complaining*/
|
/* unused heap0 to prevent the linker from complaining*/
|
||||||
__heap0_start = .;
|
__heap0_start = .;
|
||||||
__heap0_end = .;
|
__heap0_end = .;
|
||||||
} > OCM
|
} > OCM3
|
||||||
|
|
||||||
/DISCARD/ :
|
/DISCARD/ :
|
||||||
{
|
{
|
||||||
|
@ -338,7 +338,7 @@ impl L1Table {
|
|||||||
/* 0xfff00000 - 0xffffffff (256K OCM when mapped to high address space) */
|
/* 0xfff00000 - 0xffffffff (256K OCM when mapped to high address space) */
|
||||||
self.direct_mapped_section(0xfff, L1Section {
|
self.direct_mapped_section(0xfff, L1Section {
|
||||||
global: true,
|
global: true,
|
||||||
shareable: false,
|
shareable: true,
|
||||||
access: AccessPermissions::FullAccess,
|
access: AccessPermissions::FullAccess,
|
||||||
tex: 0b100,
|
tex: 0b100,
|
||||||
domain: 0,
|
domain: 0,
|
||||||
|
Loading…
Reference in New Issue
Block a user