scripts: add crosstools packages for i386 and armhf
[AROS.git] / rom / expansion / expansion_init.c
blob0292bc441d67d1f944ea672ee528a5d9448b7f03
1 /*
2 Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Expansion Resident and initialization.
6 Lang: english
7 */
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);
37 #endif
39 return TRUE;
42 ADD2INITLIB(ExpansionInit, 0);