28 lines
535 B
C
28 lines
535 B
C
#ifndef _KERNEL_DEVICE_XHCI_H
|
|
#define _KERNEL_DEVICE_XHCI_H
|
|
|
|
#include <device/def_device_op.h>
|
|
#include <libk/list.h>
|
|
#include <libk/std.h>
|
|
#include <proc/proc.h>
|
|
#include <proc/reschedule.h>
|
|
#include <proc/suspension_q.h>
|
|
|
|
struct xhci_init {
|
|
uintptr_t xhci_mmio_base;
|
|
};
|
|
|
|
struct xhci {
|
|
struct device* device;
|
|
uintptr_t xhci_mmio_base;
|
|
uintptr_t xhci_oper_base;
|
|
uintptr_t xhci_runtime_base;
|
|
uintptr_t xhci_doorbell_base;
|
|
};
|
|
|
|
DEFINE_DEVICE_INIT (xhci_init);
|
|
|
|
DEFINE_DEVICE_FINI (xhci_fini);
|
|
|
|
#endif // _KERNEL_DEVICE_XHCI_H
|