MCPcopy Create free account
hub / github.com/LemonOSProject/LemonOS / EnableSlot

Method EnableSlot

Kernel/src/usb/xhci.cpp:228–235  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226 }
227
228 void XHCIController::EnableSlot(){
229 xhci_enable_slot_command_trb_t trb;
230 memset(&trb, 0, XHCI_TRB_SIZE);
231
232 trb.trbType = TRBTypes::TRBTypeEnableSlotCommand;
233
234 SendCommand(&trb);
235 }
236
237 void XHCIController::OnInterrupt(){
238 Log::Info("[XHCI] Interrupt!");

Callers

nothing calls this directly

Calls 1

memsetFunction · 0.85

Tested by

no test coverage detected