Test initialisation of MUIA_List_AdjustWidth and MUIA_List_AdjustHeight, and
[AROS.git] / workbench / hidds / nouveau / pci-device-mock / pcimockhardware.h
blobc12d2b36d86710c1cc4a464382f349f8c0aefe44
1 #ifndef HIDD_PCIMOCKHARDWARE_H
2 #define HIDD_PCIMOCKHARDWARE_H
4 /*
5 Copyright 2011, The AROS Development Team. All rights reserved.
6 $Id$
7 */
9 #ifndef EXEC_TYPES_H
10 #include <exec/types.h>
11 #endif
13 #ifndef HIDD_HIDD_H
14 #include <hidd/hidd.h>
15 #endif
17 #ifndef OOP_OOP_H
18 #include <oop/oop.h>
19 #endif
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;
28 #endif
30 enum
32 moHidd_PCIMockHardware_MemoryChangedAtAddress = 0,
33 moHidd_PCIMockHardware_MemoryReadAtAddress,
35 NUM_PCIMOCKHARDWARE_METHODS
38 enum
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
52 OOP_MethodID mID;
53 IPTR memoryaddress;
56 struct pHidd_PCIMockHardware_MemoryReadAtAddress
58 OOP_MethodID mID;
59 IPTR memoryaddress;
62 #endif