Chameleon

Chameleon Svn Source Tree

Root/branches/cparm/i386/boot2/mboot.h

1/* File added by David F. Elliott <dfe@cox.net> on 2007/06/27 */
2
3#ifndef __BOOT2_MBOOT_H
4#define __BOOT2_MBOOT_H
5
6#include "multiboot.h"
7
8/*
9The following DWORD tells the loader what features we require of it.
10bit 0 set: Align modules on 4KB. We have no modules, we may not need this.
11bit 1 set: Provide info about memory. We probably don't need this either
12bit 2 : We might want this. If so we need to tell the loader to stick
13 us in text mode. We currently assume that the loader will put
14 us in text mode if we lack this because that is what GRUB does.
15bit 16 set: This is not ELF, use the multiboot_header fields.
16 We definitely need this flag.
17*/
18/* #define MULTIBOOT_HEADER_FLAGS 0x00010003 */
19
20#define MULTIBOOT_HEADER_FLAGS \
21 (MULTIBOOT_HEADER_HAS_ADDR|MULTIBOOT_HEADER_WANT_MEMORY|MULTIBOOT_HEADER_MODS_ALIGNED)
22
23#ifndef __ASSEMBLER__
24/* Put any desired prototypes or other C stuff here. */
25#endif
26
27#endif /* !__BOOT2_MBOOT_H */

Archive Download this file

Revision: 1119