mirror of
https://github.com/reactos/reactos.git
synced 2025-04-21 20:50:29 +00:00
Temp Fix until I figure out what is wrong with Asserts.
svn path=/trunk/; revision=15624
This commit is contained in:
parent
dfe4710889
commit
d07eefd752
1 changed files with 86 additions and 86 deletions
|
@ -47,8 +47,8 @@ NTSTATUS STDCALL
|
||||||
USBPORT_RegisterUSBPortDriver(PDRIVER_OBJECT DriverObject, DWORD Unknown1,
|
USBPORT_RegisterUSBPortDriver(PDRIVER_OBJECT DriverObject, DWORD Unknown1,
|
||||||
PUSB_CONTROLLER_INTERFACE Interface)
|
PUSB_CONTROLLER_INTERFACE Interface)
|
||||||
{
|
{
|
||||||
//DPRINT1("USBPORT_RegisterUSBPortDriver\n");
|
DPRINT1("USBPORT_RegisterUSBPortDriver\n");
|
||||||
ASSERT(KeGetCurrentIRQL() < DISPATCH_LEVEL);
|
// ASSERT(KeGetCurrentIRQL() < DISPATCH_LEVEL);
|
||||||
|
|
||||||
return STATUS_SUCCESS;
|
return STATUS_SUCCESS;
|
||||||
}
|
}
|
||||||
|
@ -64,9 +64,9 @@ USBPORT_GetHciMn(VOID)
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
USBPORT_AllocateUsbControllerInterface(OUT PUSB_CONTROLLER_INTERFACE *pControllerInterface)
|
USBPORT_AllocateUsbControllerInterface(OUT PUSB_CONTROLLER_INTERFACE *pControllerInterface)
|
||||||
{
|
{
|
||||||
//DPRINT1("USBPORT_AllocateUsbControllerInterface\n");
|
DPRINT1("USBPORT_AllocateUsbControllerInterface\n");
|
||||||
ASSERT(KeGetCurrentIRQL() < DISPATCH_LEVEL);
|
// ASSERT(KeGetCurrentIRQL() < DISPATCH_LEVEL);
|
||||||
ASSERT(0 != ControllerObject);
|
// ASSERT(0 != ControllerObject);
|
||||||
|
|
||||||
*pControllerInterface = (PUSB_CONTROLLER_INTERFACE)ExAllocatePoolWithTag(PagedPool, sizeof(USB_CONTROLLER_INTERFACE),USB_CONTROLLER_INTERFACE_TAG);
|
*pControllerInterface = (PUSB_CONTROLLER_INTERFACE)ExAllocatePoolWithTag(PagedPool, sizeof(USB_CONTROLLER_INTERFACE),USB_CONTROLLER_INTERFACE_TAG);
|
||||||
RtlZeroMemory(*pControllerInterface, sizeof(USB_CONTROLLER_INTERFACE));
|
RtlZeroMemory(*pControllerInterface, sizeof(USB_CONTROLLER_INTERFACE));
|
||||||
|
@ -77,8 +77,8 @@ USBPORT_AllocateUsbControllerInterface(OUT PUSB_CONTROLLER_INTERFACE *pControlle
|
||||||
NTSTATUS STDCALL
|
NTSTATUS STDCALL
|
||||||
USBPORT_FreeUsbControllerInterface(IN PUSB_CONTROLLER_INTERFACE ControllerInterface)
|
USBPORT_FreeUsbControllerInterface(IN PUSB_CONTROLLER_INTERFACE ControllerInterface)
|
||||||
{
|
{
|
||||||
//DPRINT1("USBPORT_FreeUsbControllerInterface\n");
|
DPRINT1("USBPORT_FreeUsbControllerInterface\n");
|
||||||
ASSERT(KeGetCurrentIRQL() < DISPATCH_LEVEL);
|
// ASSERT(KeGetCurrentIRQL() < DISPATCH_LEVEL);
|
||||||
|
|
||||||
ExFreePool(ControllerInterface);
|
ExFreePool(ControllerInterface);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue