904 Commits

Author SHA1 Message Date
fslongjin
2fd21e0395 new: 内核态fork 2022-08-01 14:20:16 +08:00
fslongjin
311a6181b5 doc: mutex文档 2022-07-31 17:27:43 +08:00
fslongjin
946bbef392 new: mutex 2022-07-31 17:09:12 +08:00
fslongjin
b98a3679c9 bugfix: 修复sys_wait4中,当status指针为NULL时的错误。 2022-07-31 17:06:37 +08:00
fslongjin
a02acbdbe6 将进程同步原语移动到common文件夹下 2022-07-31 14:17:26 +08:00
fslongjin
da085f06be 将ps2键盘驱动的缓冲区改为kfifo缓冲区 2022-07-30 15:43:10 +08:00
fslongjin
5963c45116 bugfix: 在内核线程中,rflags未按照预期值进行设置的问题 2022-07-30 13:12:29 +08:00
fslongjin
54f9d98f71 fix: 进程异常退出后,屏幕不刷新的问题 2022-07-30 12:59:49 +08:00
fslongjin
10e8f9a752 删除多余代码 2022-07-30 12:20:47 +08:00
fslongjin
f1dd1c0812 new: bitree_destroy 2022-07-30 12:16:21 +08:00
fslongjin
1bd4e3e91d 修复日志输出函数的bug 2022-07-30 11:45:41 +08:00
fslongjin
20bdc183ca fix CWE-468 in xhci.c 2022-07-30 11:22:39 +08:00
fslongjin
7c9366b297 new: 增加ktest_start函数以开启内核自测试 2022-07-29 17:40:55 +08:00
fslongjin
c1f51bf4cb kfifo文档 2022-07-29 17:18:55 +08:00
fslongjin
2a983a8534 new: kfifo 2022-07-28 19:48:20 +08:00
fslongjin
90203803d3 🆕 使用rdtsc进行精确定时 2022-07-27 21:19:59 +08:00
fslongjin
4bc64de8f9 🆕 测定tsc频率 2022-07-27 21:05:33 +08:00
fslongjin
08181a7bb8 代码格式修正 2022-07-27 14:37:26 +08:00
fslongjin
aacb77e0c6 doc: 原子变量文档 2022-07-27 12:11:29 +08:00
fslongjin
1b4f812fe4 doc: 内存管理api 2022-07-27 00:09:19 +08:00
fslongjin
e14535feaa 解决printk中的私有函数没有加static的问题 2022-07-26 17:42:04 +08:00
fslongjin
eed9077675 bugfix: 当进程在内核态退出后,屏幕刷新软中断会一直保持在pending的状态的bug 2022-07-26 16:16:25 +08:00
fslongjin
494bcc1811 bitree的单元测试以及bug修复 2022-07-26 15:44:01 +08:00
fslongjin
992f292f89 🆕 ktest模块 2022-07-26 15:43:33 +08:00
fslongjin
a704fe5cfe fix: 修正未暴露delete接口的问题 2022-07-26 10:29:36 +08:00
fslongjin
870ae59646 删除无用信息 2022-07-26 00:13:32 +08:00
fslongjin
813c3f9bf8 bitree: delete node 2022-07-25 17:01:37 +08:00
fslongjin
eead936244 二叉搜索树: create、 insert 2022-07-25 15:46:32 +08:00
fslongjin
2b0b727893 🔧 将enable msi的部分更新为使用msi_desc来完成 2022-07-25 13:50:03 +08:00
fslongjin
7ca8f42c17 new: msi_desc 2022-07-25 11:50:15 +08:00
fslongjin
a3b5102a36 wrench: 更新Makefile 2022-07-25 11:05:30 +08:00
fslongjin
9dfd4d9d6e 修正注释 2022-07-24 22:32:41 +08:00
fslongjin
c700737d8e bugfix: Suspicious add with sizeof 2022-07-21 21:56:13 +08:00
fslongjin
49bbba17ec 完成xhci端口初始化 2022-07-21 21:51:33 +08:00
fslongjin
fa1c2bd461 xhci控制器初始化(还存在bug,无法reset端口) 2022-07-21 20:43:49 +08:00
fslongjin
c9c8147cdf 🆕 注册xhci中断 2022-07-21 14:03:07 +08:00
fslongjin
20a191d149 add start_msi to pci module 2022-07-21 12:53:52 +08:00
fslongjin
e7d13b5a6d 🆕 disable msi 2022-07-21 12:23:46 +08:00
fslongjin
23b3f4c712 调整local apic向量表的大小 2022-07-21 11:45:38 +08:00
fslongjin
d18a69ac2f new: create ring 2022-07-20 18:07:08 +08:00
fslongjin
8e5f769a0e 🆕 xhci:匹配usb2、usb3端口 2022-07-20 14:29:22 +08:00
fslongjin
10537cd1bc bugfix: cid错误 2022-07-20 09:59:25 +08:00
fslongjin
63de30bbe0 Merge branch 'master' into usb 2022-07-20 09:48:31 +08:00
fslongjin
7af8711bbb new: stop legacy 2022-07-19 21:17:44 +08:00
fslongjin
11bb8fb505 Merge branch 'usb' 2022-07-19 18:33:40 +08:00
fslongjin
22d8fa371d usb ops寄存器 2022-07-18 21:22:06 +08:00
fslongjin
98371a9b4a Merge branch 'usb' 2022-07-18 21:20:24 +08:00
fslongjin
e7fb6df203 内核态usleep 2022-07-18 21:19:45 +08:00
fslongjin
16d6b94c46 将usb的初始化交由init进程进行处理 2022-07-18 21:19:34 +08:00
fslongjin
e4322ebfea Merge branch 'usb' 2022-07-18 16:07:47 +08:00