Now all m68k BSPs specify _RamBase. This is necessary for the shared

m68kbsppretaskinghook.c to work.
This commit is contained in:
Joel Sherrill
2000-04-05 19:09:06 +00:00
parent bb734ccaa8
commit 35ff211959
15 changed files with 23 additions and 19 deletions

View File

@@ -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 : {

View File

@@ -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;

View File

@@ -43,6 +43,8 @@ MEMORY
ram : ORIGIN = 0x80000, LENGTH = 512K
}
_RamBase = DEFINED(_RamBase) ? _RamBase : 0x080000;
__end_of_ram = 0x100000;
_copy_data_from_rom = 1;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;