mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
Now all m68k BSPs specify _RamBase. This is necessary for the shared
m68kbsppretaskinghook.c to work.
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
/*
|
||||
* Declare some sizes.
|
||||
*/
|
||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
|
||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 1M;
|
||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x10000;
|
||||
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
||||
|
||||
@@ -23,9 +25,6 @@ MEMORY
|
||||
ram : org = 0x0, l = 1M
|
||||
}
|
||||
|
||||
_RamBase = 0;
|
||||
_RamSize = 1M;
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
ram : {
|
||||
|
||||
@@ -33,6 +33,8 @@ __DYNAMIC = 0;
|
||||
/*
|
||||
* Declare some sizes.
|
||||
*/
|
||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x80000;
|
||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 0x80000;
|
||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x10000;
|
||||
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
||||
|
||||
@@ -41,9 +43,6 @@ MEMORY
|
||||
ram : ORIGIN = 0x80000, LENGTH = 512K
|
||||
}
|
||||
|
||||
_RamBase = 0x80000;
|
||||
_RamSize = 0x80000;
|
||||
|
||||
__end_of_ram = 0x100000;
|
||||
_copy_data_from_rom = 0;
|
||||
|
||||
|
||||
@@ -43,6 +43,8 @@ MEMORY
|
||||
ram : ORIGIN = 0x80000, LENGTH = 512K
|
||||
}
|
||||
|
||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x080000;
|
||||
|
||||
__end_of_ram = 0x100000;
|
||||
_copy_data_from_rom = 1;
|
||||
|
||||
|
||||
@@ -42,9 +42,6 @@ MEMORY
|
||||
ram : ORIGIN = 0x203000, LENGTH = 256K
|
||||
}
|
||||
|
||||
_RamBase = 0x200000;
|
||||
_RamSize = 256K;
|
||||
|
||||
_VBR = 0x200000; /* location of the VBR table (in RAM) */
|
||||
__end_of_ram = 0x240000;
|
||||
_copy_data_from_rom = 0;
|
||||
@@ -52,6 +49,8 @@ _copy_data_from_rom = 0;
|
||||
/*
|
||||
* Declare some sizes.
|
||||
*/
|
||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x200000;
|
||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 256K;
|
||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x10000;
|
||||
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
||||
|
||||
|
||||
@@ -17,15 +17,14 @@ MEMORY
|
||||
ram : org = 0x0000, l = 16M
|
||||
}
|
||||
|
||||
_RamBase = 0;
|
||||
_RamSize = 16M;
|
||||
|
||||
m302 = 0xf7f000;
|
||||
_VBR = 0x000000; /* location of the VBR table (in RAM) */
|
||||
|
||||
/*
|
||||
* Declare some sizes.
|
||||
*/
|
||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
|
||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 16M;
|
||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x10000;
|
||||
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
/*
|
||||
* Declare some sizes.
|
||||
*/
|
||||
_RamBase = 0x10000000;
|
||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x10000000;
|
||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 4M;
|
||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x10000;
|
||||
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
||||
|
||||
@@ -15,6 +15,8 @@
|
||||
* Declare some sizes.
|
||||
* A heap size of 0 means `use all available memory for the heap'.
|
||||
*/
|
||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
|
||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 64M;
|
||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
||||
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
||||
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
* Declare some sizes.
|
||||
* A heap size of 0 means `use all available memory for the heap'.
|
||||
*/
|
||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
|
||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 64M;
|
||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
||||
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
||||
|
||||
|
||||
@@ -19,6 +19,8 @@
|
||||
* Declare some sizes.
|
||||
* A heap size of 0 means `use all available memory for the heap'.
|
||||
*/
|
||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
|
||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 64M;
|
||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x0;
|
||||
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ MEMORY
|
||||
/*
|
||||
* Declare some sizes.
|
||||
*/
|
||||
_RamBase = 0x0;
|
||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
|
||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 2M;
|
||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x10000;
|
||||
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
/*
|
||||
* Declare some sizes.
|
||||
*/
|
||||
_RamBase = 0x0;
|
||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
|
||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 1M;
|
||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x10000;
|
||||
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
/*
|
||||
* Declare some sizes.
|
||||
*/
|
||||
_RamBase = 0x0;
|
||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
|
||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 4M;
|
||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x10000;
|
||||
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
/*
|
||||
* Declare some sizes.
|
||||
*/
|
||||
_RamBase = 0x0;
|
||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
|
||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 4M;
|
||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x10000;
|
||||
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
/*
|
||||
* Declare some sizes.
|
||||
*/
|
||||
_RamBase = 0x100000;
|
||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x100000;
|
||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 1M;
|
||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x10000;
|
||||
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
/*
|
||||
* Declare some sizes.
|
||||
*/
|
||||
_RamBase = 0x0;
|
||||
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
|
||||
_RamSize = DEFINED(_RamSize) ? _RamSize : 1M;
|
||||
_HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0x10000;
|
||||
_StackSize = DEFINED(_StackSize) ? _StackSize : 0x1000;
|
||||
|
||||
Reference in New Issue
Block a user