blob: ed5b824825438d0c9ad1ff254a525eaee02ed27f [file] [log] [blame]
Curt Brune3c12cb02014-08-29 10:43:36 -07001/*
2 * This file is part of coreboot..
3 *
4 * Based on work by Patrick Georgi <patrick@georgi-clan.de>
5 * Copyright 2014 Curt Brune <curt@cumulusnetworks.com>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; version 2 of the License.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20
21/*
22 * This file contains #define constants used by both the Linux
23 * trampoline C-code and assembly language code. As such it can only
24 * contain preprocessor macros. Do not inlucde C language
25 * declarations in this file.
26 */
27
28#ifndef LINUX_TRAMPOLINE_H__
29#define LINUX_TRAMPOLINE_H__
30
31/*
32 * Trampoline entry point
33 * TODO: any better place?
34 */
35#define TRAMPOLINE_ENTRY_LOC 0x40000
36
37#define LINUX_PARAM_LOC 0x90000
38#define COMMAND_LINE_LOC 0x91000
39
40#endif /* LINUX_TRAMPOLINE_H__ */