Commit Graph

7 Commits

Author SHA1 Message Date
JingXuan_Wei be4ee4f0ac
fix:Fix related issues with kexec (pr # 1303) code (#1339)
- Fix some legacy issues of PR 1303
- Supplement the error handling of PR 1303

Signed-off-by: JensenWei007 <jensenwei007@gmail.com>
2025-11-10 13:31:10 +08:00
JingXuan_Wei bb99d3f6ed
feat(kexec & initram):Add kexec and initram support for x86 architecture (#1303)
- Support embedding initram and using Ramfs as the file system for extracting initram
- Support kexec series system calls, including load series and reboot
- Support u-root as the root file system to boot in Go language
- Add sysfs such as boot_crams and memmap
- Add a series of peripheral system calls related to the above

Signed-off-by: JensenWei007 <jensenwei007@gmail.com>
2025-10-30 13:32:40 +08:00
LoGin a8e4a826a4
feat(build, kernel): 添加内核版本信息生成与显示功能 (#1269)
添加了内核构建时自动生成版本信息的功能,包括版本号、构建时间、编译器信息、Git提交等。
在内核启动时打印版本信息,并可通过/proc/version文件查询。更新了about应用使用uname系统调用

Signed-off-by: longjin <longjin@DragonOS.org>
2025-08-28 13:16:31 +08:00
LoGin 8b8f2f7981
chore: 将cargo.lock恢复提交到git (#1114)
Signed-off-by: longjin <longjin@DragonOS.org>
2025-03-25 11:27:50 +08:00
Jomo e4600f7f7d
Kconfig (#432)
* 内核编译配置

* 将kernel.config的解析代码搬入crate

* 将设置feature函数放入CargoHandler中
2023-11-17 21:23:01 +08:00
login 2aaf7808ef
在内核中引入cbindgen,生成rust-C的FFI (#81)
* 解决codeql失败问题

* new: 为内核引入cbindgen
2022-11-11 22:21:44 +08:00
login 2813126e31
新增rust ffi (#77)
* 引入cargo

* 取消对Cargo.lock的跟踪

* 解决vscode报错问题

* new: rust的代码能够调用c语言的printk_color

* 1、将原本run.sh的工作拆解,变为几个不同的make命令
2、在docker镜像中编译rust

* 更改workflow

* update workflow

* new: 解决workflow无法通过编译的问题
2022-11-11 15:35:37 +08:00