blob: 839d7ca2eb36e7a41b76258856c446d156292e28 [file] [log] [blame]
Patrick Georgi7333a112020-05-08 20:48:04 +02001/* SPDX-License-Identifier: GPL-2.0-only */
Curt Brune3c12cb02014-08-29 10:43:36 -07002
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
Angel Ponsb8539372021-06-03 11:49:12 +02006 * contain preprocessor macros. Do not include C language
Curt Brune3c12cb02014-08-29 10:43:36 -07007 * 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__ */