summaryrefslogtreecommitdiff
path: root/util/cbfstool/linux_trampoline.h
blob: 839d7ca2eb36e7a41b76258856c446d156292e28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* SPDX-License-Identifier: GPL-2.0-only */

/*
 * This file contains #define constants used by both the Linux
 * trampoline C-code and assembly language code.  As such it can only
 * contain preprocessor macros.  Do not include C language
 * declarations in this file.
 */

#ifndef LINUX_TRAMPOLINE_H__
#define LINUX_TRAMPOLINE_H__

/*
 * Trampoline entry point
 * TODO: any better place?
 */
#define TRAMPOLINE_ENTRY_LOC 0x40000

#define LINUX_PARAM_LOC 0x90000
#define COMMAND_LINE_LOC 0x91000

#endif /* LINUX_TRAMPOLINE_H__ */