备注
AI Translation Notice
This document was automatically translated by Qwen/Qwen3-8B
model, for reference only.
Source document: community/ChangeLog/V0.1.x/V0.1.2.md
Translation time: 2025-05-19 01:42:16
Translation model:
Qwen/Qwen3-8B
Please report issues via Community Channel
V0.1.2
Contributors
The DragonOS V0.1.2 version has been contributed by the following developers:
Long Jin longjin@ringotek.cn
Wu Yujian wuyujian@DragonOS.org
Gou Ngai sujintao@DragonOS.org
Huang Ting huangting@DragonOS.org
Wang Wencong 1297389017@qq.com
Sponsors
Thank you to the following individuals for their support. We will continue to strive hard!
David Wen
TerryLeeSCUT
Wu
slientbard
Among them, we are especially grateful to Seele.Clover for contributing RMB 500 to the DragonOS project! We will carefully record every sponsorship and ensure that it is used appropriately.
Update Content - Kernel
Remove rust_helloworld file (#_translated_label__113_en)
Signal: Allow users to register signal handler functions, enabling custom handlers. (#_translated_label__112_en)
Support for the kill command
Allow users to customize signal handling functions
Add two new system calls:
SYS_SIGACTION
,SYS_RT_SIGRETURN
libc adds
signal()
,sigaction()
functions.Currently only supports the old version of sighandler, i.e., signal handler functions with only one parameter of type
void handler(int signum)
. The other type of signal handler functionvoid handler(int signum, siginfo_t *info, void* data)
does not currently support passing the third parameter.
Add a custom stdint.h file in the kernel code (#_translated_label__109_en)
Adjust the script for compiling grub (#_translated_label__108_en)
Add 32-bit and 64-bit UEFI boot support (#_translated_label__105_en)(#_translated_label__101_en)
Use compiled installed grub-2.06 to solve the problem of compilation failure due to incorrect grub version on the client.
Add a timekeeping module (#_translated_label__106_en)
Bugfix: Fix the issue where the rtc clock forgot to process the day field when converting to BCD code (#_translated_label__104_en)
New: Development process documentation (completed half)
bootstrap.sh solves the problem of slow rust download
Update the “Build System” documentation
procfs->status adds display of preempt and virtual runtime (#_translated_label__100_en)
ffz function: get the first bit that is 0 in a u64 (#_translated_label__100_en)
Solve the problem of local_irq_restore not being able to get the correct rflags value due to compiler optimization
Refactor the serial port driver using Rust (#_translated_label__99_en)
Update Content - User Environment
about app: Display the current git commit sha1 and build time (#_translated_label__114_en)
shell: Fix the error in the shell’s exec command when concatenating absolute paths (#_translated_label__114_en)
shell: Add “&” background execution option for the exec command (#_translated_label__100_en)
New: Test app for signal
Adjust the libc directory and add cargo as the Rust package manager
Source Code and Release Image Download
You can obtain the source code through the following methods:
Get via Git
You can download the release code and the compiled, runnable disk image from https://github.com/fslongjin/DragonOS/releases.
We also have a mirror repository on gitee for download: https://gitee.com/DragonOS/DragonOS
Get via DragonOS Software Mirror Site
To solve the problem of slow and unstable access to GitHub in China, and to make it convenient for developers to download the code of each version of DragonOS, we have specially set up a mirror site. You can access the mirror site through the following address:
You can obtain the DragonOS source code package and the compiled, runnable disk image through the mirror site.
Open Source Declaration
备注
To promote the healthy development of the DragonOS project, DragonOS is released under the GPLv2 open source license. Anyone who can obtain the DragonOS source code and corresponding software products (including but not limited to binary copies and documents) can enjoy the rights granted by us through the GPLv2 protocol, while you also need to comply with the obligations stipulated in the protocol.
This is a rather strict protocol that protects the healthy development of open source software and prevents it from being encroached upon.
For most well-intentioned people, you will not violate our open source protocol.
We encourage the free dissemination and promotion of DragonOS, but please ensure that all actions do not infringe on the legitimate rights and interests of others or violate the GPLv2 protocol.
Please pay special attention to the fact that violations of the open source protocol, especially commercial closed-source use and any plagiarism or academic misconduct, will be subject to serious accountability. (This is the easiest scenario to violate our open source protocol.)
Also, please note that according to the requirements of the GPLv2 protocol, any software modified or developed based on DragonOS must also be open-sourced under the GPLv2 protocol and clearly indicate that it is based on DragonOS. It must also ensure that users of these modified versions can easily obtain the original version of DragonOS.
You must make sure that the developers of DragonOS can obtain the source code of your modified version through public channels in the same way, otherwise you will violate the GPLv2 protocol.
For detailed information about the protocol, please read the LICENSE file in the root directory of the project. Please note that according to the requirements of the GPLv2 protocol, only the English original version is legally binding. Any translated version is for reference only.
Open Source Software Usage
During the development of DragonOS, we have referenced some open source projects’ designs, or introduced parts of their code, or been inspired by them. We list them below. We sincerely thank the contributors of these open source projects!
Format:
Linux - https://git.kernel.org/ - GPLv2
skiftOS - https://github.com/skiftOS/skift - MIT
FYSOS - https://github.com/fysnet/FYSOS - FYSOS’ License
LemonOS - https://github.com/LemonOSProject/LemonOS.git - BSD 2-Clause License
LZ4 - https://github.com/lz4/lz4 - BSD 2-Clause license
SerenityOS - https://github.com/SerenityOS/serenity.git - BSD 2-Clause license
MINE - 《A Design and Implementation of a 64-bit Operating System》 by Tian Yu; People’s Posts and Telecommunications Press
chcore - 《Modern Operating Systems: Design and Implementation》 by Chen Haibo, Xia Yubin; Machinery Industry Press
SimpleKernel - https://github.com/Simple-XX/SimpleKernel - MIT
All Commit Records of the Current Version
commit 7a818da88a1c7a1760de7671141b0ce1ca4e3dde
Author: login <longjin@ringotek.cn>
Date: Sat Dec 17 17:49:12 2022 +0800
Patch about auto gen version string (#114)
* new: about app中,显示当前构建的git commit sha1以及构建时间
* bugfix: 修复shell的exec命令对绝对路径的拼接错误问题
commit 83a7aaa46bbc411c43d4fc099c6c8884efbe4771
Author: login <longjin@ringotek.cn>
Date: Sat Dec 17 16:31:50 2022 +0800
删除rust_helloworld文件 (#113)
commit 6efd4740336205c9bfdd8b164e667cee2f38781e
Author: login <longjin@ringotek.cn>
Date: Sat Dec 17 16:27:50 2022 +0800
允许用户自定义信号处理函数 (#112)
* new: 用户注册信号处理函数,能够进入自定义的handler
* 修复忘了传信号的数字给用户的处理函数的bug
* new:sigreturn
* 删除注释
commit 0e0c187484281768391e131495f0655e40d70cf7
Author: login <longjin@ringotek.cn>
Date: Fri Dec 16 16:20:09 2022 +0800
在内核代码中加入自定义的stdint.h文件 (#109)
commit d02e6ea4112ad520aa4090ff73cdf592e14c0a82
Author: login <longjin@ringotek.cn>
Date: Wed Dec 14 20:01:55 2022 +0800
调整编译grub的脚本的部分 (#108)
1、bugfix: 修复编译grub的脚本的部分错误
2、将grub下载源替换为tuna
3、优化写入磁盘镜像的脚本
4、将bios文件夹改名为legacy
commit 38b341b8aa671f75ac26d05059aa2e9a09e653b7
Author: YJwu2023 <119829947+YJwu2023@users.noreply.github.com>
Date: Wed Dec 14 16:58:49 2022 +0800
新增32位uefi启动 (#105)
* 新增32位uefi启动
* 修复小bug
* 增加grub本地编译安装
* 增加本地grub编译安装脚本
* 修正小错误
* 修复空文件夹不上传的bug
commit 01876902fbf6ed43992cc7d153bd8c505cb5224b
Author: Gou Ngai <94795048+AlbertSanoe@users.noreply.github.com>
Date: Wed Dec 14 15:13:54 2022 +0800
增加了timekeeping模块 (#106)
* 增加了timekeeping模块
* 格式化文档和细节更改
Co-authored-by: longjin <longjin@RinGoTek.cn>
commit 728aca308917a7d4d0ba10fe8174e9408d77a9a6
Author: login <longjin@ringotek.cn>
Date: Sun Dec 11 22:59:47 2022 +0800
bugfix: 修复rtc时钟对BCD码进行转换的时候,忘了处理day字段的问题 (#104)
commit 237e95c6ddce72d72ae7fedfeca412fab82b3622
Author: wwc-15172310230 <78997674+wwc-15172310230@users.noreply.github.com>
Date: Sun Dec 11 22:22:10 2022 +0800
调整user下libs的libc目录结构 (#103)
* 调整user下libs的libc目录结构
* 修正.gitignore文件的问题
* 修复无法编译的问题
Co-authored-by: longjin <longjin@RinGoTek.cn>
commit 2291ffdece1dc5a703602f79f74df8a4854d215b
Author: login <longjin@ringotek.cn>
Date: Sun Dec 11 20:09:58 2022 +0800
文档更新 (#102)
* new: 开发过程文档(完成了一半)
* bootstrap.sh解决下载rust慢的问题
* 更新“构建系统”文档
commit 7f439c5ddbd2ecffc112149d16983975f523052c
Author: YJwu2023 <119829947+YJwu2023@users.noreply.github.com>
Date: Fri Dec 9 16:08:54 2022 +0800
增加uefi启动 (#101)
* 增加uefi启动
* 修改脚本
* uefi修改
* 删除错误的注释
* 修正写入磁盘镜像的脚本
* 修改X86_64为x86_64
Co-authored-by: longjin <longjin@RinGoTek.cn>
commit 1a2eaa402f05f82aaeebe1e03824534a0a425d4d
Author: login <longjin@ringotek.cn>
Date: Thu Dec 8 22:59:51 2022 +0800
signal的处理(kill命令)以及一些其他的改进 (#100)
* 将entry.S中冗余的ret_from_syscall代码删除,改为jmp Restore_all
* new: 增加判断pt_regs是否来自用户态的函数
* new: rust的cli和sti封装
* 将原有的判断pt_regs是否来自用户态的代码,统一改为调用user_mode函数
* ffz函数:获取u64中的第一个值为0的bit
* spinlock增加 spinlock irq spin_unlock_irq
* 临时解决显示刷新线程迟迟不运行的问题
* 更改ffi_convert的生命周期标签
* new: 测试signal用的app
* 解决由于编译器优化导致local_irq_restore无法获取到正确的rflags的值的问题
* new: exec命令增加"&"后台运行选项
* procfs->status增加显示preempt和虚拟运行时间
* 更改引用计数的FFIBind2Rust trait中的生命周期标签
* new: signal处理(kill)
* 更正在review中发现的一些细节问题
commit f8b55f6d3fcbf152a1cb6d6fc722bf1607418b28
Author: TingHuang <92705854+TingSHub@users.noreply.github.com>
Date: Tue Dec 6 22:15:03 2022 +0800
Patch uart (#99)
* 添加UART驱动相关文件
* 添加驱动核心文件,将rust编写的驱动代码加入Package中
* 添加glib.h文件生成rust代码,添加uart驱动代码
* 添加串口发送及接收相关代码
* 添加字符串发送函数,未实现具体功能
* 为调用uart驱动的代码添加rust接口
* 添加字符串发送函数,修改C语言调用接口
* 添加rust串口驱动
* 添加uart.h头文件,将串口端口类型改为enum
* 添加注释,规范代码
commit 036acc52ce9d0fb9e7d92768ff74939a29c07f32
Author: login <longjin@ringotek.cn>
Date: Tue Nov 29 21:46:13 2022 +0800
将entry.S中冗余的ret_from_syscall代码删除,改为jmp Restore_all (#98)
* 将entry.S中冗余的ret_from_syscall代码删除,改为jmp Restore_all