Curt Brune | 3c12cb0 | 2014-08-29 10:43:36 -0700 | [diff] [blame] | 1 | /* |
| 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. |
Curt Brune | 3c12cb0 | 2014-08-29 10:43:36 -0700 | [diff] [blame] | 15 | */ |
| 16 | |
| 17 | /* |
| 18 | * This file contains #define constants used by both the Linux |
| 19 | * trampoline C-code and assembly language code. As such it can only |
| 20 | * contain preprocessor macros. Do not inlucde C language |
| 21 | * declarations in this file. |
| 22 | */ |
| 23 | |
| 24 | #ifndef LINUX_TRAMPOLINE_H__ |
| 25 | #define LINUX_TRAMPOLINE_H__ |
| 26 | |
| 27 | /* |
| 28 | * Trampoline entry point |
| 29 | * TODO: any better place? |
| 30 | */ |
| 31 | #define TRAMPOLINE_ENTRY_LOC 0x40000 |
| 32 | |
| 33 | #define LINUX_PARAM_LOC 0x90000 |
| 34 | #define COMMAND_LINE_LOC 0x91000 |
| 35 | |
| 36 | #endif /* LINUX_TRAMPOLINE_H__ */ |