set the lock the task is waiting on, and re-add spinning tasks when a lock is released
[AROS.git] / workbench / hidds / agp / g33bridgedeviceclass.c
blob1e0f2c9fed9c379695dd5645047fcba99cc0a145
1 /*
2 Copyright 2010, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <hidd/agp.h>
7 #include <hidd/pci.h>
8 #include <proto/oop.h>
9 #include <proto/exec.h>
10 #define DEBUG 1
11 #include <aros/debug.h>
13 #include "agp_private.h"
15 #undef HiddAGPBridgeDeviceAttrBase
16 #define HiddAGPBridgeDeviceAttrBase (SD(cl)->hiddAGPBridgeDeviceAB)
18 /* Rething object model g33<->i965<->i915 so that code is not duplicated */
20 BOOL METHOD(g33BridgeDevice, Hidd_AGPBridgeDevice, CreateGattTable)
22 /* TODO: IMPLEMENT */
23 /* Note: identical as i915 */
24 return FALSE;
27 BOOL METHOD(g33BridgeDevice, Hidd_AGPBridgeDevice, ScanAndDetectDevices)
29 /* TODO: IMPLEMENT */
30 /* TODO: Check if interrupt is set */
31 /* Note: new method */
32 return FALSE;
35 /* PUBLIC METHODS */
36 OOP_Object * METHOD(g33BridgeDevice, Root, New)
38 o = (OOP_Object *)OOP_DoSuperMethod(cl, o, (OOP_Msg) msg);
40 return o;
44 VOID METHOD(g33BridgeDevice, Hidd_AGPBridgeDevice, BindMemory)
46 /* TODO: Implement */
47 /* Note : identical as i965 */
50 BOOL METHOD(g33BridgeDevice, Hidd_AGPBridgeDevice, Initialize)
52 /* TODO: Implement */
53 /* Note: specific detection, but initialization code identical as i915 */
55 /* THIS CLASS IS NOT FULLY IMPLEMENT AND NOT TESTED AT ALL */
56 return FALSE;