mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
[HALX86] HalpQueryInterface(): Debug log InterfaceType param (#4772)
This should help to find out which GUIDs are actually wanted. Based on CircularTriangle06's patch. CORE-11632
This commit is contained in:
parent
5efb6e3d97
commit
ba1ed89f91
2 changed files with 27 additions and 2 deletions
|
@ -9,6 +9,10 @@
|
|||
/* INCLUDES *******************************************************************/
|
||||
|
||||
#include <hal.h>
|
||||
|
||||
#include <initguid.h>
|
||||
#include <wdmguid.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
||||
|
@ -153,7 +157,23 @@ HalpQueryInterface(IN PDEVICE_OBJECT DeviceObject,
|
|||
IN PINTERFACE Interface,
|
||||
OUT PULONG Length)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
if (IsEqualIID(InterfaceType, &GUID_ACPI_REGS_INTERFACE_STANDARD))
|
||||
{
|
||||
DPRINT1("HalpQueryInterface(GUID_ACPI_REGS_INTERFACE_STANDARD) is UNIMPLEMENTED\n");
|
||||
}
|
||||
else if (IsEqualIID(InterfaceType, &GUID_ACPI_PORT_RANGES_INTERFACE_STANDARD))
|
||||
{
|
||||
DPRINT1("HalpQueryInterface(GUID_ACPI_PORT_RANGES_INTERFACE_STANDARD) is UNIMPLEMENTED\n");
|
||||
}
|
||||
else
|
||||
{
|
||||
DPRINT1("HalpQueryInterface({%08X-%04X-%04X-%02X%02X-%02X%02X%02X%02X%02X%02X}) is UNIMPLEMENTED\n",
|
||||
InterfaceType->Data1, InterfaceType->Data2, InterfaceType->Data3,
|
||||
InterfaceType->Data4[0], InterfaceType->Data4[1],
|
||||
InterfaceType->Data4[2], InterfaceType->Data4[3],
|
||||
InterfaceType->Data4[4], InterfaceType->Data4[5],
|
||||
InterfaceType->Data4[6], InterfaceType->Data4[7]);
|
||||
}
|
||||
return STATUS_NOT_SUPPORTED;
|
||||
}
|
||||
|
||||
|
|
|
@ -145,7 +145,12 @@ HalpQueryInterface(IN PDEVICE_OBJECT DeviceObject,
|
|||
IN PINTERFACE Interface,
|
||||
OUT PULONG Length)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
DPRINT1("HalpQueryInterface({%08X-%04X-%04X-%02X%02X-%02X%02X%02X%02X%02X%02X}) is UNIMPLEMENTED\n",
|
||||
InterfaceType->Data1, InterfaceType->Data2, InterfaceType->Data3,
|
||||
InterfaceType->Data4[0], InterfaceType->Data4[1],
|
||||
InterfaceType->Data4[2], InterfaceType->Data4[3],
|
||||
InterfaceType->Data4[4], InterfaceType->Data4[5],
|
||||
InterfaceType->Data4[6], InterfaceType->Data4[7]);
|
||||
return STATUS_NOT_SUPPORTED;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue