0d6713f248
ci / Check build (push) Has been cancelled
ci / Check formatting (push) Has been cancelled
ci / Check Documentation Build (push) Has been cancelled
ci / Clippy (push) Has been cancelled
ci / Check build (pull_request) Has been cancelled
ci / Check formatting (pull_request) Has been cancelled
ci / Check Documentation Build (pull_request) Has been cancelled
ci / Clippy (pull_request) Has been cancelled
25 lines
685 B
Plaintext
25 lines
685 B
Plaintext
MEMORY
|
|
{
|
|
/* Zedboard: 512 MB DDR3. Only use 62 MB for now, should be plenty for a bare-metal app.
|
|
1 MB stack memory and 1 MB of memory which will be configured as uncached device memory by the
|
|
MMU. This is recommended for something like DMA descriptors. */
|
|
CODE(rx) : ORIGIN = 0x00100000, LENGTH = 62M
|
|
STACKS : ORIGIN = 0x3F00000, LENGTH = 1M
|
|
UNCACHED(rx): ORIGIN = 0x4000000, LENGTH = 1M
|
|
OCM_UPPER(rx): ORIGIN = 0xFFFF0000, LENGTH = 64K
|
|
}
|
|
|
|
REGION_ALIAS("DATA", CODE);
|
|
|
|
SECTIONS
|
|
{
|
|
/* Uncached memory */
|
|
.uncached (NOLOAD) : ALIGN(4) {
|
|
. = ALIGN(4);
|
|
_sbss_uncached = .;
|
|
*(.uncached .uncached.*);
|
|
. = ALIGN(4);
|
|
_ebss_uncached = .;
|
|
} > UNCACHED
|
|
}
|