grub2: bring back build of aros-side grub2 tools
[AROS.git] / rom / isapnp / pnp.h
blob7f99de1817f30f86ea8f13167f64985c7110c0a8
1 /* $Id$ */
3 /*
4 ISA-PnP -- A Plug And Play ISA software layer for AmigaOS.
5 Copyright (C) 2001 Martin Blom <martin@blom.org>
6 Copyright (C) 2009-2013 The AROS Development Team
8 This library is free software; you can redistribute it and/or
9 modify it under the terms of the GNU Library General Public
10 License as published by the Free Software Foundation; either
11 version 2 of the License, or (at your option) any later version.
13 This library is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 Library General Public License for more details.
18 You should have received a copy of the GNU Library General Public
19 License along with this library; if not, write to the
20 Free Software Foundation, Inc., 59 Temple Place - Suite 330, Cambridge,
21 MA 02139, USA.
24 #ifndef ISA_PNP_pnp_h
25 #define ISA_PNP_pnp_h
27 #include "CompilerSpecific.h"
29 #include <exec/types.h>
31 struct ISAPNPBase;
33 AROS_LD0(BOOL, ISAPNP_ScanCards,
34 struct ISAPNPBase *, res, 26, ISAPNP);
36 AROS_LD0(BOOL, ISAPNP_ConfigureCards,
37 struct ISAPNPBase *, res, 27, ISAPNP);
39 static inline BOOL ISAPNP_ScanCards(struct ISAPNPBase *res)
41 return AROS_LC0(BOOL, ISAPNP_ScanCards,
42 struct ISAPNPBase *, res, 26, ISAPNP);
45 static inline BOOL ISAPNP_ConfigureCards(struct ISAPNPBase *res)
47 return AROS_LC0(BOOL, ISAPNP_ConfigureCards,
48 struct ISAPNPBase *, res, 27, ISAPNP);
51 #endif /* ISA_PNP_pnp_h */