Patrick Georgi | 7333a11 | 2020-05-08 20:48:04 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Curt Brune | 3c12cb0 | 2014-08-29 10:43:36 -0700 | [diff] [blame] | 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 inlucde 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__ */ |