mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-18 12:16:31 +00:00
new: 增加ktest_start函数以开启内核自测试
This commit is contained in:
@ -416,8 +416,8 @@ ul initial_kernel_thread(ul arg)
|
||||
usb_init();
|
||||
|
||||
// 对一些组件进行单元测试
|
||||
kernel_thread(ktest_test_bitree, 0, 0);
|
||||
kernel_thread(ktest_test_kfifo, 0, 0);
|
||||
ktest_start(ktest_test_bitree, 0);
|
||||
ktest_start(ktest_test_kfifo, 0);
|
||||
|
||||
// 准备切换到用户态
|
||||
struct pt_regs *regs;
|
||||
|
Reference in New Issue
Block a user