Skip to content

Commit

Permalink
removed device context log dumps
Browse files Browse the repository at this point in the history
  • Loading branch information
FlareCoding committed Oct 5, 2024
1 parent 37f528b commit d490501
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 22 deletions.
Binary file modified efi/OVMF_VARS.fd
Binary file not shown.
22 changes: 0 additions & 22 deletions kernel/src/drivers/usb/xhci/xhci.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -940,28 +940,6 @@ bool XhciDriver::_addressDevice(XhciDevice* device, bool bsr) {
return false;
}

if (m_64ByteContextSize) {
// Sanity-check the actual device context entry in DCBAA
XhciDeviceContext64* deviceContext = virtbase(m_dcbaa[device->slotId], XhciDeviceContext64);

kprint(" DeviceContext[slotId=%i] address:0x%llx slotState:%s epSate:%s maxPacketSize:%i\n",
device->slotId, deviceContext->slotContext.deviceAddress,
xhciSlotStateToString(deviceContext->slotContext.slotState),
xhciEndpointStateToString(deviceContext->controlEndpointContext.endpointState),
deviceContext->controlEndpointContext.maxPacketSize
);
} else {
// Sanity-check the actual device context entry in DCBAA
XhciDeviceContext32* deviceContext = virtbase(m_dcbaa[device->slotId], XhciDeviceContext32);

kprint(" DeviceContext[slotId=%i] address:0x%llx slotState:%s epSate:%s maxPacketSize:%i\n",
device->slotId, deviceContext->slotContext.deviceAddress,
xhciSlotStateToString(deviceContext->slotContext.slotState),
xhciEndpointStateToString(deviceContext->controlEndpointContext.endpointState),
deviceContext->controlEndpointContext.maxPacketSize
);
}

return true;
}

Expand Down

0 comments on commit d490501

Please sign in to comment.