diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2019-12-14 21:36:09 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-02-04 05:52:28 +0100 |
commit | ffa11531700fca97a9be177bac54562de385401f (patch) | |
tree | baebbf0a9c8f24ba65716823d7b3618709659a41 /bsps/powerpc | |
parent | score: Add _Memory_Fill() (diff) | |
download | rtems-ffa11531700fca97a9be177bac54562de385401f.tar.bz2 |
bsps: Add RamEnd to linker command files
Update #3838.
Diffstat (limited to 'bsps/powerpc')
-rw-r--r-- | bsps/powerpc/gen5200/start/linkcmds.gen5200_base | 1 | ||||
-rw-r--r-- | bsps/powerpc/haleakala/start/linkcmds | 1 | ||||
-rw-r--r-- | bsps/powerpc/mpc8260ads/start/linkcmds | 1 | ||||
-rw-r--r-- | bsps/powerpc/shared/start/linkcmds.base | 1 | ||||
-rw-r--r-- | bsps/powerpc/ss555/start/linkcmds | 1 | ||||
-rw-r--r-- | bsps/powerpc/virtex4/start/linkcmds | 1 | ||||
-rw-r--r-- | bsps/powerpc/virtex5/start/linkcmds | 1 |
7 files changed, 7 insertions, 0 deletions
diff --git a/bsps/powerpc/gen5200/start/linkcmds.gen5200_base b/bsps/powerpc/gen5200/start/linkcmds.gen5200_base index 8c5e97e5cb..31fccb7818 100644 --- a/bsps/powerpc/gen5200/start/linkcmds.gen5200_base +++ b/bsps/powerpc/gen5200/start/linkcmds.gen5200_base @@ -25,6 +25,7 @@ bsp_section_align = 32; RamBase = bsp_ram_start; RamSize = bsp_ram_size; +RamEnd = RamBase + RamSize; HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0; /* diff --git a/bsps/powerpc/haleakala/start/linkcmds b/bsps/powerpc/haleakala/start/linkcmds index a35ac875e5..7a5236d961 100644 --- a/bsps/powerpc/haleakala/start/linkcmds +++ b/bsps/powerpc/haleakala/start/linkcmds @@ -17,6 +17,7 @@ EXTERN(__vectors) RamBase = DEFINED(RamBase) ? RamBase : 0; RamSize = DEFINED(RamSize) ? RamSize : 256M; +RamEnd = RamBase + RamSize; HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0; MEMORY { diff --git a/bsps/powerpc/mpc8260ads/start/linkcmds b/bsps/powerpc/mpc8260ads/start/linkcmds index 984027de69..a6b455cb8b 100644 --- a/bsps/powerpc/mpc8260ads/start/linkcmds +++ b/bsps/powerpc/mpc8260ads/start/linkcmds @@ -19,6 +19,7 @@ EXTERN(__vectors) */ RamBase = DEFINED(RamBase) ? RamBase : 0x0; RamSize = DEFINED(RamSize) ? RamDiskSize : 0x0800000; /* 8M program ram */ +RamEnd = RamBase + RamSize; HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0; RamDiskBase = DEFINED(RamDiskBase) ? RamDiskBase : 0x0800000; RamDiskSize = DEFINED(RamDiskSize) ? RamDiskSize : 0x0800000; /* 8M ram disk */ diff --git a/bsps/powerpc/shared/start/linkcmds.base b/bsps/powerpc/shared/start/linkcmds.base index 65ee046b95..f52208186f 100644 --- a/bsps/powerpc/shared/start/linkcmds.base +++ b/bsps/powerpc/shared/start/linkcmds.base @@ -396,6 +396,7 @@ SECTIONS { /* FIXME */ RamBase = ORIGIN (REGION_WORK); RamSize = LENGTH (REGION_WORK); + RamEnd = RamBase + RamSize; WorkAreaBase = bsp_section_work_begin; HeapSize = 0; diff --git a/bsps/powerpc/ss555/start/linkcmds b/bsps/powerpc/ss555/start/linkcmds index 69e955365b..3cf9f91e84 100644 --- a/bsps/powerpc/ss555/start/linkcmds +++ b/bsps/powerpc/ss555/start/linkcmds @@ -26,6 +26,7 @@ ext_ram_size = 0x00080000; /* size of external RAM */ RamBase = DEFINED(_RamBase) ? RamBase : 0x003F9800; RamSize = DEFINED(_RamSize) ? RamSize : 0x00486800; +RamEnd = RamBase + RamSize; HeapSize = DEFINED(_HeapSize) ? HeapSize : 0x0; SECTIONS diff --git a/bsps/powerpc/virtex4/start/linkcmds b/bsps/powerpc/virtex4/start/linkcmds index 097beb60c2..cb867da2e6 100644 --- a/bsps/powerpc/virtex4/start/linkcmds +++ b/bsps/powerpc/virtex4/start/linkcmds @@ -16,6 +16,7 @@ EXTERN(__vectors) MsgAreaSize = DEFINED(MsgAreaSize) ? MsgAreaSize : 1M; RamBase = DEFINED(RamBase) ? RamBase : 0x0; RamSize = DEFINED(RamSize) ? RamSize : 128M - MsgAreaSize; +RamEnd = RamBase + RamSize; HeapSize = DEFINED(HeapSize) ? HeapSize : 0; /* 0=Use def */ diff --git a/bsps/powerpc/virtex5/start/linkcmds b/bsps/powerpc/virtex5/start/linkcmds index 7bb0eda2ab..7443de459b 100644 --- a/bsps/powerpc/virtex5/start/linkcmds +++ b/bsps/powerpc/virtex5/start/linkcmds @@ -16,6 +16,7 @@ EXTERN(__vectors) MsgAreaSize = DEFINED(MsgAreaSize) ? MsgAreaSize : 1M; RamBase = DEFINED(RamBase) ? RamBase : 0x0; RamSize = DEFINED(RamSize) ? RamSize : 2048M - MsgAreaSize; +RamEnd = RamBase + RamSize; HeapSize = DEFINED(HeapSize) ? HeapSize : 0; /* 0=Use def */ |