make fat.handler build again with debug enabled
[tangerine.git] / rom / bootmenu / bootconfig.c
blobdaf13ee26d1a8607954fa6b5cf163094f403c865
1 #include <aros/bootloader.h>
2 #include <libraries/bootmenu.h>
3 #include <proto/bootloader.h>
4 #include <string.h>
6 #include "bootmenu_intern.h"
8 /* This file contains architecture-dependent defaults */
10 void InitBootConfig(struct BootConfig *bootcfg, APTR BootLoaderBase)
12 struct VesaInfo *vi;
14 bootcfg->self = bootcfg;
15 bootcfg->boot = NULL;
16 strcpy(bootcfg->defaultgfx.libname, "vgah.hidd");
17 strcpy(bootcfg->defaultgfx.hiddname, "hidd.gfx.vga");
18 strcpy(bootcfg->defaultkbd.libname, "kbd.hidd");
19 strcpy(bootcfg->defaultkbd.hiddname, "hidd.kbd.hw");
20 strcpy(bootcfg->defaultmouse.libname, "mouse.hidd");
21 strcpy(bootcfg->defaultmouse.hiddname, "hidd.bus.mouse");
23 if (!BootLoaderBase)
24 return;
26 if ((vi = (struct VesaInfo *)GetBootInfo(BL_Video)) != NULL)
28 if (vi->ModeNumber != 3)
30 strcpy(bootcfg->defaultgfx.libname, "vesagfx.hidd");
31 strcpy(bootcfg->defaultgfx.hiddname, "hidd.gfx.vesa");