Fixed warnings about missing newline at EOF.
[AROS.git] / rom / dosboot / dosboot_intern.h
blobd88bd085d10181e19d5ce27bb4825f6568d73108
1 #ifndef DOSBOOT_INTERN_H
2 #define DOSBOOT_INTERN_H
4 /*
5 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Internal definitions for dosboot
9 Lang: english
12 #include <dos/dosextens.h>
13 #include <exec/libraries.h>
14 #include <exec/lists.h>
15 #include <graphics/gfxbase.h>
17 #include "gadgets.h"
19 #define BUFSIZE 100
21 struct BootConfig
23 /* default hidds used in bootmenu and for fallback mode */
24 STRPTR gfxlib;
25 STRPTR gfxhidd;
26 BOOL bootmode;
29 struct DOSBootBase
31 struct Node db_Node; /* Node for linking into the list */
32 char *db_BootDevice; /* Device to boot up from */
34 struct GfxBase *bm_GfxBase; /* Library bases */
35 struct IntuitionBase *bm_IntuitionBase;
36 struct Window *bm_Window; /* Window and gadgets */
37 struct MainGadgets bm_MainGadgets;
39 struct BootConfig bm_BootConfig; /* Current HIDD configuration */
40 ULONG BootFlags; /* Bootup flags */
42 APTR animData; /* Animation stuff */
43 ULONG delayTicks; /* Delay period. Can be adjusted by animation code */
46 /* Boot flags */
47 #define BF_NO_STARTUP_SEQUENCE 0x0001
48 #define BF_NO_DISPLAY_DRIVERS 0x0002
50 void InitBootConfig(struct BootConfig *bootcfg, APTR BootLoaderBase);
51 BOOL __dosboot_InitHidds(struct DosLibrary *dosBase);
52 void __dosboot_Boot(struct DosLibrary *DOSBase, ULONG Flags);
54 struct Screen *NoBootMediaScreen(struct DOSBootBase *DOSBootBase);
55 struct Screen *OpenBootScreen(struct DOSBootBase *DOSBootBase);
56 void CloseBootScreen(struct Screen *scr, struct DOSBootBase *DOSBootBase);
58 APTR anim_Init(struct Screen *scr, struct DOSBootBase *DOSBootBase);
59 void anim_Stop(struct DOSBootBase *DOSBootBase);
60 void anim_Animate(struct Screen *scr, struct DOSBootBase *DOSBootBase);
62 #undef GfxBase
63 #define GfxBase DOSBootBase->bm_GfxBase
64 #undef IntuitionBase
65 #define IntuitionBase DOSBootBase->bm_IntuitionBase
67 #endif /* DOSBOOT_INTERN_H */