mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
zipl: add dummy section for stage3 heap and stack
The firmware needs to know which memory locations are used by the stage 3 loader so that it can allocate its own memory. To indicate the usage of the heap and stack area of the stage 3 loader add a dummy component to block this memory area for the firmware. Signed-off-by: Stefan Haberland <sth@linux.ibm.com> Acked-by: Peter Oberparleiter <oberpar@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
committed by
Jan Höppner
parent
75d4317f20
commit
dc2e439550
@@ -32,6 +32,11 @@
|
||||
#define MAXIMUM_PARMLINE_SIZE 0x380
|
||||
#define MAXIMUM_PHYSICAL_BLOCKSIZE 0x1000
|
||||
|
||||
#define STAGE3_HEAP_SIZE 0x4000
|
||||
#define STAGE3_HEAP_ADDRESS 0x2000
|
||||
#define STAGE3_STACK_SIZE 0x1000
|
||||
#define STAGE3_STACK_ADDRESS 0xF000
|
||||
|
||||
#define PSW_ADDRESS_MASK 0x000000007fffffffLL
|
||||
#define PSW_LOAD 0x0008000080000000LL
|
||||
#define PSW_DISABLED_WAIT 0x000a000000000000LL
|
||||
|
||||
Reference in New Issue
Block a user