- Define tag for allocations
- Fixes assert hit in ReactOS
- Fix typo in IHubController interface declaration
svn path=/branches/usb-bringup/; revision=51353
//
// allocate controller
//
- This = new(NonPagedPool, 0) CHCDController(0);
+ This = new(NonPagedPool, TAG_USBEHCI) CHCDController(0);
if (!This)
{
//
virtual NTSTATUS Initialize(IN PHCDCONTROLLER Controller,
IN PUSBHARDWAREDEVICE Device,
IN BOOLEAN IsRootHubDevice,
- IN ULONG DeviceAddress);
+ IN ULONG DeviceAddress) = 0;
//-----------------------------------------------------------------------------------------
//
};
}COMMON_DEVICE_EXTENSION, *PCOMMON_DEVICE_EXTENSION;
+//
+// tag for allocations
+//
+#define TAG_USBEHCI 'ICHE'
//
// assert for c++ - taken from portcls
//
NTSTATUS NTAPI SyncForwardIrp(PDEVICE_OBJECT DeviceObject, PIRP Irp);
+//
+// root_hub_controller.cpp
+//
+NTSTATUS CreateRootHubController(PHUBCONTROLLER * OutHubController);
+
#endif