]> git.proxmox.com Git - grub2.git/blame - include/grub/i386/qemu/memory.h
* include/grub/i386/qemu/memory.h (grub_machine_mmap_init): Remove
[grub2.git] / include / grub / i386 / qemu / memory.h
CommitLineData
8231fb77 1/* memory.h - describe the memory map */
2/*
3 * GRUB -- GRand Unified Bootloader
4 * Copyright (C) 2002,2007 Free Software Foundation, Inc.
5 *
6 * GRUB 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 3 of the License, or
9 * (at your option) any later version.
10 *
11 * GRUB 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.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with GRUB. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20#ifndef _GRUB_MEMORY_MACHINE_HEADER
21#define _GRUB_MEMORY_MACHINE_HEADER 1
22
23#include <grub/symbol.h>
df3df23d 24#include <grub/i386/coreboot/memory.h>
8231fb77 25
26#ifndef ASM_FILE
27#include <grub/err.h>
28#include <grub/types.h>
29#endif
30
31#define GRUB_MEMORY_MACHINE_LOWER_USABLE 0x9fc00 /* 640 kiB - 1 kiB */
32
33#define GRUB_MEMORY_MACHINE_UPPER_START 0x100000 /* 1 MiB */
34#define GRUB_MEMORY_MACHINE_LOWER_SIZE GRUB_MEMORY_MACHINE_UPPER_START
35
8231fb77 36#endif /* ! _GRUB_MEMORY_MACHINE_HEADER */