new: kthread机制

This commit is contained in:
fslongjin
2022-09-30 15:30:50 +08:00
parent edef02286e
commit 02a6b3a303
21 changed files with 802 additions and 326 deletions

View File

@ -18,7 +18,7 @@ static int usb_pdevs_count = 0;
* @brief 初始化usb驱动程序
*
*/
int usb_init()
int usb_init(void* unused)
{
kinfo("Initializing usb driver...");
spin_init(&xhci_controller_init_lock);