Skip to content

Commit

Permalink
add AREA_KERNEL for kernel data in SRAM
Browse files Browse the repository at this point in the history
JIRA: RTOS-450
  • Loading branch information
lukileczo committed May 18, 2023
1 parent 873e412 commit 5352f26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ld/sparcv8leon3-gr716.ldt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#define SIZE_PAGE 0x200
#define SIZE_STACK (8 * SIZE_PAGE)
#define SIZE_HEAP (8 * SIZE_PAGE)

#define AREA_KERNEL 0x100000

#if defined(__LINKER__)

Expand All @@ -17,7 +17,7 @@ MEMORY
m_spi1 : ORIGIN = 0x04000000, LENGTH = 32M
m_dram : ORIGIN = 0x30000000, LENGTH = 64K
m_iocram : ORIGIN = 0x31000000, LENGTH = 128K
m_sram : ORIGIN = 0x40000000, LENGTH = 2M
m_sram : ORIGIN = 0x40000000 + AREA_KERNEL, LENGTH = 2M - AREA_KERNEL
}

REGION_ALIAS("PLO_IMAGE", m_sram)
Expand Down

0 comments on commit 5352f26

Please sign in to comment.