2 * This file is part of the coreboot project.
4 * Copyright (C) 2012 The Chromium OS Authors. All rights reserved.
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License as
8 * published by the Free Software Foundation; version 2 of
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.
20 #define X86_BDA_SIZE 0x200
21 #define X86_BDA_BASE (void *)0x400
22 #define X86_EBDA_SEGMENT (void *)0x40e
23 #define X86_EBDA_LOWMEM (void *)0x413
25 #define DEFAULT_EBDA_LOWMEM (1024 << 10)
26 #define DEFAULT_EBDA_SEGMENT 0xF600
27 #define DEFAULT_EBDA_SIZE 0x400
29 void setup_ebda(u32 low_memory_size
, u16 ebda_segment
, u16 ebda_size
);
30 void setup_default_ebda(void);