NASM 0.98.12
[nasm/avx512.git] / rdoff / multboot.h
blob9669e49e6f6c8965d5758b6932c17005ebd6a190
1 /******************************************************************************
2 multboot.h - MultiBoot header definitions.
3 ******************************************************************************/
5 #ifndef _MULTBOOT_H
6 #define _MULTBOOT_H
8 #define MB_MAGIC 0x1BADB002
10 #define MB_FL_PGALIGN 1 /* Align boot modules on page */
11 #define MB_FL_MEMINFO 2 /* Must pass memory info to OS */
12 #define MB_FL_KLUDGE 0x10000 /* a.out kludge present */
14 struct tMultiBootHeader {
15 unsigned Magic;
16 unsigned Flags;
17 unsigned Checksum;
18 unsigned HeaderAddr;
19 unsigned LoadAddr;
20 unsigned LoadEndAddr;
21 unsigned BSSendAddr;
22 unsigned Entry;
25 #define MB_DEFAULTLOADADDR 0x110000 /* Default loading address */
27 #endif