2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
5 Desc: Expansion Resident and initialization.
9 #include <aros/config.h>
10 #include <aros/symbolsets.h>
11 #include <exec/types.h>
12 #include <exec/lists.h>
13 #include <exec/alerts.h>
14 #include <exec/libraries.h>
15 #include <exec/resident.h>
16 #include <exec/execbase.h>
17 #include <proto/exec.h>
18 #include <proto/expansion.h>
20 #include "expansion_intern.h"
21 #include LC_LIBDEFS_FILE
24 static int ExpansionInit(LIBBASETYPEPTR LIBBASE
)
26 D(bug("expansion init\n"));
28 NEWLIST(&LIBBASE
->MountList
);
29 NEWLIST(&LIBBASE
->BoardList
);
31 InitSemaphore(&LIBBASE
->BindSemaphore
);
32 InitSemaphore(&LIBBASE
->BootSemaphore
);
34 /* See what expansion hardware we can detect. */
35 #if (AROS_FLAVOUR & AROS_FLAVOUR_BINCOMPAT)
36 ConfigChain((APTR
)E_EXPANSIONBASE
);
42 ADD2INITLIB(ExpansionInit
, 0);