usb: start hooking up USB interrupts to chipsets

This commit is contained in:
Cacodemon345
2023-05-05 00:28:08 +06:00
parent 6376980d9d
commit 3f461afeeb
3 changed files with 41 additions and 1 deletions

View File

@@ -28,6 +28,8 @@ typedef struct usb_t usb_t;
typedef struct
{
void (*raise_interrupt)(usb_t*, void*);
/* Handle (but do not raise) SMI. Returns 1 if SMI can be raised, 0 otherwise. */
uint8_t (*smi_handle)(usb_t*, void*);
void* parent_priv;
} usb_params_t;