2 Copyright © 2008, The AROS Development Team. All rights reserved.
5 Desc: Opens libraries for use by linklibs within kernel.
8 #include <proto/exec.h>
9 #include <proto/aros.h>
10 #include <proto/cybergraphics.h>
11 #include <proto/dos.h>
12 #include <proto/expansion.h>
13 #include <proto/graphics.h>
14 #include <proto/intuition.h>
15 #include <proto/keymap.h>
16 #include <proto/layers.h>
17 #include <proto/partition.h>
18 #include <proto/utility.h>
19 #include <proto/workbench.h>
21 void InitKernelBases(void)
23 // ArosBase = OpenLibrary("aros.library", 0);
24 // CyberGfxBase = OpenLibrary("cybergraphics.library", 0);
25 DOSBase
= (struct DosLibrary
*)OpenLibrary("dos.library", 0);
26 // ExpansionBase = OpenLibrary("expansion.library", 0);
27 // GfxBase = (struct GfxBase *)OpenLibrary("graphics.library", 0);
28 // IntuitionBase = (struct IntuitionBase *)OpenLibrary("intuition.library", 0);
29 // KeymapBase = OpenLibrary("keymap.library", 0);
30 // LayersBase = OpenLibrary("layers.library", 0);
31 // PartitionBase = OpenLibrary("partition.library", 0);
32 // UtilityBase = (struct UtilityBase *)OpenLibrary("utility.library", 0);
33 // WorkbenchBase = OpenLibrary("workbench.library", 0);