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,
23 #ifndef ISA_PNP_pnp_structs_h
24 #define ISA_PNP_pnp_structs_h
26 #include "CompilerSpecific.h"
28 #include <exec/types.h>
34 struct ISAPNP_ResourceGroup
;
35 struct ISAPNP_Resource
;
37 struct ISAPNP_Card
* ASMCALL
38 ISAPNP_AllocCard( REG( a6
, struct ISAPNPBase
* res
) );
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
) );
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
) );
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
) );
67 ISAPNP_FreeResource( REG( a0
, struct ISAPNP_Resource
* r
),
68 REG( a6
, struct ISAPNPBase
* res
) );
71 #endif /* ISA_PNP_pnp_structs_h */