mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 21:36:11 +00:00
Update to add some debugging messages.
svn path=/trunk/; revision=13108
This commit is contained in:
parent
c2f6ea52b4
commit
c1d9eb7340
3 changed files with 8 additions and 7 deletions
|
@ -22,12 +22,14 @@
|
|||
|
||||
#include "usbuhci.h"
|
||||
#include "../../usbport/usbport.h"
|
||||
|
||||
#include <debug.h>
|
||||
/* PUBLIC AND PRIVATE FUNCTIONS ***********************************************/
|
||||
|
||||
NTSTATUS STDCALL
|
||||
DriverEntry(IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath)
|
||||
{
|
||||
//return STATUS_SUCCESS;
|
||||
//DPRINT1("USBUHCI.SYS DriverEntry\n");
|
||||
PUSB_CONTROLLER_INTERFACE ControllerInterface;
|
||||
|
||||
USBPORT_AllocateUsbControllerInterface(&ControllerInterface);
|
||||
|
|
|
@ -28,12 +28,6 @@
|
|||
//#include <ddk/miniport.h>
|
||||
#include <ddk/ntapi.h>
|
||||
|
||||
#ifdef DBG
|
||||
#define DPRINT(arg) DbgPrint arg;
|
||||
#else
|
||||
#define DPRINT(arg)
|
||||
#endif
|
||||
|
||||
// Export funcs here
|
||||
/*
|
||||
BOOL FASTCALL
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
#include <windef.h>
|
||||
#include <ddk/ntddk.h>
|
||||
#include "usbport.h"
|
||||
#include <debug.h>
|
||||
|
||||
/* PUBLIC AND PRIVATE FUNCTIONS ***********************************************/
|
||||
|
||||
|
@ -36,6 +37,7 @@
|
|||
NTSTATUS STDCALL
|
||||
DriverEntry(IN PVOID Context1, IN PVOID Context2)
|
||||
{
|
||||
DPRINT1("USBPORT.SYS DriverEntry\n");
|
||||
return STATUS_SUCCESS;
|
||||
}
|
||||
/*
|
||||
|
@ -45,6 +47,7 @@ NTSTATUS STDCALL
|
|||
USBPORT_RegisterUSBPortDriver(PDRIVER_OBJECT DriverObject, DWORD Unknown1,
|
||||
PUSB_CONTROLLER_INTERFACE Interface)
|
||||
{
|
||||
//DPRINT1("USBPORT_RegisterUSBPortDriver\n");
|
||||
ASSERT(KeGetCurrentIRQL() < DISPATCH_LEVEL);
|
||||
|
||||
return STATUS_SUCCESS;
|
||||
|
@ -61,6 +64,7 @@ USBPORT_GetHciMn(VOID)
|
|||
NTSTATUS STDCALL
|
||||
USBPORT_AllocateUsbControllerInterface(OUT PUSB_CONTROLLER_INTERFACE *pControllerInterface)
|
||||
{
|
||||
//DPRINT1("USBPORT_AllocateUsbControllerInterface\n");
|
||||
ASSERT(KeGetCurrentIRQL() < DISPATCH_LEVEL);
|
||||
ASSERT(0 != ControllerObject);
|
||||
|
||||
|
@ -73,6 +77,7 @@ USBPORT_AllocateUsbControllerInterface(OUT PUSB_CONTROLLER_INTERFACE *pControlle
|
|||
NTSTATUS STDCALL
|
||||
USBPORT_FreeUsbControllerInterface(IN PUSB_CONTROLLER_INTERFACE ControllerInterface)
|
||||
{
|
||||
//DPRINT1("USBPORT_FreeUsbControllerInterface\n");
|
||||
ASSERT(KeGetCurrentIRQL() < DISPATCH_LEVEL);
|
||||
|
||||
ExFreePool(ControllerInterface);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue