mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
This change is done in preparation for the Rust port of genprotimg. While at it, format the code using `clang-format`. Reviewed-by: Steffen Eiden <seiden@linux.ibm.com> Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com> Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
25 lines
586 B
C
25 lines
586 B
C
/*
|
|
* Common memory layout for stage3a and stage3b bootloader.
|
|
*
|
|
* Copyright IBM Corp. 2020
|
|
*
|
|
* s390-tools is free software; you can redistribute it and/or modify
|
|
* it under the terms of the MIT license. See LICENSE for details.
|
|
*/
|
|
|
|
#ifndef COMMON_MEMORY_LAYOUT_H
|
|
#define COMMON_MEMORY_LAYOUT_H
|
|
|
|
#include "boot/loaders_layout.h"
|
|
|
|
#define STACK_ADDRESS STAGE3_STACK_ADDRESS
|
|
#define STACK_SIZE STAGE3_STACK_SIZE
|
|
|
|
#define HEAP_ADDRESS STAGE3_HEAP_ADDRESS
|
|
#define HEAP_SIZE STAGE3_HEAP_SIZE
|
|
|
|
#ifndef __ASSEMBLER__
|
|
|
|
#endif /* __ASSEMBLER__ */
|
|
#endif /* COMMON_MEMORY_LAYOUT_H */
|