tools/genmodule: Fix error in tests/clib/execl; should also fix gcc
[AROS.git] / rom / isapnp / pnp_structs.h
blob242b1062348f617ba91facd858ee3b3aed41364e
1 /* $Id$ */
3 /*
4 ISA-PnP -- A Plug And Play ISA software layer for AmigaOS.
5 Copyright (C) 2001 Martin Blom <martin@blom.org>
7 This library is free software; you can redistribute it and/or
8 modify it under the terms of the GNU Library General Public
9 License as published by the Free Software Foundation; either
10 version 2 of the License, or (at your option) any later version.
12 This library is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 Library General Public License for more details.
17 You should have received a copy of the GNU Library General Public
18 License along with this library; if not, write to the
19 Free Software Foundation, Inc., 59 Temple Place - Suite 330, Cambridge,
20 MA 02139, USA.
23 #ifndef ISA_PNP_pnp_structs_h
24 #define ISA_PNP_pnp_structs_h
26 #include "CompilerSpecific.h"
28 #include <exec/types.h>
30 struct ISAPNPBase;
32 struct ISAPNP_Card;
33 struct ISAPNP_Device;
34 struct ISAPNP_ResourceGroup;
35 struct ISAPNP_Resource;
37 struct ISAPNP_Card* ASMCALL
38 ISAPNP_AllocCard( REG( a6, struct ISAPNPBase* res ) );
40 void ASMCALL
41 ISAPNP_FreeCard( REG( a0, struct ISAPNP_Card* card ),
42 REG( a6, struct ISAPNPBase* res ) );
45 struct ISAPNP_Device* ASMCALL
46 ISAPNP_AllocDevice( REG( a6, struct ISAPNPBase* res ) );
48 void ASMCALL
49 ISAPNP_FreeDevice( REG( a0, struct ISAPNP_Device* dev ),
50 REG( a6, struct ISAPNPBase* res ) );
53 struct ISAPNP_ResourceGroup* ASMCALL
54 ISAPNP_AllocResourceGroup( REG( d0, UBYTE pri ),
55 REG( a6, struct ISAPNPBase* res ) );
57 void ASMCALL
58 ISAPNP_FreeResourceGroup( REG( a0, struct ISAPNP_ResourceGroup* rg ),
59 REG( a6, struct ISAPNPBase* res ) );
62 struct ISAPNP_Resource* ASMCALL
63 ISAPNP_AllocResource( REG( d0, UBYTE type ),
64 REG( a6, struct ISAPNPBase* res ) );
66 void ASMCALL
67 ISAPNP_FreeResource( REG( a0, struct ISAPNP_Resource* r ),
68 REG( a6, struct ISAPNPBase* res ) );
71 #endif /* ISA_PNP_pnp_structs_h */