else
{
/* This scenario shouldn't happen yet, since SetupDD isn't used */
- UNIMPLEMENTED;
- while (TRUE);
+ UNIMPLEMENTED_FATAL("ReactOS doesn't use SetupDD for its installation program. Therefore this scenario must not happen!\n");
}
/* Return if this is Datacenter or not */
Status,
STATUS_BUFFER_TOO_SMALL);
*OutputBuffer = NULL;
- ASSERTMSG(FALSE, "PCI Successfully did the impossible!");
+ ASSERTMSG("PCI Successfully did the impossible!", FALSE);
break;
}
if (!Buffer)
{
/* No memory, fail the request */
- DPRINT1("PCI - Failed to allocate DeviceProperty buffer (%d bytes).\n", BufferLength);
+ DPRINT1("PCI - Failed to allocate DeviceProperty buffer (%u bytes).\n", BufferLength);
Status = STATUS_INSUFFICIENT_RESOURCES;
break;
}
{
PAGED_CODE();
+ UNREFERENCED_PARAMETER(DeviceExtension);
+
/* Check for too many, or no, debug ports */
ASSERT(PciDebugPortsCount <= MAX_DEBUGGING_DEVICES_SUPPORTED);
if (!PciDebugPortsCount) return FALSE;
/* eVb has not been able to test such devices yet */
- UNIMPLEMENTED;
- while (TRUE);
+ UNIMPLEMENTED_DBGBREAK();
+ return FALSE;
}
NTSTATUS
{
PPNP_BUS_INFORMATION BusInfo;
+ UNREFERENCED_PARAMETER(Buffer);
+
/* Allocate a structure for the bus information */
BusInfo = ExAllocatePoolWithTag(PagedPool,
sizeof(PNP_BUS_INFORMATION),
/* Check if a $PIR from the BIOS is used (legacy IRQ routing) */
ParentExtension = PdoExtension->ParentFdoExtension;
- DPRINT1("Slot lookup for %d.%d.%d\n",
+ DPRINT1("Slot lookup for %d.%u.%u\n",
ParentExtension ? ParentExtension->BaseBus : -1,
PdoExtension->Slot.u.bits.DeviceNumber,
PdoExtension->Slot.u.bits.FunctionNumber);
{
/* Read every slot information entry */
SlotInfo = &PciIrqRoutingTable->Slot[0];
- DPRINT1("PIR$ %p is %lx bytes, slot 0 is at: %lx\n",
+ DPRINT1("PIR$ %p is %lx bytes, slot 0 is at: %p\n",
PciIrqRoutingTable, PciIrqRoutingTable->TableSize, SlotInfo);
while (SlotInfo < (PSLOT_INFO)((ULONG_PTR)PciIrqRoutingTable +
PciIrqRoutingTable->TableSize))
{
- DPRINT1("Slot Info: %d.%d->#%d\n",
+ DPRINT1("Slot Info: %u.%u->#%u\n",
SlotInfo->BusNumber,
SlotInfo->DeviceNumber,
SlotInfo->SlotNumber);