2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
5 Desc: AllocConfigDev() - Create a new ConfigDev in a compatible way.
8 #include "expansion_intern.h"
9 #include <exec/memory.h>
10 #include <proto/exec.h>
12 /*****************************************************************************
15 #include <proto/expansion.h>
17 AROS_LH0(struct ConfigDev
*, AllocConfigDev
,
23 struct ExpansionBase
*, ExpansionBase
, 8, Expansion
)
26 AllocConfigDev() will allocate a new ConfigDev structure for
27 you. You should use this function in order for you to be
28 compatible with future versions of the OS in case this
35 A newly created ConfigDev structure.
49 27-11-96 digulla automatically created from
50 expansion_lib.fd and clib/expansion_protos.h
52 *****************************************************************************/
56 return AllocMem(sizeof(struct ConfigDev
), MEMF_CLEAR
|MEMF_CHIP
);
59 } /* AllocConfigDev */