mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-29 05:13:54 -06:00
xhci: trace: run+stop
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
2d754a10e4
commit
fc0ddaca33
2 changed files with 4 additions and 3 deletions
|
@ -813,14 +813,13 @@ static void xhci_er_reset(XHCIState *xhci)
|
|||
|
||||
static void xhci_run(XHCIState *xhci)
|
||||
{
|
||||
DPRINTF("xhci_run()\n");
|
||||
|
||||
trace_usb_xhci_run();
|
||||
xhci->usbsts &= ~USBSTS_HCH;
|
||||
}
|
||||
|
||||
static void xhci_stop(XHCIState *xhci)
|
||||
{
|
||||
DPRINTF("xhci_stop()\n");
|
||||
trace_usb_xhci_stop();
|
||||
xhci->usbsts |= USBSTS_HCH;
|
||||
xhci->crcr_low &= ~CRCR_CRR;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue