refactored some code. compiles now without suppresing any warning with gcc-6.3.0.
[AROS.git] / rom / isapnp / isapnp_private.h
blobe0ddd11c4904cf39fe0d3ba603361c75ba7d61d3
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_isapnp_private_h
25 #define ISA_PNP_isapnp_private_h
27 #include <exec/libraries.h>
28 #include <libraries/configvars.h>
30 /* The resource base */
32 struct ISAPNPBase
34 struct Library m_Library;
35 UWORD m_Pad1;
37 struct List m_Cards;
38 UWORD m_Pad2;
40 APTR m_Base;
41 UWORD m_RegReadData;
42 UWORD m_Pad3;
44 struct ConfigDev* m_ConfigDev;
45 struct ExecBase* m_SysBase;
48 #define SysBase (res->m_SysBase)
50 #endif /* ISA_PNP_isapnp_private_h */