KolibriOS kernel
init.inc File Reference

Functions

void usb_init ()
 Initializes the USB subsystem. More...
 
void create_usb_thread ()
 Helper function for usb_init. Creates and initializes the USB thread. More...
 
void usb_wakeup_if_needed ()
 Helper function for IRQ handlers. Wakes the USB thread if ebx is nonzero. More...
 
void usb_thread_proc ()
 Main loop of the USB thread. More...
 

Variables

label uhci_service_name
 
label ohci_service_name
 
label ehci_service_name
 
label xhci_service_name
 
dd usb_event
 
label usb_wakeup
 
label usb_thread_wait
 
label usb_controllers_list
 
label usb_hubs_list
 
MUTEX usb_controllers_list_mutex
 

Function Documentation

◆ create_usb_thread()

void create_usb_thread ( )

Helper function for usb_init. Creates and initializes the USB thread.

Source
bus/usb/init.inc:167

◆ usb_init()

void usb_init ( )

Initializes the USB subsystem.

Source
bus/usb/init.inc:52

◆ usb_thread_proc()

void usb_thread_proc ( )

Main loop of the USB thread.

Source
bus/usb/init.inc:211

◆ usb_wakeup_if_needed()

void usb_wakeup_if_needed ( )

Helper function for IRQ handlers. Wakes the USB thread if ebx is nonzero.

Source
bus/usb/init.inc:197

Variable Documentation

◆ ehci_service_name

label ehci_service_name

◆ ohci_service_name

label ohci_service_name

◆ uhci_service_name

label uhci_service_name

◆ usb_controllers_list

label usb_controllers_list

◆ usb_controllers_list_mutex

MUTEX usb_controllers_list_mutex
Initial value
Source
bus/usb/init.inc:273

◆ usb_event

dd usb_event
Initial value
?
Source
bus/usb/init.inc:163

◆ usb_hubs_list

label usb_hubs_list

◆ usb_thread_wait

label usb_thread_wait

◆ usb_wakeup

label usb_wakeup

◆ xhci_service_name

label xhci_service_name