PUSB_CONTROLLER_INTERFACE Interface)
{
DPRINT1("USBPORT_RegisterUSBPortDriver\n");
-// ASSERT(KeGetCurrentIRQL() < DISPATCH_LEVEL);
+ ASSERT(KeGetCurrentIrql() < DISPATCH_LEVEL);
return STATUS_SUCCESS;
}
USBPORT_AllocateUsbControllerInterface(OUT PUSB_CONTROLLER_INTERFACE *pControllerInterface)
{
DPRINT1("USBPORT_AllocateUsbControllerInterface\n");
-// ASSERT(KeGetCurrentIRQL() < DISPATCH_LEVEL);
-// ASSERT(0 != ControllerObject);
+ ASSERT(KeGetCurrentIrql() < DISPATCH_LEVEL);
+ ASSERT(0 != pControllerInterface);
*pControllerInterface = (PUSB_CONTROLLER_INTERFACE)ExAllocatePoolWithTag(PagedPool, sizeof(USB_CONTROLLER_INTERFACE),USB_CONTROLLER_INTERFACE_TAG);
RtlZeroMemory(*pControllerInterface, sizeof(USB_CONTROLLER_INTERFACE));
USBPORT_FreeUsbControllerInterface(IN PUSB_CONTROLLER_INTERFACE ControllerInterface)
{
DPRINT1("USBPORT_FreeUsbControllerInterface\n");
-// ASSERT(KeGetCurrentIRQL() < DISPATCH_LEVEL);
+ ASSERT(KeGetCurrentIrql() < DISPATCH_LEVEL);
ExFreePool(ControllerInterface);