Kyösti Mälkki | bae775a | 2014-12-18 10:36:33 +0200 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or modify |
| 5 | * it under the terms of the GNU General Public License as published by |
| 6 | * the Free Software Foundation; version 2 of the License. |
| 7 | * |
| 8 | * This program is distributed in the hope that it will be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU General Public License for more details. |
Kyösti Mälkki | bae775a | 2014-12-18 10:36:33 +0200 | [diff] [blame] | 12 | */ |
| 13 | |
| 14 | #ifndef CPU_X86_GDT |
| 15 | #define CPU_X86_GDT |
| 16 | |
| 17 | /* These symbols are defined in c_start.S. */ |
| 18 | extern char gdt[]; |
| 19 | extern char gdt_end[]; |
| 20 | extern char idtarg[]; |
| 21 | |
| 22 | /* These symbols are defined in secondary.S. */ |
| 23 | extern char _secondary_gdt_addr[]; |
| 24 | extern char _secondary_start[]; |
| 25 | extern char _secondary_start_end[]; |
| 26 | |
Kyösti Mälkki | bae775a | 2014-12-18 10:36:33 +0200 | [diff] [blame] | 27 | #endif /* CPU_X86_GDT */ |