blob: 7f4621de6c15e0909f9fed9b9277bfde656717d4 [file] [log] [blame]
Uwe Hermann20a98c92009-06-05 23:02:43 +00001/*
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 Hermann20a98c92009-06-05 23:02:43 +000015 */
16
17#ifndef WAKEUP_H
18#define WAKEUP_H
19
Uwe Hermann0ffff342009-06-07 13:46:50 +000020#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 Hermann20a98c92009-06-05 23:02:43 +000028
Uwe Hermann0ffff342009-06-07 13:46:50 +000029#endif