Skip to content

Commit

Permalink
Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Cacodemon345 committed May 28, 2024
1 parent d35d298 commit 34f24c6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/include/86box/usb.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,15 @@ struct usb_device_c;
typedef struct usb_device_c usb_device_c;

typedef struct usb_params_t {
/* Pointer to PCI device slot. */
uint8_t* pci_dev;
/* PCI configuration space array. */
uint8_t* pci_conf;

void* priv; /* Implementation-specific behaviour. */
void* priv; /* The implementation. */
/* Raises SMI with also setting implementation-specific bits. */
void (*do_smi_raise)(void* priv);
/* Asserts PCI interrupt. */
void (*do_pci_irq)(void* priv, int level);
} usb_params_t;

Expand Down

0 comments on commit 34f24c6

Please sign in to comment.