xref: /DragonOS/docs/community/ChangeLog/V0.1.x/V0.1.9.md (revision 9e481b3bfe303e0b104694da9750ae978dfeecae)
1# V0.1.9
2
3:::{note}
4本文作者:何懿聪 <heyicong@dragonos.org>
5
6DragonOS官方论坛:[bbs.dragonos.org.cn](https://bbs.dragonos.org.cn)
7
82024年3月13日
9:::
10
11## 贡献者名单
12
13DragonOS V0.1.9版本由以下小伙伴贡献代码:
14
15- 龙进 <longjin@DragonOS.org>
16- 何懿聪 <heyicong@dragonos.rog>
17- 裕依 <68320855+yuyi2439@users.noreply.github.com>
18- R0ronoa <84278015+2447742618@users.noreply.github.com>
19- 池克俭 <39649411+Chiichen@users.noreply.github.com>
20- 吴宇健 <wuyujian@dragonos.org>
21- zhaoyao73 <zhaoyao73@users.noreply.github.com>
22- 胡兆朋 <105195940+MemoryShore@users.noreply.github.com>
23- 周瀚杰 <zhouhanjie@dragonos.org>
24- 栗子 <im.lechain@gmail.com>
25- Xshine <gshine@m.scnu.edu.cn>
26- Chenzx <109664121+schulice@users.noreply.github.com>
27- MContour <m-contour@qq.com>
28- Donkey Kane <109840258+xiaolin2004@users.noreply.github.com>
29- Luo Jia / Zhouqi Jiang <luojia@hust.edu.cn>
30- Wu Mianzhi <31810920+Hdksg10@users.noreply.github.com>
31- Xiaoye Zheng <xiaoyez@zju.edu.cn>
32- Plucky923 <107762234+Plucky923@users.noreply.github.com>
33
34## 赞助商列表
35
36- **[中国雅云](https://yacloud.net)** 雅安大数据产业园为DragonOS提供了云服务器支持。
37
38
39## 赞助者名单
40
41感谢以下同学的赞赏,我们将不断努力!
42
43
44- David Wen
45- 万晓兰
46- 龙进
47- 吴宇健
48
49
50两千元以下:
51
52- [Seele.Clover](https://github.com/seeleclover)
53- [FindWangHao](https://github.com/FindWangHao)
54- [ferchiel](https://github.com/ferchiel)
55- 叶锦毅
56- 林
57- Albert
58- [TerryLeeSCUT · GitHub](https://github.com/TerryLeeSCUT)
59- slientbard
60- 悟
61- 匿名热心人士
62
63## 更新内容-内核
64
65### 新特性
66
67- refactor: 重构进程管理模块 ([#380](https://github.com/DragonOS-Community/DragonOS/pull/380))
68- feature: 完善设备驱动模型 ([#401](https://github.com/DragonOS-Community/DragonOS/pull/401))
69- feature: 实现e1000e网卡驱动 ([#393](https://github.com/DragonOS-Community/DragonOS/pull/393))
70- feature: DragonOS虚拟化框架([#389](https://github.com/DragonOS-Community/DragonOS/pull/389))
71- feature: 支持syscall快速系统调用指令([#417](https://github.com/DragonOS-Community/DragonOS/pull/417))
72- refactor: 重写apic驱动 ([#425](https://github.com/DragonOS-Community/DragonOS/pull/425))
73- feature: 线程机制与futex ([#411](https://github.com/DragonOS-Community/DragonOS/pull/411))
74- feature: DragonStub引导DragonOS内核 ([#460](https://github.com/DragonOS-Community/DragonOS/pull/460))
75- feature: 实现Epoll IO多路复用机制 ([#455](https://github.com/DragonOS-Community/DragonOS/pull/455))
76- feature: 帧缓冲抽象以及vesafb驱动 ([#483](https://github.com/DragonOS-Community/DragonOS/pull/483))
77- feature: 增加early io remap的fixmap功能 ([#495](https://github.com/DragonOS-Community/DragonOS/pull/495))
78- feature: 实现内核日志系统 ([#489](https://github.com/DragonOS-Community/DragonOS/pull/489))
79- refactor: 使用Rust重写x86_64下内核初始化代码([#507](https://github.com/DragonOS-Community/DragonOS/pull/507))
80- feature: 新增riscv64架构的内存管理等([#506](https://github.com/DragonOS-Community/DragonOS/pull/506))
81- refactor: 中断管理模块重构完成([#554](https://github.com/DragonOS-Community/DragonOS/pull/554))
82- refactor: 重构tty模块,实现unix兼容tty([#577](https://github.com/DragonOS-Community/DragonOS/pull/577))
83- featurn: 实现若干POSIX标准系统调用
84
85### bugfix
86
87- bugfix: 修正由于init proc union导致的无法运行的问题 && 修正由于内核线程启动后默认sleep的行为导致init进程无法正常运行的bug ([#381](https://github.com/DragonOS-Community/DragonOS/pull/381))
88- bugfix: 修复了Flusher Drop的时候没有自动刷新TLB的bug([#384](https://github.com/DragonOS-Community/DragonOS/pull/384))
89- bugfix: multiboot2启动的信息因为没及时转存导致后面无法从其中进行查询的bug ([#405](https://github.com/DragonOS-Community/DragonOS/pull/405))
90- bugfix: 修复bus/device manager对卸载逻辑的处理错误 ([#385](https://github.com/DragonOS-Community/DragonOS/pull/385))
91- bugfix: 解决waitqueue sleep的时候,由于preempt count不为0,导致sched失败,从而导致该waitqueue下一次wakeup时,会把pcb多次加入调度队列的bug ([#419](https://github.com/DragonOS-Community/DragonOS/pull/419))
92- bugfix: 修正fork的时候没有正确拷贝vm holes的bug ([#433](https://github.com/DragonOS-Community/DragonOS/pull/433))
93- bugfix: 当物理机具有多个memory area的时候,无法正确使用这些区域的问题.以及在内核代码处出现内存空洞而导致无法正常运行的问题. ([#448](https://github.com/DragonOS-Community/DragonOS/pull/448))
94- bugfix: 修复因rsdp v1 v2版本问题,导致ACPI无法正常初始化的bug ([#454](https://github.com/DragonOS-Community/DragonOS/pull/454))
95- bugfix: 修正由于bus的driver、device强弱引用关系 不正确从而导致对象被释放的bug ([#483](https://github.com/DragonOS-Community/DragonOS/pull/483))
96- bugfix: 修复文件关闭后epoll还持有对应描述符的文件弱引用的bug ([#455](https://github.com/DragonOS-Community/DragonOS/pull/455))
97- bugfix: 修复无法sleep的问题以及进程处于block(true)状态时无法被信号唤醒&唤醒后不处理信号的问题 ([#470](https://github.com/DragonOS-Community/DragonOS/pull/470))
98
99## 更新内容-用户环境
100
101### 新特性
102
103- feature: 新增init程序dragonreach ([#391](https://github.com/DragonOS-Community/DragonOS/pull/391))
104- featurn: 新增shell程序NovaShell ([#456](https://github.com/DragonOS-Community/DragonOS/pull/456))
105- featurn: 新增文本编辑器Held ([#583](https://github.com/DragonOS-Community/DragonOS/pull/583))
106- featurn: 能够支持gcc,tar,redis等程序运行
107
108## 源码、发布版镜像下载
109
110&emsp;&emsp;您可以通过以下方式获得源代码:
111
112### 通过Git获取
113
114- 您可以访问[https://github.com/DragonOS-Community/DragonOS/releases](https://github.com/DragonOS-Community/DragonOS/releases)下载发布版的代码,以及编译好的,可运行的磁盘镜像。
115
116### 通过DragonOS软件镜像站获取
117
118&emsp;&emsp;为解决国内访问GitHub慢、不稳定的问题,同时为了方便开发者们下载DragonOS的每个版本的代码,我们特意搭建了镜像站,您可以通过以下地址访问镜像站:
119
120&emsp;&emsp;您可以通过镜像站获取到DragonOS的代码压缩包,以及编译好的可运行的磁盘镜像。
121
122- [https://mirrors.DragonOS.org.cn](https://mirrors.DragonOS.org.cn)
123- [https://git.mirrors.DragonOS.org.cn](https://git.mirrors.DragonOS.org.cn)
124
125## 开放源代码声明
126
127:::{note}
128为促进DragonOS项目的健康发展,DragonOS以GPLv2开源协议进行发布。所有能获得到DragonOS源代码以及相应的软件制品(包括但不限于二进制副本、文档)的人,都能享有我们通过GPLv2协议授予您的权利,同时您也需要遵守协议中规定的义务。
129
130这是一个相当严格的,保护开源软件健康发展,不被侵占的协议。
131
132对于大部分的善意的人们而言,您不会违反我们的开源协议。
133
134我们鼓励DragonOS的自由传播、推广,但是请确保所有行为没有侵犯他人的合法权益,也没有违反GPLv2协议。
135
136请特别注意,对于违反开源协议的,尤其是**商业闭源使用以及任何剽窃、学术不端行为将会受到严肃的追责**。(这是最容易违反我们的开源协议的场景)。
137
138并且,请注意,按照GPLv2协议的要求,基于DragonOS修改或二次开发的软件,必须同样采用GPLv2协议开源,并标明其基于DragonOS进行了修改。亦需保证这些修改版本的用户能方便的获取到DragonOS的原始版本。
139
140您必须使得DragonOS的开发者们,能够以同样的方式,从公开渠道获取到您二次开发的版本的源代码,否则您将违反GPLv2协议。
141
142关于协议详细内容,还敬请您请阅读项目根目录下的**LICENSE**文件。请注意,按照GPLv2协议的要求,**只有英文原版才具有法律效力**。任何翻译版本都仅供参考。
143:::
144
145### 开源软件使用情况
146
147&emsp;&emsp;DragonOS在开发的过程中,参考了Linux社区的一些设计,或者引入了他们的部分思想,亦或是受到了他们的启发。我们在这里对Linux社区以及Linux社区的贡献者们致以最衷心的感谢!
148
149## 当前版本的所有提交记录
150
151```text
152commit af59116e1b8643862598607dbc6ef7233f3791b5
153Author: MemoryShore <105195940+MemoryShore@users.noreply.github.com>
154Date:   Tue Mar 12 17:52:14 2024 +0800
155
156    Update NovaShell version to c6454d3220 (#593)
157
158commit 59fdb447ee4f7b53b1d9c56ec1442aa8c597ac2b
159Author: LoGin <longjin@DragonOS.org>
160Date:   Tue Mar 12 16:32:33 2024 +0800
161
162    fix: 键盘中断上下文不再直接操作tty,而是由专门的kthread来渲染 (#592)
163
164    fix: 键盘中断上下文不再直接操作tty,而是由专门的kthread来渲染
165    1.修正psmouse 日志
166    2. 键盘中断上下文不再直接操作tty,而是由专门的kthread来渲染
167    3. 由于调度器设计问题,load balance会由于时序问题导致错误.因此暂时只启用单核.
168
169commit 818a64c77613a9c2152739f1cddad78d61e4a94f
170Author: LoGin <longjin@DragonOS.org>
171Date:   Tue Mar 12 15:33:01 2024 +0800
172
173    暂时禁用load balance (#591)
174
175    原因见issue: https://github.com/DragonOS-Community/DragonOS/issues/571
176
177commit 4374bd1d1177dbf94112aee3ea3f8e8c335a599c
178Author: GnoCiYeH <heyicong@dragonos.org>
179Date:   Mon Mar 11 19:40:52 2024 +0800
180
181    修复get_random一个问题,添加Held配置文件 (#583)
182
183commit 52bcb59e9286def2b66d766f6bf6f46745795ec8
184Author: GnoCiYeH <heyicong@dragonos.org>
185Date:   Mon Mar 11 15:13:37 2024 +0800
186
187    完善Tty的RawMode (#577)
188
189    * 完善rowmode,改掉一部分bug
190
191    * 增加两个ansi拓展功能功能,以及标记部分函数nerve inline
192
193    * 修改do_signal和其他中断上下文锁未关中断,以及拓展tty功能,修改tty几个算法bug
194
195    * 修改两个锁
196
197    * 修改syscall_64
198
199    * update
200
201commit 840045af94ea3391f29e87e968db5d9c48316981
202Author: LoGin <longjin@DragonOS.org>
203Date:   Sun Mar 10 21:45:34 2024 +0800
204
205    引入clippy,并根据clippy的提示,修改部分代码 (#575)
206
207commit f4a82aa55c55e1a9233e99a5598e180f0858d877
208Author: LoGin <longjin@DragonOS.org>
209Date:   Sun Mar 10 20:42:41 2024 +0800
210
211    Update Novashell version to 473d5c403c (#574)
212
213    - fix: 用户输入不正确的;以及单独输入单引号和双引号造成系统重启
214    - 修改命令解析算法
215    - fix: 输出多余的光标和命令信息
216
217commit 4f8f484930ed3c09ecf4b5b05b1dea14f7b05d8b
218Author: 栗子 <im.lechain@gmail.com>
219Date:   Sat Mar 9 21:20:12 2024 +0800
220
221    修复Archlinux下的bootstrap脚本问题, (#552)
222
223    * 修复Archlinux下的bootstrap脚本问题,
224
225    由于archlinux 的 texinfo版本太新导致的gcc docs构建失败
226    使用 MAKEINFO=true 的make环境变量跳过gcc docs构建,绕过问题
227
228
229    ---------
230
231    Co-authored-by: longjin <longjin@dragonos.org>
232
233commit 3055390c25bb7b12279df174689ba09ec50c7d46
234Author: Jomo <xuzihao@dragonos.org>
235Date:   Sat Mar 9 11:40:44 2024 +0800
236
237    完善重映射过程中获取新映射区域时的map_flags (#569)
238
239commit 5c4224e5a8244cb0fb32512e70354362fccd6321
240Author: LoGin <longjin@DragonOS.org>
241Date:   Fri Mar 8 23:23:06 2024 +0800
242
243    在riscv上实现异常处理,能够进入异常处理程序 (#564)
244
245commit c3dc6f2ff9169c309d1cbf47dcb9e4528d509b2f
246Author: LoGin <longjin@DragonOS.org>
247Date:   Fri Mar 8 23:22:48 2024 +0800
248
249    删除一些过时的C代码 (#565)
250
251    * 删除C版本的crc库
252
253    * 删除lockref
254
255    * 删除过时的libc文档以及wait.c
256
257    * 删除过时的C版本kfifo代码及文档
258
259    * 移除未用到的lz4库
260
261    * 删除内核的stdlib.c
262
263    * 删除fabs.c
264
265    * fmt
266
267    * 使得put_string系统调用能够通过tty输出颜色
268    暂且这样改,这一部分应该是用户层面提供的功能,后续删除
269
270    ---------
271
272    Co-authored-by: GnoCiYeH <heyicong@dragonos.org>
273
274commit 5eeefb8c80e5580641d295724f8d2190bd54979c
275Author: Chenzx <109664121+schulice@users.noreply.github.com>
276Date:   Fri Mar 8 16:01:22 2024 +0800
277
278    实现SYS_RMDIR (#566)
279
280    * 实现rmdir系统调用,整理do_remove_dir逻辑
281
282commit 338f6903262c5031abad3c8e361813355a27fcdb
283Author: LoGin <longjin@DragonOS.org>
284Date:   Tue Mar 5 17:22:04 2024 +0800
285
286    `riscv`: 初始化irq (#560)
287
288    完成riscv的irqchip初始化的代码。
289
290    这是该功能的第一个PR。由于还需要实现timer驱动才能测试,因此该功能将会通过2~3个PR来完成。
291
292commit bc6f0a967c8cb1e9379ced184b25a7722fbda2a4
293Author: 裕依 <68320855+yuyi2439@users.noreply.github.com>
294Date:   Mon Mar 4 14:20:01 2024 +0800
295
296    移除relibc和old libc以及旧的shell (#529)
297
298    移除relibc和old libc以及旧的shell
299
300commit f3b05a97ec061e766247b18dc12e2a413b977b14
301Author: GnoCiYeH <heyicong@dragonos.org>
302Date:   Mon Mar 4 14:10:26 2024 +0800
303
304    将tty输出接入串口 (#555)
305
306commit cf45dede2e46d9341cec75871fdc1bc5961ba5a2
307Author: MContour <m-contour@qq.com>
308Date:   Sun Mar 3 17:20:11 2024 +0800
309
310    让 DragonOS 仓库管理 service 文件 (#548)
311
312    * feat: create `user/services` folder to store service files
313
314commit e28411791f090c421fe4b6fa5956fb1bd362a8d9
315Author: LoGin <longjin@DragonOS.org>
316Date:   Sun Mar 3 16:31:08 2024 +0800
317
318    完成中断管理模块重构 (#554)
319
320    - 支持中断共享
321    - 把现有驱动程序移植到新的irq模块
322    - 使用`ProcessorId`标识处理器id
323    - 尚未实现threaded_irq
324
325    性能上,edge irq flow handler里面,对于锁的使用,可能有点问题。为了获取/修改common data还有其他几个结构体的状态,进行了多次加锁和放锁,导致性能降低。这是接下来需要优化的点。
326
327commit 44d051e5864adff6f4ace8a234ef57852840f365
328Author: Donkey Kane <109840258+xiaolin2004@users.noreply.github.com>
329Date:   Sun Mar 3 15:22:45 2024 +0800
330
331    Modify dadk config to switch NovaShell revision (#550)
332
333commit 0e7c46939604a02e739546200bea847f4951a963
334Author: GnoCiYeH <heyicong@dragonos.org>
335Date:   Fri Mar 1 15:07:00 2024 +0800
336
337    修改事件等待队列对于retain使用方法出错导致唤醒错误 (#551)
338
339commit be60c929c8285d3050e022aa23312a84129e54b2
340Author: GnoCiYeH <heyicong@dragonos.org>
341Date:   Wed Feb 28 20:18:49 2024 +0800
342
343    修改tty几个bug (#549)
344
345    * 更改ioctl一处逻辑错误
346
347    * 删除不必要的impl
348
349    * 修改一处bug,并且加入tty的link,为pty做准备
350
351    * 修改一处因为vc的pos和x计算错误导致的溢出
352
353commit 52da9a59374752b4d01907b052135a0d317781dd
354Author: GnoCiYeH <heyicong@dragonos.org>
355Date:   Mon Feb 26 15:27:19 2024 +0800
356
357    完成与Linux兼容的Ntty (#517)
358
359    * 已经完成的功能:
360    - 写:printf能够正常在tty输出
361    - 读:与键盘驱动接上
362    - 信号: 能够正常通过ctrl向前台进程发送信号
363
364    * 支持目前的shell,改动printk使其与新版tty兼容。
365
366    * 删除原有tty文件夹,并更改新tty文件名
367
368    * 添加clear清屏程序
369
370    * 实现tty部分ioctl,更改部分问题
371
372commit 9993c0fc61e9603f631bd6748ff0b4fecb7bd483
373Author: R0ronoa <84278015+2447742618@users.noreply.github.com>
374Date:   Mon Feb 26 15:03:13 2024 +0800
375
376    添加i8042驱动 改正serio设备文件结构 (#538)
377
378    * 添加i8042驱动 改正serio设备文件结构
379
380commit d2b28acb4d1f160779b25d76afca49ed60ad5d48
381Author: 栗子 <im.lechain@gmail.com>
382Date:   Sun Feb 25 19:57:30 2024 +0800
383
384    tools/bootstrap.sh: fix archlinux and zsh issue (#535)
385
386    1. archlinux上没有libssl-dev包,相对应的包名是openssl
387    2. zsh用户使用bootstrap.sh 会因为 source ~/.zshrc
388       导致bash执行很多zsh built-in 指令出现非常多错误
389    3. mkdir命令加-p选项避免对象目录存在时(反复执行脚本)报错
390    4. 修复简单错误(typo gcc 为 binutils)
391    5. 修复bootstrap.sh等脚本无法在非tools/目录执行的错误
392
393commit 7d66c3134c1c5566ac8f8b7524e98650d0480a4a
394Author: LoGin <longjin@DragonOS.org>
395Date:   Mon Feb 19 21:40:37 2024 +0800
396
397    添加简单的cpumask (#533)
398
399commit b2ca6800f9d943e5d3656d9b50a099da768775a7
400Author: LoGin <longjin@DragonOS.org>
401Date:   Mon Feb 19 19:50:03 2024 +0800
402
403    添加动态申请的bitmap (#532)
404
405commit 0e2c2e8b48369b201f44e0933f775b932b6776ef
406Author: 裕依 <68320855+yuyi2439@users.noreply.github.com>
407Date:   Mon Feb 19 19:31:17 2024 +0800
408
409    修正systemerror号 (#527)
410
411    修正systemerror号
412
413commit 4cfa009b87c8431a41fab740ffdbd7b008965c9a
414Author: Jomo <xuzihao@dragonos.org>
415Date:   Mon Feb 19 14:54:11 2024 +0800
416
417    实现mremap系统调用 (#518)
418
419    * mremap系统调用
420
421commit 27b967a38a6dd7a266c43b5e705c29dfbbd71ae4
422Author: 裕依 <68320855+yuyi2439@users.noreply.github.com>
423Date:   Mon Feb 19 14:53:34 2024 +0800
424
425    添加pread&pwrite (#528)
426
427    添加pread&pwrite
428
429commit 701589559f912deb03eb5176d049d9d07fb29447
430Author: LoGin <longjin@DragonOS.org>
431Date:   Mon Feb 19 11:17:23 2024 +0800
432
433    删除无用的C版本bitree和ida/idr. (#526)
434
435    这些数据结构不再使用,将其删除.
436
437commit 196b75dc17b5cc2ed84301bce776e496ddfe1ed1
438Author: LoGin <longjin@DragonOS.org>
439Date:   Mon Feb 19 00:56:58 2024 +0800
440
441    把irqdesc添加到sysfs (#525)
442
443    * 把irqdesc添加到sysfs
444
445commit 3bc96fa4a9c01d91cddeb152fe78d6408351c29f
446Author: LoGin <longjin@DragonOS.org>
447Date:   Mon Feb 19 00:36:36 2024 +0800
448
449    添加irqdesc的抽象,并在系统初始化时创建irqdesc (#522)
450
451    * 添加irqdesc的抽象,并在系统初始化时创建irqdesc
452
453commit ce5850adbf74ec6c6717bbb5b1749f1fbff4ca0d
454Author: LoGin <longjin@DragonOS.org>
455Date:   Sun Feb 18 20:41:41 2024 +0800
456
457    添加irqchip这一层的数据结构(尚未接入真实的芯片) (#520)
458
459    * 添加irqchip这一层的数据结构(尚未接入真实的芯片)
460
461commit ca318c376bd9e39f8fe71f304974f7e99e8e01f4
462Author: LoGin <longjin@DragonOS.org>
463Date:   Sat Feb 17 01:51:10 2024 +0800
464
465    update dragonreach to 3d99c3a9d9 (#519)
466
467commit 472f0b3931eadda2bbcc67889d612790f147190b
468Author: LoGin <longjin@DragonOS.org>
469Date:   Tue Feb 13 12:14:12 2024 +0800
470
471    update dragonreach to 40362c48d6 (#516)
472
473commit d90848514bea7efd5898f5824b98f1bf2e54de8d
474Author: Luo Jia / Zhouqi Jiang <luojia@hust.edu.cn>
475Date:   Sat Feb 10 23:20:50 2024 +0800
476
477    riscv: 更新sbi-rt至0.0.3版本 (#512)
478
479    先前使用git仓库链接的最新更新已发布至crates.io网站
480
481    Signed-off-by: Zhouqi Jiang <luojia@hust.edu.cn>
482
483commit 4ad52e57e612a88ab09413c7ac0072db96a93632
484Author: 裕依2439 <68320855+yuyi2439@users.noreply.github.com>
485Date:   Wed Feb 7 18:06:15 2024 +0800
486
487    添加socketpair (#505)
488
489    * 添加对socketpair系统调用的处理
490
491    ---------
492
493    Co-authored-by: LoGin <longjin@DragonOS.org>
494
495commit cb23beb255d8e32b45d879ac19386a3597ca4115
496Author: LoGin <longjin@DragonOS.org>
497Date:   Wed Feb 7 17:15:17 2024 +0800
498
499    riscv: probe sbi extensions (#511)
500
501commit f2022a8a1cc4a8e2a85e9061e036e9c491a2fa00
502Author: LoGin <longjin@DragonOS.org>
503Date:   Wed Feb 7 13:29:47 2024 +0800
504
505    使用rust编写中断/异常的入口 (#509)
506
507    * 使用rust编写中断/异常的入口
508
509commit d14e28a8a9b023ee8df7c2e8eee43e523134dbb2
510Author: Luo Jia / Zhouqi Jiang <me@luojia.cc>
511Date:   Wed Feb 7 11:38:15 2024 +0800
512
513    riscv: 使用sbi-rt库完成SBI操作 (#510)
514
515    未来的其它SBI操作也将使用sbi-rt
516
517    Signed-off-by: Zhouqi Jiang <luojia@hust.edu.cn>
518
519commit fccbe87dcae0f8e8fde611ef60b1f7923126d526
520Author: LoGin <longjin@DragonOS.org>
521Date:   Mon Feb 5 14:50:15 2024 +0800
522
523    删除关于zulip的表述,替换为社区论坛 (#508)
524
525commit 5b59005f930266d0e9c0092373e894826150f862
526Author: LoGin <longjin@DragonOS.org>
527Date:   Sun Feb 4 15:46:24 2024 +0800
528
529    x86_64: 使用Rust重写内核初始化代码 (#507)
530
531    * x86_64: 使用Rust重写内核初始化代码
532
533commit 453452cc02e2766a28d87dd47bdee37caddc4c44
534Author: LoGin <longjin@DragonOS.org>
535Date:   Sun Feb 4 14:35:18 2024 +0800
536
537    初始化riscv的内存管理模块,并且设置保留内存 (#506)
538
539commit a02ce654cf0166720f8569827d0c5b2dfd0ca95a
540Author: Chiichen <chiichen@qq.com>
541Date:   Sun Jan 28 20:29:01 2024 +0800
542
543    支持对动态链接文件的加载,支持通过musl工具链编写用户空间程序 (#504)
544
545    支持对动态链接文件的加载,支持通过musl工具链编写用户空间程序
546
547commit 5d549a76ab0cf66651a6614be92dcb481fe7af2a
548Author: Chiichen <chiichen@qq.com>
549Date:   Fri Jan 26 20:45:08 2024 +0800
550
551    修改一处常量定义 (#503)
552
553    * 修改一处常量定义
554
555    * 修复ELF加载程序对用户程序加载地址判断不正确的地方
556
557    ---------
558
559    Co-authored-by: longjin <longjin@DragonOS.org>
560
561commit 9284987850c1da2ce607a539eeae8a353a8f6df9
562Author: LoGin <longjin@DragonOS.org>
563Date:   Fri Jan 26 18:08:39 2024 +0800
564
565    riscv: 完成UEFI初始化,能正确设置memblock的信息 (#501)
566
567    * riscv: 完成UEFI初始化,能正确设置memblock的信息
568
569    * sbi增加reset功能
570
571    * 把虚拟CPU修改为sifive-u54,使qemu能更正确地模拟硬件行为
572
573    * 修复内存页面映射未设置“DIRTY”、”ACCESSED“、”GLOBAL“位,导致真机page fault的问题
574
575commit a381e482cbe742b2e4bbeaacae134a8131bf3f91
576Author: R0ronoa <84278015+2447742618@users.noreply.github.com>
577Date:   Wed Jan 24 19:17:22 2024 +0800
578
579    实现Ps/2鼠标驱动 (#500)
580
581    实现Ps/2鼠标驱动
582
583commit 8d72b68da9339ec97e1b8929bcf2946f0fd83cd5
584Author: Jomo <xuzihao@dragonos.org>
585Date:   Wed Jan 24 16:13:15 2024 +0800
586
587    实现内核日志系统 (#489)
588
589    * 实现写日志和读取日志,并且能够在用户态下执行dmesg命令查看日志
590
591    * 通过klogctl实现dmesg
592
593    * 改用ConstGenericRingBuffer作内核缓冲区
594
595    * 更改缓冲区容量
596
597    * 将能够输出到控制台的日志级别改为日志级别枚举类,使用SpinLock控制KMSG,使用枚举类定义SYSLOG_ACTION,将do_syslog系统调用接口放在syscall.rs
598
599    * fix warning
600
601    * 完善do_syslog注释
602
603    * 将KMSG接入kinfo、kdebug等
604
605    * fix warning
606
607    * 修复显示的秒数不正确,·以及无法通过CI的问题
608
609commit d46c6d27941a26de14f55a2bbf956219bcc70871
610Author: 裕依2439 <68320855+yuyi2439@users.noreply.github.com>
611Date:   Tue Jan 23 23:36:52 2024 +0800
612
613    修复tty的buf满时始终阻塞的问题 (#493)
614
615    * 修复tty的buf满时始终阻塞的问题
616
617commit 43ef2a0d2b6ec427f6775cd4593c56897dd5bf6d
618Author: LoGin <longjin@DragonOS.org>
619Date:   Sun Jan 21 18:45:07 2024 +0800
620
621    添加riscv64的github workflow (#499)
622
623    * 添加riscv64的github workflow
624
625commit 7a29d4fcbcd89a226289c7bf541c2c78623de3ad
626Author: LoGin <longjin@DragonOS.org>
627Date:   Sun Jan 21 15:38:12 2024 +0800
628
629    riscv64: 映射uefi systemtable,并完善了riscv64页表填写的部分内容 (#498)
630
631    * 从fdt的chosen段获取几个需要的字段
632
633    * merge patch-early-ioremap
634
635    * feature: 增加early io remap的fixmap功能
636
637    允许在内存管理初始化之前,使用fixmap功能,映射一些物理内存,并记录.
638
639    * riscv64: 映射uefi systemtable,并完善了riscv64页表填写的部分内容
640
641    * 更新仓库网址
642
643commit 3e3c6316aaac5a8a2932bd1746ec8b900dc5e2c6
644Author: Chiichen <chiichen@qq.com>
645Date:   Sun Jan 21 01:38:45 2024 +0800
646
647    fix: 修复了ps2和tty初始化顺序的错误 (#497)
648
649    * 修复了ps2和tty初始化顺序的错误
650
651commit 74ffde667e5e7f4ac8ce6d5a5ec2c1403f36cbb0
652Author: LoGin <longjin@DragonOS.org>
653Date:   Sun Jan 21 01:21:55 2024 +0800
654
655    feature: 增加early io remap的fixmap功能 (#495)
656
657    允许在内存管理初始化之前,使用fixmap功能,映射一些物理内存,并记录.
658
659commit 1f58c8f5cff8e82441b66789c3dc7c009d52f29a
660Author: LoGin <longjin@DragonOS.org>
661Date:   Thu Jan 18 22:39:58 2024 +0800
662
663    Update mini-backtrace版本到e0b1d90940 (#494)
664
665    内容:
666
667    [https://github.com/DragonOS-Community/mini-backtrace/pull/1](https://github.com/DragonOS-Community/mini-backtrace/pull/1)
668
669    Co-authored-by: Yao Zhao <dragonlinux@gmail.com>
670
671commit c75ef4e2126c180bf04c08635ffa5a278619c035
672Author: LoGin <longjin@DragonOS.org>
673Date:   Thu Jan 18 00:09:36 2024 +0800
674
675    添加early ioremap支持 (#492)
676
677    * 使用early io remap来映射早期的vesa缓冲区
678
679commit d8e29bffeee4fe4fe76ead3c761dd03f5395e6c2
680Author: R0ronoa <84278015+2447742618@users.noreply.github.com>
681Date:   Wed Jan 17 23:57:49 2024 +0800
682
683    增加serio总线和相关trait (#488)
684
685    * 新增serio总线和相关trait
686
687    * 补充SerioDeviceManager和SerioDriverManager
688
689commit 6994f6b113f6fea7b997ec07130a7bdaecfd67b7
690Author: LoGin <longjin@DragonOS.org>
691Date:   Mon Jan 15 18:13:22 2024 +0800
692
693    完成bitmap的static bitmap功能,能够静态声明bitmap (#490)
694
695    * 完成bitmap的static bitmap功能,能够静态声明bitmap
696
697commit dcf232f378b36fad754799fc121a70cadc8d5cb3
698Author: LoGin <longjin@DragonOS.org>
699Date:   Sun Jan 14 17:00:42 2024 +0800
700
701    当找不到内核日志缓冲区的时候,重试 (#491)
702
703commit 45626c859f95054b76d8b59afcbd24c6b235026f
704Author: LoGin <longjin@DragonOS.org>
705Date:   Wed Jan 3 18:00:47 2024 +0800
706
707    riscv: 解析dtb,获取可用内存空间并添加到memblock (#486)
708
709commit 02343d0b5b47c07e7f4ec3818940795b1009fae1
710Author: LoGin <longjin@DragonOS.org>
711Date:   Tue Jan 2 14:16:10 2024 +0800
712
713    增加/dev/fb0,能够在用户程序读写帧缓冲区 (#485)
714
715commit e7071df6a47c100381a8bc2000022e82d422361a
716Author: LoGin <longjin@DragonOS.org>
717Date:   Mon Jan 1 11:53:49 2024 +0800
718
719opengrok.ringotek.cn替换为code.dragonos.org.cn (#484)
720
721commit c566df451ce6dbf2af684333e68b39fdfff86498
722Author: LoGin <longjin@DragonOS.org>
723Date:   Mon Jan 1 11:46:51 2024 +0800
724
725    添加帧缓冲区抽象并实现vesafb的驱动 (#483)
726
727    - 添加bootparams对象
728    - 修正由于bus的driver、device强弱引用关系 不正确从而导致对象被释放的bug
729    - 添加vesafb的驱动
730    - 实现framebuffer抽象层
731    - 为通用帧缓冲区抽象实现sysfs的属性
732    - 修改设备号DeviceNumber的定义
733    - 仿照linux,添加initcall,并在第一个内核线程中,调用他们。
734
735commit e3eb08d4d7148d6dad369e2ef27979d1bcf85bd6
736Author: LoGin <longjin@DragonOS.org>
737Date:   Sat Dec 30 16:23:26 2023 +0800
738
739    fix: 修复安装musl-gcc的脚本没能正确设置x86_64下的环境变量的问题 (#482)
740
741commit 81294aa2e6b257f0de5e3c28c3f3c89798330836
742Author: LoGin <longjin@DragonOS.org>
743Date:   Wed Dec 27 20:32:25 2023 +0800
744
745    fix: 修正bootstrap脚本安装docker后会使得当前终端进入root的问题 (#481)
746
747commit cfd642e2835eded086b6e944427e4a88f03e2fff
748Author: MemoryShore <105195940+MemoryShore@users.noreply.github.com>
749Date:   Wed Dec 27 15:07:01 2023 +0800
750
751    更新nova shell的revision为64ad1b282a (#477)
752
753    - 修复tab补全时始终基于根目录的问题
754    - 修复touch命令提示已存在文件的bug
755
756commit 5e948c56506aa0554d212341a7630587d55ebb87
757Author: GnoCiYeH <heyicong@dragonos.org>
758Date:   Wed Dec 27 15:02:29 2023 +0800
759
760    修正pipe逻辑,将pipe接入epoll。 (#478)
761
762commit 0d6cf65aa124ee55bfee44cbb5196917ea6522fa
763Author: LoGin <longjin@DragonOS.org>
764Date:   Wed Dec 27 14:27:12 2023 +0800
765
766    Patch fix sched and net lockdep error (#479)
767
768    - fix: 修复调度器,软中断,定时器,网络子系统的部分锁的使用不符合锁依赖安全规范的问题
769    - fix: 修复创建pcb时内核栈爆栈的问题
770    - 把异常的trap gate改成intr gate
771
772    ---------
773
774    Co-authored-by: GnoCiYeH <heyicong@dragonos.org>
775
776commit 91e9d4ab55ef960f57a1b6287bc523ca4341f67a
777Author: LoGin <longjin@DragonOS.org>
778Date:   Mon Dec 25 23:12:27 2023 +0800
779
780    实现unified-init库,支持收集初始化函数到一个数组,并统一初始化 (#474)
781
782    * 添加“统一初始化”的过程宏,并把SystemError独立成crate
783
784    * 使用unified-init来初始化fbmem
785
786    * 更新workflow,增加内核自动化静态测试
787
788commit f110d330d5493f383067b4e82ebbfb72f40457b2
789Author: LoGin <longjin@DragonOS.org>
790Date:   Mon Dec 25 21:54:00 2023 +0800
791
792    修复bootstrap在安装riscv gcc依赖时出现冲突的问题 (#476)
793
794commit 406099704eb939ae23b18f0cfb3ed36c534c1c84
795Author: GnoCiYeH <heyicong@dragonos.org>
796Date:   Mon Dec 25 18:08:12 2023 +0800
797
798    增加epoll机制 (#455)
799
800    * ## 增加epoll机制
801    - 增加epoll机制
802    - 添加事件等待队列,提升socket性能
803    - 优化poll,删除不能poll的文件系统中的poll方法
804
805    * 添加细节注释
806
807    * 修复文件关闭后epoll还持有对应描述符的文件弱引用的bug
808
809    * 将EPollEvent设计为POSIX标准
810
811    * 修改s到us转换的计算错误
812
813commit 070e991008b268b7103236a46b8651a983522869
814Author: R0ronoa <84278015+2447742618@users.noreply.github.com>
815Date:   Fri Dec 22 16:01:23 2023 +0800
816
817    解决由于Makefile问题导致make run-uefi无法正常启动的问题 (#473)
818
819commit 08a2ee408498b0db4c76c57b149f1cf047758f3c
820Author: LoGin <longjin@DragonOS.org>
821Date:   Wed Dec 20 17:24:05 2023 +0800
822
823    添加FrameBuffer的接口抽象&完善设备驱动模型的class相关代码 (#472)
824
825    * 添加FrameBuffer的接口抽象(参考Linux 6.1.9)
826
827    * feature: 完善设备驱动模型的class的抽象,并创建graphics class
828
829    * feature: 完善设备驱动模型中Device对class的处理,使得能够在class下注册设备
830
831    目前注册了fbcon设备,但是由于虚拟终端还没写,因此fbcon的到终端以及帧缓冲区的映射还没加上去.
832
833commit 8612b6ce7afc903999ccf0b65bd65019484d2fad
834Author: LoGin <longjin@DragonOS.org>
835Date:   Tue Dec 19 11:56:14 2023 +0800
836
837    bugfix: 修复无法sleep的问题以及进程处于block(true)状态时无法被信号唤醒&唤醒后不处理信号的问题 (#470)
838
839commit 24ff1faffb3d610cd55e3c658fd50ea0a0efedfb
840Author: LoGin <longjin@DragonOS.org>
841Date:   Mon Dec 18 17:44:53 2023 +0800
842
843    doc: 修改Rust代码注释风格文档 (#471)
844
845commit 111c5407ccb7774695c8047cf895481d3387fda9
846Author: LoGin <longjin@DragonOS.org>
847Date:   Sun Dec 17 21:08:03 2023 +0800
848
849    设置idle进程的时间片为0,降低调度延迟 (#469)
850
851commit 666cffedab3da9684e5abf5eebcbddae63590364
852Author: LoGin <longjin@DragonOS.org>
853Date:   Sat Dec 16 22:26:26 2023 +0800
854
855    riscv: 映射内核到指定的虚拟地址,使得kinfo能正常工作 (#468)
856
857    * riscv: 映射内核到指定的虚拟地址,使得kinfo能正常工作
858
859commit cf442324231632df3c3b0da3d2c8e19087863aa0
860Author: LoGin <longjin@DragonOS.org>
861Date:   Wed Dec 13 14:44:57 2023 +0800
862
863    修复x86下第二次编译的时候内核没有拷贝到磁盘的问题 (#467)
864
865commit 1a72a751b18cf5bbe7b5b9e91aff530de0c18501
866Author: LoGin <longjin@DragonOS.org>
867Date:   Thu Dec 7 02:13:22 2023 +0800
868
869    在riscv输出hello world (#466)
870
871    增加了以下内容:
872    - SBI驱动
873    - 把内核的rust工具链升级到2023-08-15版本
874    - 输出riscv的helloworld
875    - 设置内核是PIC的
876
877commit fca83acef4ba261453f7c71960eacf83d0cf51f4
878Author: LoGin <longjin@DragonOS.org>
879Date:   Mon Dec 4 22:10:10 2023 +0800
880
881    修复cache-toolchain.yml的格式问题 (#464)
882
883commit 6c7f966c2f3e3ed299168fc97ae346a85cc6e322
884Author: MemoryShore <105195940+MemoryShore@users.noreply.github.com>
885Date:   Mon Dec 4 22:07:30 2023 +0800
886
887    NovaShell替换为默认shell (#456)
888
889    * NovaShell替换为默认shell
890
891    * delete some envvar
892
893    * 自动从dragonos镜像站更新dadk
894
895    * 更新github ci环境
896
897    * 修复yml格式问题
898
899    * 更新novashell到95738b235f
900
901    ---------
902
903    Co-authored-by: longjin <longjin@DragonOS.org>
904
905commit 09d2bf52a6d048929a879748ae26e4fdea45e5d5
906Author: LoGin <longjin@DragonOS.org>
907Date:   Sun Dec 3 21:27:43 2023 +0800
908
909    update-dragon-stub-bf2617 (#463)
910
911commit af3543100543b9ac6159dc9f9367a76ff670b1f3
912Author: LoGin <longjin@DragonOS.org>
913Date:   Sun Dec 3 17:16:03 2023 +0800
914
915    使用submodule引入DragonStub (#462)
916
917    * 修正构建系统文档: 使用repo工具克隆代码
918
919    * 使用submodule管理
920
921commit 83ed0ebc293d5a10245089f627f52770fd5b9dd4
922Author: LoGin <longjin@DragonOS.org>
923Date:   Sun Dec 3 14:51:21 2023 +0800
924
925    修正构建系统文档: 使用repo工具克隆代码 (#461)
926
927commit 01090de77ef263b81edf449b77320d5fa28569de
928Author: LoGin <longjin@DragonOS.org>
929Date:   Sun Dec 3 14:40:13 2023 +0800
930
931    使用DragonStub引导riscv下的DragonOS内核 (#460)
932
933commit 4fda81ce81939d83b74c8042d6fb4223deff3685
934Author: LoGin <longjin@DragonOS.org>
935Date:   Sat Nov 25 12:07:39 2023 +0800
936
937    使得DragonOS kernel 能为riscv64编译通过(尚未能启动) (#457)
938
939    * 使得DragonOS kernel 能为riscv64编译通过(尚未能启动)
940
941    * 修正了系统调用号声明不正确的问题,同时添加了编译配置文档
942
943commit a1fd1cf1cbe6934221f95213ce02b21f21add225
944Author: LoGin <longjin@DragonOS.org>
945Date:   Thu Nov 23 21:12:16 2023 +0800
946
947    把tar的二进制镜像源更换为国内源 (#458)
948
949commit cc5feaf67b914ecf701abcba70c01da149755491
950Author: Jomo <2512364506@qq.com>
951Date:   Thu Nov 23 21:04:32 2023 +0800
952
953    bugfix: 修复因rsdp v1 v2版本问题,导致ACPI无法正常初始化的bug (#454)
954
955    bugfix: 修复因rsdp v1 v2版本问题,导致ACPI无法正常初始化的bug
956
957commit c89d0c12377cd406a9b7465d7c087aeb9faefa51
958Author: LoGin <longjin@DragonOS.org>
959Date:   Tue Nov 21 20:24:43 2023 +0800
960
961    修复bootstrap的一系列脚本忘了source最新的shell rc的问题 (#453)
962
963commit c75089286e9d49cef8d039446bf570c1bd4d2550
964Author: LoGin <longjin@DragonOS.org>
965Date:   Tue Nov 21 13:42:18 2023 +0800
966
967    调整脚本,使得能够创建riscv的磁盘镜像,并引导进入riscv下的grub (#450)
968
969    * 安装musl toolchain以及riscv相关的工具链
970
971    * 调整脚本,使得能够创建riscv的磁盘镜像,并引导进入riscv下的grub
972
973    ```shell
974    export ARCH=riscv64
975    make write_diskimage
976    make qemu
977    ```
978
979    即可在serial_opt.txt看到进入grub的提示信息
980
981commit 48a3baa9b1d24dd1fc037cd9961945708c5c9b71
982Author: LoGin <longjin@DragonOS.org>
983Date:   Tue Nov 21 13:42:06 2023 +0800
984
985    安装musl toolchain以及riscv相关的工具链 (#449)
986
987commit 84e7f7100664123d8ebc6b0f983c96242d15c396
988Author: LoGin <longjin@DragonOS.org>
989Date:   Mon Nov 20 15:51:41 2023 +0800
990
991    添加赞助商雅安数字经济运营有限公司的信息到readme (#451)
992
993commit 99dbf38d2e279ea70e9e186753fd37001dbb749f
994Author: LoGin <longjin@DragonOS.org>
995Date:   Sun Nov 19 11:42:53 2023 +0800
996
997    bugfix: 当物理机具有多个memory area的时候,无法正确使用这些区域的问题.以及在内核代码处出现内存空洞而导致无法正常运行的问题. (#448)
998
999    * bugfix: 当物理机具有多个memory area的时候,无法正确使用这些区域的问题.以及在内核代码处出现内存空洞而导致无法正常运行的问题.
1000
1001    解决方案:
1002    1. 分区域把空闲页添加到buddy
1003    2. 将内核链接到16M的位置,以避免uefi带来的内存空洞.
1004
1005    这个值是因为我看到linux的救援内核也是在16M的地址,因此猜测厂商不会使用这块内存.
1006    尽管uefi规范讲的是固件可以采用任何地址,内核需要使用内核重定位技术去避免遇到内存空洞,但我没有这么做.
1007
1008commit 46e234aef65c081393fb7652e0ad2bae26786ce4
1009Author: LoGin <longjin@DragonOS.org>
1010Date:   Fri Nov 17 21:25:15 2023 +0800
1011
1012    使用cargo管理一些C文件的编译,并且移动部分汇编到arch目录 (#447)
1013
1014    * 使用cargo管理main.c的编译
1015
1016    * 使用build-scripts编译架构相关的c代码
1017
1018    * 删除elf.h
1019
1020commit e4600f7f7d8f2295dbf970812ab1fcab81eb6eae
1021Author: Jomo <2512364506@qq.com>
1022Date:   Fri Nov 17 21:23:01 2023 +0800
1023
1024    Kconfig (#432)
1025
1026    * 内核编译配置
1027
1028    * 将kernel.config的解析代码搬入crate
1029
1030    * 将设置feature函数放入CargoHandler中
1031
1032commit 11f78b73e7b18ef04e05e63612f8027eda0740e7
1033Author: LoGin <longjin@DragonOS.org>
1034Date:   Fri Nov 17 20:05:57 2023 +0800
1035
1036    使用kernel-build脚本来编译所有的asm文件 (#445)
1037
1038commit e4fb6c9754e535861a5e67db29fb6e8c2e9c8469
1039Author: LoGin <longjin@DragonOS.org>
1040Date:   Fri Nov 17 12:26:10 2023 +0800
1041
1042    美化readme (#446)
1043
1044    * 美化readme
1045
1046commit e26ca418df7af685226d12d7f22fe1785ba163e4
1047Author: LoGin <longjin@DragonOS.org>
1048Date:   Fri Nov 17 11:26:26 2023 +0800
1049
1050    把内核构建脚本单独独立成一个crate (#444)
1051
1052commit a0c98cd4df88474f2efd927930862df50e016b73
1053Author: Jomo <xuzihao@dragonos.org>
1054Date:   Thu Nov 16 21:37:04 2023 +0800
1055
1056    解决textui framework初始化成功后串口无法正常换行 (#443)
1057
1058commit edaf015400f83967c2fc940f07be0dbb5792246f
1059Author: LoGin <longjin@DragonOS.org>
1060Date:   Wed Nov 15 17:17:56 2023 +0800
1061
1062    默认安装gnu tar到dragonos的/usr/bin目录下 (#442)
1063
1064commit 0fb515b011967be01006cf88d788793dbbce2967
1065Author: LoGin <longjin@DragonOS.org>
1066Date:   Wed Nov 15 15:39:35 2023 +0800
1067
1068    完善pipe系统调用以及openat系统调用 (#441)
1069
1070commit bf4a48994a2b284ee34aa49a66b4dec1b6ebc07c
1071Author: LoGin <longjin@DragonOS.org>
1072Date:   Mon Nov 13 23:02:21 2023 +0800
1073
1074    新增系统调用,并对照linux-6.1.9改写sys_wait4 (#440)
1075
1076    * 1. 新增以下系统调用
1077                - SYS_LSTAT
1078                - SYS_READV
1079                - SYS_ACCESS
1080                - SYS_UNLINK
1081                - SYS_CHMOD
1082                - SYS_FCHMOD
1083                - SYS_UMASK
1084                - SYS_SYSINFO
1085                - SYS_CLOCK_GETTIME
1086                - SYS_FCHMODAT
1087                - SYS_FACCESSAT
1088
1089    2. 修改sys_wait4,使得其部分符合Linux的行为(还是有些地方不符合的,详情请对比linux-6.1.9的sys_wait4接口)
1090
1091commit 9b0abe6da72176086c3188e0599fda950562668f
1092Author: LoGin <longjin@DragonOS.org>
1093Date:   Sun Nov 12 21:23:48 2023 +0800
1094
1095    添加access、faccessat、faccessat2 (#439)
1096
1097commit 0d9b7d9240ef65c3e603a371db57a80d26a7b9dd
1098Author: LoGin <longjin@DragonOS.org>
1099Date:   Sun Nov 12 18:44:15 2023 +0800
1100
1101    添加prlimit64系统调用 (#438)
1102
1103    注意: 目前仅支持读取默认的rlimit值,尚不支持设置rlimit值.
1104
1105commit 4a2d7191a3a6208b72e1d163c0235f566720f79a
1106Author: LoGin <longjin@DragonOS.org>
1107Date:   Sun Nov 12 17:53:36 2023 +0800
1108
1109    bugfix: 解决shell在exec的时候传递的argv不正确的bug (#437)
1110
1111commit 709498cac1f2134b2a5e089366ee7136ee029369
1112Author: LoGin <longjin@DragonOS.org>
1113Date:   Sun Nov 12 17:40:45 2023 +0800
1114
1115    feat: sys_readlink && sys_readlinkat (#436)
1116
1117commit be8cdf4b8edcd9579572672411f4489039dea313
1118Author: LoGin <longjin@DragonOS.org>
1119Date:   Sun Nov 12 16:36:17 2023 +0800
1120
1121    增加getrusage,并把apic timer的频率调整为系统HZ (#435)
1122
1123commit 02e249f30bfe08b8a5cde1226ca0161f9e370927
1124Author: LoGin <longjin@DragonOS.org>
1125Date:   Sun Nov 12 14:11:33 2023 +0800
1126
1127    添加uid、gid的系统调用(暴力封装返回0) (#434)
1128
1129commit ea8ad4d42e52016fe581a2451165146f109dfd6e
1130Author: LoGin <longjin@DragonOS.org>
1131Date:   Sun Nov 12 13:40:17 2023 +0800
1132
1133    修正fork的时候没有正确拷贝vm holes的bug (#433)
1134
1135commit c47fe90440fb7c6c82953e28a4b9597b22924758
1136Author: LoGin <longjin@DragonOS.org>
1137Date:   Thu Nov 9 18:20:27 2023 +0800
1138
1139    增加accept4系统调用 (#431)
1140
1141commit 393f691574844544e76231379e4938e9046be7b9
1142Author: LoGin <longjin@DragonOS.org>
1143Date:   Thu Nov 9 16:48:45 2023 +0800
1144
1145    增加gettid以及线程组group leader相关的逻辑 (#430)
1146
1147    * 增加gettid以及线程组group leader相关的逻辑
1148
1149commit 0facf623d638816d7d01a700e19a52c3c16a8fa1
1150Author: LoGin <longjin@DragonOS.org>
1151Date:   Thu Nov 9 00:10:34 2023 +0800
1152
1153    修正文件open和写入的错误 (#429)
1154
1155    1. 修正文件open的时候可能错误的把inode清空的问题(如果当前inode是mknod创建的)
1156    2. 修正fat和block device中,对文件写入部分的错误问题
1157
1158commit 04babc3faba81997149ed11fda2ed03b4bbf4700
1159Author: MemoryShore <105195940+MemoryShore@users.noreply.github.com>
1160Date:   Wed Nov 8 21:42:51 2023 +0800
1161
1162    实现fat文件系统的truncate方法 (#428)
1163
1164commit df2f5051ac645f600f2aefcaff3a9608b2c0de3f
1165Author: LoGin <longjin@DragonOS.org>
1166Date:   Wed Nov 8 20:01:51 2023 +0800
1167
1168    添加read the docs yml文件 (#427)
1169
1170commit 5eaf536d5b81c234f9aea560e0c9d994fac3eb76
1171Author: LoGin <longjin@DragonOS.org>
1172Date:   Wed Nov 8 19:41:08 2023 +0800
1173
1174    添加初始化DragonOS的Rust-Musl工具链的脚本. (#426)
1175
1176commit 7b32f5080f42bcbf7d2421013f3ea53c776a063c
1177Author: LoGin <longjin@DragonOS.org>
1178Date:   Tue Nov 7 21:39:27 2023 +0800
1179
1180    增加内存分配日志监视器 (#424)
1181
1182    * 完成内存日志监视,并输出日志到文件
1183    * 修复进程退出后,procfs查看进程status文件会崩溃的问题
1184    * 修复signal唤醒进程的判断条件问题
1185
1186commit 70a4e5550a9fb49b537092287c3ddc36448c5b78
1187Author: LoGin <longjin@DragonOS.org>
1188Date:   Tue Nov 7 20:32:06 2023 +0800
1189
1190    使用rust重写了apic的驱动 (#425)
1191
1192    * 使用rust重写了apic的驱动。
1193
1194    * 修正signal和调度器的部分加锁逻辑,增加回退策略。
1195
1196    * 把pcb的flags字段替换为无锁的
1197
1198    * 使用cargo管理apic的编译
1199
1200    * 删除makefile中指定PIC的变量
1201
1202    ---------
1203
1204    Co-authored-by: Gou Ngai <ymd7823@outlook.com>
1205    Co-authored-by: 櫻井桃華 <89176634+TihayaKousaka@users.noreply.github.com>
1206
1207commit 4935c74f326cd4e0854959c0ec8ab1d726c05e41
1208Author: LoGin <longjin@DragonOS.org>
1209Date:   Mon Nov 6 17:27:05 2023 +0800
1210
1211    添加自定义的crc库(支持crc64) (#423)
1212
1213commit 1effcfe519c06f04303340281fe9f62096184a74
1214Author: GnoCiYeH <heyicong@dragonos.org>
1215Date:   Sun Nov 5 23:15:46 2023 +0800
1216
1217    修复readdir以及读磁盘时buf传错问题 (#422)
1218
1219    * 修复readdir以及读磁盘时buf传错问题
1220
1221    * fix potential memory problem
1222
1223    ---------
1224
1225    Co-authored-by: longjin <longjin@DragonOS.org>
1226
1227commit 1603395155fc166de0ac5f80369526e196526ed2
1228Author: GnoCiYeH <heyicong@dragonos.org>
1229Date:   Sat Nov 4 21:39:44 2023 +0800
1230
1231    支持syscall快速系统调用指令 (#417)
1232
1233    * 支持syscall快速系统调用指令
1234
1235    ---------
1236
1237    Co-authored-by: LoGin <longjin@DragonOS.org>
1238
1239commit 2f6f547ae05c19871138e558ba6943ff07f4c68c
1240Author: GnoCiYeH <heyicong@dragonos.org>
1241Date:   Sat Nov 4 21:35:25 2023 +0800
1242
1243    Patch fix sched (#419)
1244
1245    1.解决waitqueue sleep的时候,由于preempt count不为0,导致sched失败,从而导致该waitqueue下一次wakeup时,会把pcb多次加入调度队列的bug
1246    2.修复socket inode 的read和write方法里面没有使用no_preempt的问题
1247    3. 修复cpu0的内核栈由于脏数据导致new_idle的时候set pcb报错的问题
1248
1249    ---------
1250
1251    Co-authored-by: longjin <longjin@DragonOS.org>
1252
1253commit 8058ccb307bbaf06a5810af32bcba3e41ab9fb93
1254Author: LoGin <longjin@DragonOS.org>
1255Date:   Fri Nov 3 21:01:09 2023 +0800
1256
1257    修复bootstrap.sh未能自动更换gcc镜像源, 未能自动安装docker的问题 (#418)
1258
1259commit d470019b1e675a04473cbb3c3eeaf180c8665e6d
1260Author: LoGin <longjin@DragonOS.org>
1261Date:   Wed Nov 1 22:12:19 2023 +0800
1262
1263    patch add mini backtrace (#416)
1264
1265    * support rust panic backtrace
1266
1267    mini-backtrace has llvm's unwind cpp source to support backtrace/unwind.
1268    as unwind/backtrace needs dynamically allocates memory, mini-backtrace
1269    uses stack memory to capture fixed number of backtrace to avoid heap
1270    allocation.
1271    as unwind library needed, it needs to turn on eh_frame_hdr
1272
1273    * 修改忘了生成kernel.elf的问题
1274
1275    * 设置backtrace是默认的feature
1276
1277    ---------
1278
1279    Co-authored-by: Yao Zhao <dragonlinux@gmail.com>
1280
1281commit 8b3d1688daac2aaf4e87403ecda5467a01464f81
1282Author: yuyi2439 <68320855+yuyi2439@users.noreply.github.com>
1283Date:   Wed Nov 1 21:11:55 2023 +0800
1284
1285    把pci驱动的读取acpi mcfg的代码,调整为从新的acpi驱动来读取 (#413)
1286
1287    * 把pci驱动的读取acpi mcfg的代码,调整为从新的acpi驱动来读取
1288
1289commit 971462be94ba0a5c74af7a5f9653dfabd4932a63
1290Author: GnoCiYeH <heyicong@dragonos.org>
1291Date:   Wed Nov 1 20:55:57 2023 +0800
1292
1293    添加thread和futex机制 (#411)
1294
1295    * 初步实现clone系统调用
1296
1297    * 实现了线程,初步实现futex机制,添加了几个小的系统调用
1298
1299    * 更改pcb引用计数问题
1300
1301    * 解决死锁bug
1302
1303    ---------
1304
1305    Co-authored-by: LoGin <longjin@DragonOS.org>
1306
1307commit 665f4a7707e33f3b4d2fde77113fa3d13b5b52c4
1308Author: Chiichen <39649411+Chiichen@users.noreply.github.com>
1309Date:   Wed Nov 1 14:18:00 2023 +0800
1310
1311    更新了使用clangd的.gitignore (#415)
1312
1313    Co-authored-by: chiichen <chiichen@qq.com>
1314
1315commit 77799ccaaca276fe127448d169f0e035837cce44
1316Author: Wu Mianzhi <31810920+Hdksg10@users.noreply.github.com>
1317Date:   Mon Oct 30 00:08:52 2023 +0800
1318
1319    完成e1000e驱动 (#393)
1320
1321    * 测试RESET
1322
1323    * 测试RESET
1324
1325    * 基于轮询的实现
1326
1327    * 规范化部分unsafe的使用
1328
1329    * 完成中断处理函数,同时去除了不必要的内存拷贝行为,准备编写napi机制
1330
1331    * 实现现有协议栈下的部分napi机制;修复了内存泄漏的问题;添加了一部分代码注释
1332
1333    * 去除部分无用代码
1334
1335    * 去除一些无用代码
1336
1337    * 适配新的驱动模型
1338
1339    * 完成msi中断测试
1340
1341    * 去除一些无用代码
1342
1343    * 格式化代码
1344
1345    * 增加了一些注释,提高代码可读性
1346
1347    * 去除无关文件
1348
1349    * 优化了读取mac地址的方式,提高可读性
1350
1351commit fbe6becd6dd3cd72643707e0088f20364ac1b166
1352Author: LoGin <longjin@DragonOS.org>
1353Date:   Thu Oct 26 23:08:39 2023 +0800
1354
1355    添加rust重构版本的HPET驱动和tsc驱动,并使用HPET校准tsc频率和cpu总线频率 (#412)
1356
1357    * 添加rust重构版本的HPET驱动和tsc驱动,并使用HPET校准tsc频率和cpu总线频率
1358
1359    * 把hpet.c移动到arch文件夹下
1360
1361commit ad1d649eddee4aa8ac81b2f44bc99da462a6a813
1362Author: GnoCiYeH <heyicong@dragonos.org>
1363Date:   Tue Oct 24 19:59:01 2023 +0800
1364
1365    更新系统调用号 (#410)
1366
1367    * 更新系统调用号
1368
1369    * 更改DragonReach和relibc版本
1370
1371    * update
1372
1373    * update
1374
1375    * fix warning
1376
1377    ---------
1378
1379    Co-authored-by: longjin <longjin@RinGoTek.cn>
1380
1381commit f4082b86b15989a1d43e62050c6ba9b363c91ece
1382Author: LoGin <longjin@DragonOS.org>
1383Date:   Tue Oct 24 16:40:49 2023 +0800
1384
1385    更改系统调用的寄存器传参顺序 (#409)
1386
1387commit 40314b30ab2a7e1fd06a05a00f693e644e446035
1388Author: Xiaoye Zheng <xiaoyez@zju.edu.cn>
1389Date:   Tue Oct 24 14:31:56 2023 +0800
1390
1391    DragonOS虚拟化 (#389)
1392
1393    * try some ioctl flow & kvm device
1394
1395    * add sys ioctl
1396
1397    * 删掉一些debug信息
1398
1399    * 修改run-qemu.sh脚本,在QEMU中enable vmx
1400
1401    * 修改cr0,cr4,msr寄存器enable VMX operations
1402
1403    * enable vmx operation
1404
1405    * allocate memory for vmcs with bug
1406
1407    * allocate memory for vmcs
1408
1409    * cpu virt-50%
1410
1411    * single vcpu virt
1412
1413    * add vmcs fields
1414
1415    * CPU virt overall flow with bug
1416
1417    * run vmlaunch success
1418
1419    * run CPU virt with bug
1420
1421    * 成功运行non-root模式的guest
1422
1423    * 成功运行vmexit,进入vmx_return函数
1424
1425    * 成功运行vmlaunch, vmexit, vmresume
1426
1427    * vmexit handler with bug
1428
1429    * 完成vmexit cpuid handler
1430
1431    * fix vmresume guest状态恢复的bug
1432
1433    * 增加vm ioctl
1434
1435    * refactor kvm 50%
1436
1437    * refactor kvm 80%
1438
1439    * FIXME: kvm vmlaunch failed
1440
1441    * vmlaunch success
1442
1443    * FIXME: output error
1444
1445    * update guest_rsp
1446
1447    * cpu virt refactor
1448
1449    * add mmu related struct
1450
1451    * add usermemory region workflow
1452
1453    * add mem-virt workflow
1454
1455    * add mem-virt
1456
1457    * refactor code
1458
1459    * add vcpu ioctl set_regs
1460
1461    * rename hypervisor to vm & solve some deadlock bugs
1462
1463    * workout mem pipeline
1464
1465    * fix vmcs control setting bugs
1466
1467    * refactor segment regs initialization
1468
1469    * resovle conficts
1470
1471    * resovle conficts
1472
1473    * format code
1474
1475commit 485e2487616b1d33776b63724d4abc1ae8f506e8
1476Author: LoGin <longjin@DragonOS.org>
1477Date:   Tue Oct 24 14:19:26 2023 +0800
1478
1479    修改脚本,只有当磁盘未安装Grub的时候,才执行grub-install. 节省编译时间 (#408)
1480
1481commit 46795849a29eef77fd6f7af548d05ee6e654c5bb
1482Author: LoGin <longjin@DragonOS.org>
1483Date:   Tue Oct 24 13:56:57 2023 +0800
1484
1485    修复bootstrap.sh安装顺序导致的问题 (#407)
1486
1487commit 3c82aa56d1b784ea7371100b3e906365be8332fd
1488Author: Chiichen <39649411+Chiichen@users.noreply.github.com>
1489Date:   Tue Oct 24 12:02:20 2023 +0800
1490
1491    Signal refactor (#402)
1492
1493    * 初步完成对 signal_types 和 部分signal代码的初始化
1494
1495    * 重构了一部分架构相关代码进入 arch 中
1496
1497    * 基本修改完成,编译通过,后续补上系统调用
1498
1499    * signal基本完成,能实现 Sigaction 系统调用
1500
1501    * 增加了一组枚举抽象
1502
1503    * 进一步重构了一部分C风格的代码
1504
1505    * 继续重构了一部分C风格代码
1506
1507    * 继续完善了一部分逻辑
1508
1509    * 修改了部分代码逻辑
1510
1511    * 补充了 fork 中复制信号信息的逻辑
1512
1513    * 修复了 kallsysms 未转义引号的问题
1514
1515    * 修复了无法跳转到 sigreturn 的bug
1516
1517    * 调通了 signal
1518
1519    * 实现了 signal 架构抽象层的 trait
1520
1521    * 为信号提供了默认处理函数
1522
1523    * 基本完成了 signal 的大体逻辑
1524
1525    * 修复了 Sigreturn 的一个小错误,格式化
1526
1527    * 修复了一个编译器漏报错误
1528
1529    * 删除了多余的代码
1530
1531    * 修改测试程序为链接 relibc
1532
1533    * 修复了信号处理过程中浮点寄存器错误保存的问题
1534
1535    * 修复了一个结构体错误引起的无法在relibc下正确运行的错误
1536
1537    * 修复了链接 relibc 时无法正常从信号处理返回的 bug
1538
1539    * 修复了 signal 处理流程中 rsp 指针错误导致的浮点运算触发GP
1540
1541    * 修复了一个死锁问题,解决了默认处理函数无法进入调度导致的bug
1542
1543    * 修复了一些错误
1544
1545    * 修改了 relibc 依赖版本号
1546
1547    * 删除了多余的 imports
1548
1549    * 删除一些debug日志
1550
1551    * 删除内核 signal.h 文件
1552
1553    * 删除一个依赖项
1554
1555    * 删除了 binding 相关依赖项
1556
1557commit d7f5742a206c6c25ed30009796eb8248429f0a1e
1558Author: LoGin <longjin@DragonOS.org>
1559Date:   Mon Oct 23 21:40:39 2023 +0800
1560
1561    初步编写cpu信息获取的代码 (#406)
1562
1563    1. 启动时从acpi获取所有的cpu信息并存到SMP_BOOT_DATA
1564    2. 注册cpu subsystem/bus到sysfs(暂时未添加内容)
1565
1566    todo:
1567    1. build_cpu_map(在X86_64SmpManager中)
1568    2. 实现cpu mask
1569    3. 把cpu设备注册到sysfs
1570
1571commit 7eda31b2f07c6ef41dc0d2bd13051f0fce5e5976
1572Author: LoGin <longjin@DragonOS.org>
1573Date:   Sun Oct 22 22:00:16 2023 +0800
1574
1575    在Sysfs中引入ACPI Firmware (#405)
1576
1577    - bugfix: multiboot2启动的信息因为没及时转存导致后面无法从其中进行查询的bug
1578    - feature: 把acpi表、acpi bus加入sysfs
1579
1580commit 01bd5258cf467326819c77584713fbc6ffe4fb32
1581Author: LoGin <longjin@DragonOS.org>
1582Date:   Sun Oct 22 12:22:41 2023 +0800
1583
1584    解决shell无法输入大写字母'P'的问题 (#404)
1585
1586commit a03c4f9dee5705207325c56629c0ccd219168f10
1587Author: LoGin <longjin@DragonOS.org>
1588Date:   Fri Oct 20 22:11:33 2023 +0800
1589
1590    设备驱动模型:完善platform bus相关内容。并注册串口到sysfs (#403)
1591
1592    * 完成初始化platform bus
1593    * 删除旧的sysfs
1594    * 把uart驱动移动到tty/serial文件夹下
1595    * 完成将串口挂载到sysfs
1596    * 修复vfs系统调用未能follow symlink的问题
1597    * 修复shell未能正确获取pwd的问题
1598
1599commit 06d5e247267cb65b84a80f219853ccd0f384b16e
1600Author: LoGin <longjin@DragonOS.org>
1601Date:   Wed Oct 11 00:53:15 2023 +0800
1602
1603    完善设备驱动模型,基于kset、kobj来维护对象之间的关系 (#401)
1604
1605    * 使用kobj和kset管理/sys文件夹下的对象
1606
1607    * 修改notifier,把action从u64换为泛型。
1608
1609    * 完善设备驱动模型,基于kset、kobj来维护对象之间的关系
1610
1611commit 6abb8bd7c0ee7746f0b6cf682a0c4d112a2ef6a3
1612Author: LoGin <longjin@DragonOS.org>
1613Date:   Mon Oct 9 01:55:58 2023 +0800
1614
1615    在github workflow的工具链配置文件里面添加rust-src组件 (#400)
1616
1617commit 9e9ffedfc59cd89f4cdbd7984abbb2ac19ea9575
1618Author: Plucky923 <107762234+Plucky923@users.noreply.github.com>
1619Date:   Mon Oct 9 01:11:14 2023 +0800
1620
1621    syscall: 完善syscall代码 (#387)
1622
1623    * syscall: 完善syscall代码
1624
1625    修改代码使这段代码可以使用语法糖。修改SYS_READ和SYS_WRITE的安全检查为userbuffer
1626
1627    Signed-off-by: plucky <m202372036@hust.edu.cn>
1628
1629    * syscall: 修改SYS_READ和SYS_WRITE的权限检查为userbuffer
1630
1631    Signed-off-by: plucky <m202372036@hust.edu.cn>
1632
1633    * syscall: 有不知道如何修改的错误
1634
1635    Signed-off-by: plucky <m202372036@hust.edu.cn>
1636
1637    * syscall: 修改SYS_READ和SYS_WRITE并编译通过
1638
1639    Signed-off-by: plucky <m202372036@hust.edu.cn>
1640
1641commit 865f4ba4cdce23b154844d6d297f75033f3dcf70
1642Author: GnoCiYeH <heyicong@dragonos.org>
1643Date:   Mon Oct 9 01:10:14 2023 +0800
1644
1645    修改shell执行exec时传参错误问题 (#399)
1646
1647    * 修改shell执行exec时传参错误问题
1648
1649commit b7b843beddea12cdedda90f6129b7c9980876112
1650Author: GnoCiYeH <heyicong@dragonos.org>
1651Date:   Mon Oct 9 00:58:08 2023 +0800
1652
1653    wait4系统调用支持options字段 (#398)
1654
1655commit 2dbef7859f0af395ccec348f17cf0b79ed56e003
1656Author: GnoCiYeH <heyicong@dragonos.org>
1657Date:   Mon Oct 9 00:28:08 2023 +0800
1658
1659    命名管道系统调用以及文件系统兼容特殊文件类型的接口 (#397)
1660
1661    * 修复pipe2在读端或写端关闭后还阻塞问题。
1662
1663    * 实现命名管道机制,增加特殊文件类型兼容普通文件系统的接口。
1664
1665    * 普通文件系统能够适配特殊文件(命名管道等)
1666
1667commit 34e6d6c80f36494088db3284f85d1a2c63aa18a8
1668Author: yuyi2439 <68320855+yuyi2439@users.noreply.github.com>
1669Date:   Sun Oct 8 14:26:17 2023 +0800
1670
1671    实现free指令+修复 mountfs的内存泄露问题(#394)
1672
1673    * 实现meminfo文件
1674
1675    * 成功实现free指令,添加了一些string有关函数,并进行一些无影响的小改动
1676
1677
1678    * 解决内存泄露的问题:mountfs inode的wrap方法使用了Arc::into_raw而没有from_raw,导致inode始终无法释放
1679
1680    ---------
1681
1682    Co-authored-by: LoGin <longjin@DragonOS.org>
1683    Co-authored-by: longjin <longjin@RinGoTek.cn>
1684
1685commit afc95d5c2541c27c762091ad38fdffabe355db5a
1686Author: YJwu2023 <yujianwu2019@gmail.com>
1687Date:   Tue Oct 3 12:09:29 2023 +0800
1688
1689    完善pci中断的设计 (#392)
1690
1691    * 完善pci中断的设计
1692
1693commit 876cb89ecf7c1bf1646bfc392efcbafacad2262f
1694Author: GnoCiYeH <heyicong@dragonos.org>
1695Date:   Tue Oct 3 12:03:34 2023 +0800
1696
1697    修复pipe2在读端或写端关闭后还阻塞问题 (#396)
1698
1699    * 修复pipe2在读端或写端关闭后还阻塞问题。
1700
1701    * update
1702
1703    * update
1704
1705    * 修改cloexec
1706
1707    ---------
1708
1709    Co-authored-by: longjin <longjin@RinGoTek.cn>
1710
1711commit fba5623183378da6b120caafca120615328efa2e
1712Author: LoGin <longjin@DragonOS.org>
1713Date:   Mon Oct 2 20:46:19 2023 +0800
1714
1715    引入intertrait库,支持trait之间的互相转换 (#395)
1716
1717    * 能过编译(test还没法跑)
1718
1719    * 初始化intertrait转换库
1720
1721    * update license of intertrait
1722
1723commit bb0e4d4131046a69bbccdc0cdf1d5db51a2c6126
1724Author: GnoCiYeH <heyicong@dragonos.org>
1725Date:   Sat Sep 30 16:36:06 2023 +0800
1726
1727    使用DragonReach启动shell,修改getdents (#391)
1728
1729    * 使用DragonReach启动shell,修改getdents
1730
1731    * 更改关闭pipe时断言报错问题,以及DragonReach启动shell阶段版本
1732
1733    * 修改目录结构
1734
1735    * update
1736
1737    * 解决小问题
1738
1739    * 调整dragon reach版本号
1740
1741    * 设置make clean的时候不清空应用程序的缓存。
1742    指定relibc版本号
1743
1744    ---------
1745
1746    Co-authored-by: longjin <longjin@RinGoTek.cn>
1747
1748commit 0dd8ff43325b494ea777dbe6e552fdc77b9dabc8
1749Author: YJwu2023 <yujianwu2019@gmail.com>
1750Date:   Thu Sep 21 23:23:57 2023 +0800
1751
1752    添加中断 (#370)
1753
1754    * 添加中断
1755
1756    * dhcp更改为全局socketset
1757
1758    * 解决异常中断的问题,使得能够使用中断来处理网卡数据
1759
1760    ---------
1761
1762    Co-authored-by: longjin <longjin@RinGoTek.cn>
1763
1764commit 6b4e7a2972cc06663754c0e35a0e541987006fa4
1765Author: LoGin <longjin@DragonOS.org>
1766Date:   Tue Sep 19 19:46:59 2023 +0800
1767
1768    增加kernfs (#386)
1769
1770    * 增加kernfs
1771
1772    * kernfs文档
1773
1774commit ae5ede03bebe5c4b593ad7a350f0945f1367be7c
1775Author: LoGin <longjin@DragonOS.org>
1776Date:   Mon Sep 18 07:38:04 2023 +0800
1777
1778    bugfix: bus/device manager对卸载逻辑的处理错误 (#385)
1779
1780    * 移动位置
1781
1782    * bugfix: bus/device manager对卸载逻辑的处理错误
1783
1784commit 7ae679ddd6481897a86523a52fad3b060254fa5b
1785Author: LoGin <longjin@DragonOS.org>
1786Date:   Sun Sep 17 15:41:01 2023 +0800
1787
1788    ahci内存越界问题修复+ mm的bug修复+在rust中解析acpi table (#384)
1789
1790    * bugfix: 修复了Flusher Drop的时候没有自动刷新TLB的bug
1791
1792    * 解决进程管理未初始化时,trap.c尝试打印pid导致错误的问题
1793
1794    * 设置kmalloc默认强制清0
1795
1796    * 修复ahci驱动的内存越界问题
1797    * 修复mmio buddy忘记归还buddy block的问题
1798    * 新增acpi模块,暂时能解析acpi tables
1799
1800commit 11110997465e858757da54b5ce28d7c22690aaff
1801Author: hanjiezhou <zhouhanjie@dragonos.org>
1802Date:   Sat Sep 16 20:14:56 2023 +0800
1803
1804    修改 tty 中resize bug (#383)
1805
1806commit 71474bc6829b3cd831df7ce24ea059557996524d
1807Author: LoGin <longjin@DragonOS.org>
1808Date:   Sat Sep 16 16:16:43 2023 +0800
1809
1810    修复drop fd时,文件描述符引用不为0的问题 (#382)
1811
1812commit de71ec259cd21c782f4031b01635eb8ad3df1943
1813Author: LoGin <longjin@DragonOS.org>
1814Date:   Fri Sep 15 19:44:11 2023 +0800
1815
1816    修正由于init proc union导致的无法运行的问题 && 修正由于内核线程启动后默认sleep的行为导致init进程无法正常运行的bug (#381)
1817
1818    1. 修正由于init proc union导致的无法运行的问题
1819    2. 修正由于内核线程启动后默认sleep的行为导致init进程无法正常运行的bug
1820
1821commit 1496ba7b24a5e6954291ca9643b9f3cec567479a
1822Author: LoGin <longjin@DragonOS.org>
1823Date:   Fri Sep 15 14:58:19 2023 +0800
1824
1825    进程管理模块重构完成 (#380)
1826
1827    * 添加新版pcb的数据结构 (#273)
1828
1829    * 将pcb中的内容分类,分别加锁 (#305)
1830
1831    * 进程管理重构:完成fork的主体逻辑 (#309)
1832
1833    1.完成fork的主体逻辑
1834    2.将文件系统接到新的pcb上
1835    3.经过思考,暂时弃用signal机制,待进程管理重构完成后,重写signal机制.原因是原本的signal机制太烂了
1836
1837    * chdir getcwd pid pgid ppid (#310)
1838
1839
1840    ---------
1841
1842    Co-authored-by: longjin <longjin@RinGoTek.cn>
1843
1844    * 删除旧的fork以及signal的代码,并调整fork/vfork/execve系统调用 (#325)
1845
1846    1.删除旧的fork
1847    2.删除signal相关代码,等进程管理重构结束之后,再重新写.
1848    3.调整了fork/vfork/execve系统调用
1849
1850    * 实现切换进程的代码 (#331)
1851
1852
1853
1854    * 实现切换进程的代码
1855
1856    * Patch modify preempt (#332)
1857
1858    * 修改设置preempt的代码
1859
1860    * 删除rust的list和refcount
1861
1862    * 为每个核心初始化idle进程 (#333)
1863
1864    * 为每个核心初始化idle进程
1865
1866    * 完成了新的内核线程机制 (#335)
1867
1868    * 调度器的pcb替换为新的Arc<ProcessControlBlock>,把调度器队列锁从 RwSpinLock 替换为了 SpinLock (#336)
1869
1870    * 把调度器的pcb替换为新的Arc<ProcessControlBlock>
1871
1872    * 把调度器队列锁从 RwSpinLock 替换为了 SpinLock ,修改了签名以通过编译
1873
1874    * 修正一些双重加锁、细节问题
1875
1876    ---------
1877
1878    Co-authored-by: longjin <longjin@RinGoTek.cn>
1879
1880    * github workflow自动检查代码是否格式化
1881
1882    * cache toolchain yml
1883
1884    * 调整rust版本的waitqueue中的pcb为新版的pcb (#343)
1885
1886    * 解决设置rust workspace带来的“工具链不一致”的问题 (#344)
1887
1888
1889    * 解决设置rust workspace带来的“工具链不一致”的问题
1890
1891    更改workflow
1892
1893    * 调整pcb的sched_info和rwlock,以避免调度器死锁问题 (#341)
1894
1895    * 调整pcb的sched_info和rwlock,以避免调度器死锁问题
1896
1897    * 修改为在 WriterGuard 中维护 Irq_guard
1898
1899    * 修正了 write_irqsave方法
1900
1901    * 优化了代码
1902
1903    * 把 set state 操作从 wakup 移动到 sched_enqueue 中
1904
1905    * 修正为在 wakeup 中设置 running ,以保留 set_state 的私有性
1906
1907    * 移除了 process_wakeup
1908
1909    * 实现进程退出的逻辑 (#340)
1910
1911    实现进程退出的逻辑
1912
1913    * 标志进程sleep
1914
1915    * 修复wakeup的问题
1916
1917    ---------
1918
1919    Co-authored-by: longjin <longjin@RinGoTek.cn>
1920
1921    * rust 重构 completion (#350)
1922
1923    * 完成了completion的基本结构,待完善上级调用
1924
1925    * 用SpinLock保护结构体并发安全
1926
1927    * 修改原子变量为u32,修复符号错误
1928
1929    * irq guard
1930
1931    * 修改为具有内部可变性的结构体
1932
1933    * temp fix
1934
1935    * 修复了由于进程持有自旋锁导致的不被调度的问题
1936
1937    * 对 complete 系列方法上锁,保护 done 数据并发安全
1938
1939    * 移除了未使用的依赖
1940
1941    * 重写显示刷新驱动 (#363)
1942
1943    * 重构显示刷新驱动
1944
1945    * Patch refactor process management (#366)
1946
1947    * 维护进程树
1948
1949    * 维护进程树
1950
1951    * 更改代码结构
1952
1953    * 新建进程时,设置cwd
1954
1955    * 调整adopt childern函数,降低开销
1956
1957    ---------
1958
1959    Co-authored-by: longjin <longjin@RinGoTek.cn>
1960
1961    * waitqueue兼容C部分 (#351)
1962
1963    * PATH
1964
1965    * safe init
1966
1967    * waitqueue兼容C部分
1968
1969    * waitqueue兼容C部分
1970
1971    * 删除semaphore.c,在ps2_keyboard中使用waitqueue
1972
1973    * 删除semaphore.c,在ps2_keyboard中使用waitqueue
1974
1975    * current_pcb的C兼容
1976
1977    * current_pcb的C兼容
1978
1979    * current_pcb的C兼容
1980
1981    * fmt
1982
1983    * current_pcb的兼容
1984
1985    * 针对修改
1986
1987    * 调整代码
1988
1989    * fmt
1990
1991    * 删除pcb的set flags
1992
1993    * 更改函数名
1994
1995    ---------
1996
1997    Co-authored-by: longjin <longjin@RinGoTek.cn>
1998
1999    * merge master
2000
2001    * Patch debug process management refactor (#372)
2002
2003    * 能够调通,执行完textui_init
2004
2005    * 能跑到initial kernel thread
2006
2007    * fmt
2008
2009    * 能够正常初始化所有服务(尚未能切换到用户程序)
2010
2011    * 删除部分无用的extern
2012
2013    * 存在问题:ap处理器启动后,bsp的smp_init函数return之后就出错了,怀疑是栈损坏
2014
2015    * 解决smp启动由于未换栈导致的内存访问错误
2016
2017    * debug
2018
2019    * 1
2020
2021    * 1
2022
2023    * lock no preempt
2024
2025    * 调通
2026
2027    * 优化代码,删除一些调试日志
2028
2029    * fix
2030
2031    * 使用rust重写wait4 (#377)
2032
2033    * 维护进程树
2034
2035    * 维护进程树
2036
2037    * 更改代码结构
2038
2039    * 新建进程时,设置cwd
2040
2041    * 调整adopt childern函数,降低开销
2042
2043    * wait4
2044
2045    * 删除c_sys_wait4
2046
2047    * 使用userbuffer保护裸指针
2048
2049    ---------
2050
2051    Co-authored-by: longjin <longjin@RinGoTek.cn>
2052
2053    * 消除warning
2054
2055    * 1. 修正未设置cpu executing的问题
2056
2057    * 修正kthread机制可能存在的内存泄露问题
2058
2059    * 删除pcb文档
2060
2061    * 删除C的tss struct
2062
2063    ---------
2064
2065    Co-authored-by: Bullet <93781792+GP-Bullet@users.noreply.github.com>
2066    Co-authored-by: Chiichen <39649411+Chiichen@users.noreply.github.com>
2067    Co-authored-by: hanjiezhou <zhouhanjie@dragonos.org>
2068    Co-authored-by: GnoCiYeH <118462160+GnoCiYeH@users.noreply.github.com>
2069    Co-authored-by: houmkh <1119644616@qq.com>
2070
2071commit b087521e07f601b30e3d48df788fcc2f09f19566
2072Author: Chiichen <39649411+Chiichen@users.noreply.github.com>
2073Date:   Wed Sep 13 18:01:52 2023 +0800
2074
2075    完善设备驱动模型&调试串口驱动 (#379)
2076
2077    * 完成了基本架构重构,正在进行兼容
2078
2079    * 重构了所有 Device Driver ,还没有接上具体设备
2080
2081    * 基本把 Uart 接上了,还没有测试
2082
2083    * 初步完成系统设备初始化
2084
2085    * 初步重构 BlockDevice ,使其兼容新的 Device 结构
2086
2087    * 修改文件系统内的部分函数调用以满足重构后的接口
2088
2089    * 测试完 Uart 设备的功能
2090
2091    * 移除了自动添加的文件
2092
2093    * 修复了 warning 和部分格式
2094
2095    * 解决warning,并且修正sysfs初始化的位置
2096
2097    * Patch fix
2098
2099    * 删除了 sysinfo 的默认实现
2100
2101    * 删除了字符设备读写的 offset 参数
2102
2103    * 修复了 warning 和一些小逻辑错误
2104
2105    ---------
2106
2107    Co-authored-by: longjin <longjin@RinGoTek.cn>
2108
2109commit 9029414af2089cbe7d2d2097be2e116c09beb6dd
2110Author: zhaoyao73 <zhaoyao73@users.noreply.github.com>
2111Date:   Wed Sep 13 01:49:03 2023 -0400
2112
2113    use demangled names (#375)
2114
2115    there is no change for c symbols
2116      rust symbols name will be more readable
2117
2118commit 22c9db312a5f02b48a1bf7853dc53434da65e28a
2119Author: hanjiezhou <zhouhanjie@dragonos.org>
2120Date:   Wed Sep 13 00:58:01 2023 +0800
2121
2122    Patch pipe2 (#364)
2123
2124commit 68312d3c68b9df288589f9636417745d46520ad2
2125Author: Xshine <gshine@m.scnu.edu.cn>
2126Date:   Wed Sep 13 00:26:41 2023 +0800
2127
2128    修正造成 http server 的错误 (#378)
2129
2130    * 修正造成 http server 的错误
2131
2132commit 285de542f3ddb09bfdcad0a7022bd722f4f1cace
2133Author: zhaoyao73 <zhaoyao73@users.noreply.github.com>
2134Date:   Wed Sep 6 06:08:52 2023 -0400
2135
2136    modify kernel link script (#373)
2137
2138    put rust text between _text and _etext, so rust symbols are included in
2139    kallsyms, traceback could use them.
2140
2141    modify grub_auto_install.sh to add arch linux support
2142
2143commit 3b0bf43bbb196a74a64cee8ecd2d4eb884c5e9ee
2144Author: zhaoyao73 <zhaoyao73@users.noreply.github.com>
2145Date:   Mon Sep 4 00:57:52 2023 -0400
2146
2147    fix compiler warnings in pci_irq.c (#371)
2148
2149    Co-authored-by: Yao Zhao <dragonlinux@gmail.com>
2150
2151commit 607783d7414735d1dc54afb0c7346ed8e13303a2
2152Author: zhaoyao73 <zhaoyao73@users.noreply.github.com>
2153Date:   Sun Sep 3 01:36:02 2023 -0400
2154
2155    fix pci_irq.c - memory leak - wrong irq_name allocated length (#367)
2156
2157    add function declaration to avoid compiling warning
2158
2159    add extra packages need for build
2160
2161    Co-authored-by: Yao Zhao <dragonlinux@gmail.com>
2162
2163commit d9113303d8e1d449a122f7a5f66453fbe7c26a46
2164Author: LoGin <longjin@DragonOS.org>
2165Date:   Sun Sep 3 13:33:27 2023 +0800
2166
2167    relibc与旧的C库同时开始编译 (#369)
2168
2169commit 4895ff6968ae8f24c7a0d55dce6ae23082d60e3b
2170Author: yuyi2439 <68320855+yuyi2439@users.noreply.github.com>
2171Date:   Sat Sep 2 00:27:41 2023 +0800
2172
2173    fix: DragonOS-Community/DragonOS#358 (#361)
2174
2175commit 8479f19979aa9ddc4e383651cc56a7a24bd94e21
2176Author: GnoCiYeH <118462160+GnoCiYeH@users.noreply.github.com>
2177Date:   Fri Sep 1 21:46:36 2023 +0800
2178
2179    添加rust-gdb调试内核文档 (#357)
2180
2181    * 编写使用GDB调试内核文档
2182
2183commit 863a3cff06e618a5f0fc03920dfd5732452344c9
2184Author: LoGin <longjin@DragonOS.org>
2185Date:   Thu Aug 31 20:25:00 2023 +0800
2186
2187    添加与rust std接口相同的once库 (#353)
2188
2189commit a3ef8f8ad5248e3424113871950eb9c80eeeb99e
2190Author: GnoCiYeH <118462160+GnoCiYeH@users.noreply.github.com>
2191Date:   Thu Aug 31 19:52:32 2023 +0800
2192
2193    修改RamFS目前存在的BUG (#354)
2194
2195    * 修改RamFS目前存在的BUG
2196
2197commit c757940bd61b0125e037a59eb77565e42470201b
2198Author: YJwu2023 <yujianwu2019@gmail.com>
2199Date:   Thu Aug 31 17:54:49 2023 +0800
2200
2201    优化makefile (#352)
2202
2203commit 2dd9f0c7503d1a325713764fedbce06fcab3a06b
2204Author: LoGin <longjin@DragonOS.org>
2205Date:   Mon Aug 28 15:54:52 2023 +0800
2206
2207    mmio buddy新增guard,把映射的职责交由其守卫进行处理,并且守卫被drop的时候自动释放内存 (#346)
2208
2209    * mmio buddy新增guard,把映射的职责交由其守卫进行处理,并且守卫被drop的时候自动释放内存
2210
2211commit 8d94ea66a3eb3e02039730c8d08e9bead8c344b8
2212Author: YJwu2023 <yujianwu2019@gmail.com>
2213Date:   Mon Aug 28 15:43:07 2023 +0800
2214
2215    Patch ahci (#348)
2216
2217    * Modify the ahci module and delete the useless c code
2218
2219    修改ahci使其不再依赖旧的pci函数
2220    删除旧的pci、msi函数代码
2221
2222commit f5df0e79c67a9508bc6a50fccded9dec78e7ed9d
2223Author: LoGin <longjin@DragonOS.org>
2224Date:   Mon Aug 28 15:29:00 2023 +0800
2225
2226    解决userbufferwriter的长度错误问题,并修复gettimeofday的pagefault问题 (#349)
2227
2228    * 解决userbufferwriter的长度错误问题,并修复gettimeofday的pagefault问题
2229
2230commit ddb9d91712b6e87aa15b9cc4a8fdec8ae0996a5e
2231Author: Xshine <gshine@m.scnu.edu.cn>
2232Date:   Sun Aug 27 15:54:19 2023 +0800
2233
2234    将 io 移动至 vfs 目录,并修正引用路径 (#339)
2235
2236    * 将 io 移动至 vfs 目录,并修正引用路径
2237
2238    * fix bug in makefile
2239
2240commit e92d02281005bac31fe80e9070ac4a2a6cef0419
2241Author: LoGin <longjin@DragonOS.org>
2242Date:   Sat Aug 26 21:36:13 2023 +0800
2243
2244    解决设置rust workspace带来的“工具链不一致”的问题 (#345)
2245
2246    更改workflow
2247
2248commit 9a367aa7eb1576a235f5f52ee542132a1e5e39df
2249Author: LoGin <longjin@DragonOS.org>
2250Date:   Thu Aug 24 18:50:52 2023 +0800
2251
2252    添加github workflow,检查代码是否已经格式化 (#342)
2253
2254    * 添加github workflow,检查代码是否已经格式化
2255
2256commit f09a98329c4ec77010de86d126516310b407455a
2257Author: LoGin <longjin@DragonOS.org>
2258Date:   Wed Aug 23 16:09:29 2023 +0800
2259
2260    1. 修复bootstrap.sh在安装libssl-dev之前,安装dadk,从而导致错误的问题 (#338)
2261
2262    1. 修复bootstrap.sh在安装libssl-dev之前,安装dadk,从而导致错误的问题
2263    2. 构建系统的文档,补充对vnc端口的说明
2264
2265commit 4537ffb7e9afb2d96f2adcee32c8ac84b056d2e5
2266Author: Chiichen <39649411+Chiichen@users.noreply.github.com>
2267Date:   Mon Aug 21 18:37:31 2023 +0800
2268
2269    实现了对用户空间传入指针抽象的UserBufferReader/Writer,来检验用户空间指针地址并提供一定的功能抽象 (#326)
2270
2271    * 构建了 Userbuffer 对用户空间传入的指针进行了抽象,并提供了读写操作
2272
2273    * 分成了Reader和Writer,增加了从地址读和写入到指定地址的功能
2274
2275    * 删除了多余的注释
2276
2277    * 增加了直接获取BufferWriter切片的函数
2278
2279    * 通过 where 的一个 Trick 实现了 const generic 和后续功能
2280
2281    * 替换为了 core::slice::align_to 实现&[u8}转&[T]
2282
2283    * 移除了 userbuffer.rs
2284
2285    * 提供了独立获取缓冲区中不同偏移量位置的数据的函数
2286
2287    * 替换了部分系统调用(还未测试
2288
2289    * 简化了代码
2290
2291    * 修复内存越界的bug
2292
2293    ---------
2294
2295    Co-authored-by: longjin <longjin@RinGoTek.cn>
2296
2297commit abe3a6ea3c543425e2cad12722e8a658b324d515
2298Author: hanjiezhou <zhouhanjie@dragonos.org>
2299Date:   Sun Aug 20 00:19:36 2023 +0800
2300
2301    Patch refactor scm and textui (#289)
2302
2303    * 重构屏幕管理器和textui框架
2304
2305    * 切换字体为spleen,并增加对字体的抽象
2306
2307    * 修正文档
2308
2309    ---------
2310
2311    Co-authored-by: longjin <longjin@RinGoTek.cn>
2312
2313```
2314