xref: /aosp_15_r20/external/coreboot/util/cbfstool/linux_trampoline.h (revision b9411a12aaaa7e1e6a6fb7c5e057f44ee179a49c)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 /*
4  * This file contains #define constants used by both the Linux
5  * trampoline C-code and assembly language code.  As such it can only
6  * contain preprocessor macros.  Do not include C language
7  * declarations in this file.
8  */
9 
10 #ifndef LINUX_TRAMPOLINE_H__
11 #define LINUX_TRAMPOLINE_H__
12 
13 /*
14  * Trampoline entry point
15  * TODO: any better place?
16  */
17 #define TRAMPOLINE_ENTRY_LOC 0x40000
18 
19 #define LINUX_PARAM_LOC 0x90000
20 #define COMMAND_LINE_LOC 0x91000
21 
22 #endif /* LINUX_TRAMPOLINE_H__ */
23