/* memory.h - describe the memory map */
/*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 2002,2007,2008,2009 Free Software Foundation, Inc.
*
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* GRUB is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GRUB. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef GRUB_MEMORY_MACHINE_HEADER
#ifndef ASM_FILE
#endif
/* The scratch buffer used in real mode code. */
/* The real mode stack. */
/* The size of the protect mode stack. */
/* The protected mode stack. */
#define GRUB_MEMORY_MACHINE_PROT_STACK \
+ GRUB_MEMORY_MACHINE_PROT_STACK_SIZE - 0x10)
/* The memory area where GRUB uses its own purpose. This part is not added
into free memory for dynamic allocations. */
#define GRUB_MEMORY_MACHINE_RESERVED_START \
#define GRUB_MEMORY_MACHINE_RESERVED_END \
(GRUB_MEMORY_MACHINE_PROT_STACK + 0x10)
/* The area where GRUB is decompressed at early startup. */
/* The address of a partition table passed to another boot loader. */
/* The address where another boot loader is loaded. */
/* The code segment of the protected mode. */
/* The data segment of the protected mode. */
/* The code segment of the pseudo real mode. */
/* The data segment of the pseudo real mode. */
#ifndef ASM_FILE
description of the BIOS Data Area layout. */
struct grub_machine_bios_data_area
{
};
#endif
#endif /* ! GRUB_MEMORY_MACHINE_HEADER */