1 #ifndef HIDD_PCIMOCKHARDWARE_H
2 #define HIDD_PCIMOCKHARDWARE_H
5 Copyright 2011, The AROS Development Team. All rights reserved.
10 #include <exec/types.h>
14 #include <hidd/hidd.h>
21 #define CLID_Hidd_PCIMockHardware "hidd.pcimockhardware"
22 #define IID_Hidd_PCIMockHardware "hidd.pcimockhardware"
24 #define HiddPCIMockHardwareAttrBase __IHidd_PCIMockHardware
26 #ifndef __OOP_NOATTRBASES__
27 extern OOP_AttrBase HiddPCIMockHardwareAttrBase
;
32 moHidd_PCIMockHardware_MemoryChangedAtAddress
= 0,
33 moHidd_PCIMockHardware_MemoryReadAtAddress
,
35 NUM_PCIMOCKHARDWARE_METHODS
40 aoHidd_PCIMockHardware_ConfigSpaceAddr
, /* [..G] Address of PCI config space */
42 num_Hidd_PCIMockHardware_Attrs
45 #define aHidd_PCIMockHardware_ConfigSpaceAddr (HiddPCIMockHardwareAttrBase + aoHidd_PCIMockHardware_ConfigSpaceAddr)
47 #define IS_PCIMOCKHARDWARE_ATTR(attr, idx) \
48 (((idx) = (attr) - HiddPCIMockHardwareAttrBase) < num_Hidd_PCIMockHardware_Attrs)
50 struct pHidd_PCIMockHardware_MemoryChangedAtAddress
56 struct pHidd_PCIMockHardware_MemoryReadAtAddress