Uwe Hermann | 20a98c9 | 2009-06-05 23:02:43 +0000 | [diff] [blame] | 1 | /* |
| 2 | * This file is part of the coreboot project. |
| 3 | * |
| 4 | * Copyright (C) 2009 One Laptop per Child, Association, Inc. |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; either version 2 of the License, or |
| 9 | * (at your option) any later version. |
| 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. |
Uwe Hermann | 20a98c9 | 2009-06-05 23:02:43 +0000 | [diff] [blame] | 15 | */ |
| 16 | |
| 17 | #ifndef WAKEUP_H |
| 18 | #define WAKEUP_H |
| 19 | |
Uwe Hermann | 0ffff34 | 2009-06-07 13:46:50 +0000 | [diff] [blame] | 20 | #define WAKE_SPECIAL_AREA 0xE0000 |
| 21 | #define WAKE_SPECIAL_SIZE 0x1000 |
| 22 | #define WAKE_THUNK16_ADDR (WAKE_SPECIAL_AREA + 0x200) |
| 23 | #define WAKE_THUNK16_GDT (WAKE_SPECIAL_AREA + 0x300) |
| 24 | #define WAKE_THUNK16_XDTR (WAKE_SPECIAL_AREA + 0x350) |
| 25 | #define WAKE_MEM_INFO (WAKE_SPECIAL_AREA + 0x400) |
| 26 | #define WAKE_RECOVER1M_CODE (WAKE_SPECIAL_AREA + 0x500) |
| 27 | #define WAKE_THUNK16_STACK (WAKE_SPECIAL_AREA + 0xf00) |
Uwe Hermann | 20a98c9 | 2009-06-05 23:02:43 +0000 | [diff] [blame] | 28 | |
Uwe Hermann | 0ffff34 | 2009-06-07 13:46:50 +0000 | [diff] [blame] | 29 | #endif |