5 Copyright 2010, The AROS Development Team. All rights reserved.
10 #include <exec/types.h>
14 #include <hidd/hidd.h>
23 #define CLID_Hidd_AGP "hidd.agp"
24 #define IID_Hidd_AGP "hidd.agp"
26 #define HiddAGPAttrBase __IHidd_AGP
28 #ifndef __OOP_NOATTRBASES__
29 extern OOP_AttrBase HiddAGPAttrBase
;
32 /* AGP Class methods */
35 moHidd_AGP_GetBridgeDevice
= 0,
40 struct pHidd_AGP_GetBridgeDevice
47 vHidd_AGP_NormalMemory
= 1,
48 vHidd_AGP_CachedMemory
51 #define IID_Hidd_AGPBridgeDevice "hidd.agp.bridgedevice"
53 #define HiddAGPBridgeDeviceAttrBase __IHidd_AGPBridgeDev
55 #ifndef __OOP_NOATTRBASES__
56 extern OOP_AttrBase HiddAGPBridgeDeviceAttrBase
;
61 moHidd_AGPBridgeDevice_Initialize
= 0,
62 moHidd_AGPBridgeDevice_Enable
,
63 moHidd_AGPBridgeDevice_BindMemory
,
64 moHidd_AGPBridgeDevice_UnBindMemory
,
65 moHidd_AGPBridgeDevice_FlushChipset
,
67 NUM_AGPBRIDGEDEVICE_METHODS
72 aoHidd_AGPBridgeDevice_Mode
, /* [..G] Mode of the bridge */
73 aoHidd_AGPBridgeDevice_ApertureBase
, /* [..G] Base of the aperture */
74 aoHidd_AGPBridgeDevice_ApertureSize
, /* [..G] Size of the aperture */
76 num_Hidd_AGPBridgeDevice_Attrs
79 #define aHidd_AGPBridgeDevice_Mode (HiddAGPBridgeDeviceAttrBase + aoHidd_AGPBridgeDevice_Mode)
80 #define aHidd_AGPBridgeDevice_ApertureBase (HiddAGPBridgeDeviceAttrBase + aoHidd_AGPBridgeDevice_ApertureBase)
81 #define aHidd_AGPBridgeDevice_ApertureSize (HiddAGPBridgeDeviceAttrBase + aoHidd_AGPBridgeDevice_ApertureSize)
83 #define IS_AGPBRIDGEDEV_ATTR(attr, idx) \
84 (((idx) = (attr) - HiddAGPBridgeDeviceAttrBase) < num_Hidd_AGPBridgeDevice_Attrs)
86 struct pHidd_AGPBridgeDevice_Initialize
91 struct pHidd_AGPBridgeDevice_Enable
97 struct pHidd_AGPBridgeDevice_BindMemory
106 struct pHidd_AGPBridgeDevice_UnBindMemory
113 struct pHidd_AGPBridgeDevice_FlushChipset