- NDK 0.98, now with versionned headers. Too many changes to list, see the TinyKRNL...
[reactos.git] / reactos / boot / freeldr / freeldr / include / freeldr.h
1 /*
2 * FreeLoader
3 * Copyright (C) 1998-2003 Brian Palmer <brianp@sginet.com>
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 */
19
20 #ifndef __FREELDR_H
21 #define __FREELDR_H
22
23 #define UINT64_C(val) val##ULL
24
25 #include <stdlib.h>
26 #include <stdio.h>
27 #include <ctype.h>
28 #include <ntddk.h>
29 #include <arc/arc.h>
30 #include <ketypes.h>
31 #include <mmtypes.h>
32 #include <rosldr.h>
33 #include <arch.h>
34 #include <rtl.h>
35 #include <disk.h>
36 #include <fs.h>
37 #include <ui.h>
38 #include <multiboot.h>
39 #include <mm.h>
40 #include <cache.h>
41 #include <machine.h>
42 #include <inifile.h>
43 #include <inffile.h>
44 #include <video.h>
45 #include <portio.h>
46 #include <reactos.h>
47 #include <registry.h>
48 #include <fsrec.h>
49 /* file system headers */
50 #include <fs/ext2.h>
51 #include <fs/fat.h>
52 #include <fs/ntfs.h>
53 #include <fs/iso.h>
54 /* ui support */
55 #include <ui/tui.h>
56 #include <ui/gui.h>
57 /* arch files */
58 #ifdef _X86_
59 #include <arch/i386/hardware.h>
60 #include <arch/i386/i386.h>
61 #include <arch/i386/machpc.h>
62 #include <arch/i386/machxbox.h>
63 #include <internal/i386/ke.h>
64 #endif
65 /* misc files */
66 #include <keycodes.h>
67 #include <version.h>
68 #include <cmdline.h>
69 /* Needed by boot manager */
70 #include <bootmgr.h>
71 #include <oslist.h>
72 #include <drivemap.h>
73 #include <miscboot.h>
74 #include <options.h>
75 #include <linux.h>
76 /* Externals */
77 #include <reactos/rossym.h>
78 #include <reactos/buildno.h>
79 #include <reactos/helper.h>
80 /* Needed if debuging is enabled */
81 #include <comm.h>
82
83 #define Ke386EraseFlags(x) __asm__ __volatile__("pushl $0 ; popfl\n")
84
85 extern BOOL UserInterfaceUp; /* Tells us if the user interface is displayed */
86
87 VOID BootMain(LPSTR CmdLine);
88 VOID RunLoader(VOID);
89
90 #endif // defined __FREELDR_H