Files
s390-tools/rust/pvimg/boot/common_memory_layout.h
Marc Hartmayer 7d81c1bbd4 rust/pvimg: Copy genprotimg/boot to rust/pvimg/boot
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>
2024-12-05 15:09:03 +01:00

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 */