40 Commits
Author SHA1 Message Date
LoGin 1715d828a3 refactor(ci): consolidate bug-hunter personas to 3 orthogonal roles (#2177)
Merge the previous 8-agent persona matrix into 3 orthogonal roles to cut token waste while keeping defect-class coverage:

- Security & Concurrency Sentinel (weight 4.0): security + concurrency
- Logic & Correctness Reviewer (weight 3.0): logic / boundary / error handling
- System & Performance Reviewer (weight 3.0): performance + resource lifecycle + Linux semantic contracts

Embed the persona matrix in weighted_vote.py (DEFAULT_WEIGHTS) and drop the external persona_matrix.json loading path. Update the stage 1/2/4 skill docs accordingly and add Python artifacts to .gitignore.

Signed-off-by: longjin <longjin@DragonOS.org>
2026-08-11 18:15:06 +08:00
LoGin 317ada6c45 fix: remove *.md and .cursor from .gitignore (#1955)
These rules were accidentally introduced in commit f733b8b5 (PR #1832).
Ignoring all *.md files prevents tracking README, documentation, and
other essential markdown files in the repository.

Signed-off-by: longjin <longjin@dragonos.org>
2026-06-05 00:55:09 +08:00
45172e5527 feat(mountstats): 新增proc挂载导出接口实现 (#1832)
* Refactor skill-creator scripts: remove init_skill.py, enhance packaging and validation

- Deleted init_skill.py as it was redundant.
- Updated package_skill.py to exclude unnecessary files and directories during packaging.
- Enhanced quick_validate.py to include compatibility field validation and improved error messages.
- Added run_eval.py to evaluate skill descriptions against queries and output results in JSON format.
- Introduced run_loop.py to facilitate an iterative evaluation and improvement process for skill descriptions.
- Created utils.py for shared utility functions, including SKILL.md parsing.

Signed-off-by: xboHodx <xbohodx2024@gmail.com>

* feat(procfs): 新增proc挂载导出接口实现

- 实现/proc/[pid]/mounts、/proc/[pid]/mountinfo、/proc/[pid]/mountstats接口
- 新增mount_view模块统一处理挂载视图渲染逻辑
- 支持按目标进程视角导出挂载信息
- 文档添加procfs相关章节

Signed-off-by: xboHodx <xbohodx2024@gmail.com>

* fmt

Signed-off-by: xboHodx <xbohodx2024@gmail.com>

* Revert "Refactor skill-creator scripts: remove init_skill.py, enhance packaging and validation"

This reverts commit 250dc9bd36.

* fix(procfs): update process handling in mount file operations

Signed-off-by: xboHodx <xbohodx2024@gmail.com>

* fmt

* Enhance procfs mount handling and add tests for mount exports

- Updated `/proc/mounts`, `/proc/[pid]/mounts`, and related files to improve rendering and caching behavior.
- Refactored mount entry collection and rendering functions for better clarity and performance.
- Adjusted permissions in `MountStatsFileOps` to allow read access for group users.
- Introduced new test suite `proc_mount_exports` to validate mount information consistency across different procfs entries.
- Added entries to `.gitignore` for markdown files and cursor files.

* fix(mount): rename

* feat(procfs): add proc mount export interfaces

Signed-off-by: longjin <longjin@dragonos.org>

* refactor(procfs): consolidate mount handling into a dedicated module

- Removed the deprecated `mount_view` and `mounts` files, centralizing mount-related functionality into a new `mount` module.
- Updated references in the `procfs` root and other related files to utilize the new structure.
- Introduced new helper functions for rendering and collecting mount information, improving code organization and maintainability.
- Added symlink support for `/proc/mounts` pointing to `self/mounts`.

This refactor enhances clarity and performance in handling mount information within the proc filesystem.

* refactor(procfs): remove mount_exports_review_plan.md and update mounts documentation

- Deleted the `mount_exports_review_plan.md` file as it is no longer needed.
- Revised the `mounts.md` documentation to clarify the procfs mount export interfaces, including detailed descriptions of `/proc/mounts`, `/proc/[pid]/mounts`, `/proc/[pid]/mountinfo`, and `/proc/[pid]/mountstats`.
- Enhanced the structure and readability of the documentation, ensuring it aligns with the current implementation and usage scenarios.

This update improves the clarity of the procfs mount interfaces and removes outdated content.

* fmt

* refactor(procfs): adjust inode mode for mount stats

- Updated the inode mode handling in `pid_mount.rs` to ensure that `/proc/[pid]/mountstats` is owner-readable only, while other mount-related files remain world-readable.
- This change aligns with Linux's permissions model for procfs mount information, enhancing security and consistency.

This update improves the clarity of permission settings for procfs mount files.

* update(monitor_test_results): extend TEST_TIMEOUT from 30 to 35 minutes

* fix(procfs): set mountstats owner from target process

Signed-off-by: longjin <longjin@dragonos.org>

---------

Signed-off-by: xboHodx <xbohodx2024@gmail.com>
Signed-off-by: longjin <longjin@dragonos.org>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: longjin <longjin@dragonos.org>
2026-06-03 01:26:27 +08:00
火花andlongjin 8ecf6f3732 feat(vfs): implement pivot_root for mount namespaces (#1810)
* feat(vfs): implement pivot_root for mount namespaces

  Add pivot_root(2) support for mount namespaces, including mount list
  path rewrites, namespace-root handling, and rebinding of process fs root
  and cwd after namespace switches.

  Also fix mount-root path resolution and umount path lookup for moved
  mount trees, and add C unit tests covering pivot_root behavior.

Signed-off-by: sparkzky <sparkhhhhhhhhhh@outlook.com>

* refactor: move pivot-test to dunitest

Signed-off-by: sparkzky <sparkhhhhhhhhhh@outlook.com>

* test(dunitest): add pivot_root case

* fix(vfs): 修复挂载传播和命名空间复制中的同步问题

- 修复挂载传播时未同步更新目标命名空间的mount_list,导致copy_mnt_ns时mountpoints
与mount_list不同步
- 修复clone(CLONE_NEWNS)后子进程的root/pwd未切换到新命名空间的根inode
- 移除umount2中的调试日志
- 添加pivot_root的完整测试套件,包括共享挂载拒绝、命名空间隔离和双重pivot测试

Signed-off-by: longjin <longjin@DragonOS.org>

---------

Signed-off-by: sparkzky <sparkhhhhhhhhhh@outlook.com>
Signed-off-by: longjin <longjin@DragonOS.org>
Co-authored-by: longjin <longjin@DragonOS.org>
2026-04-04 19:03:41 +08:00
Vitus 7de74e597e feat(skill)bug hunter skill split (#1817)
* feat(agents): update bug-hunter skill with mandatory 8-agent parallel review

* fix(指定读取乱序diff)

Made by zhzvitus@gmail.com
2026-03-13 17:27:57 +08:00
LoGin 0482f02e1b feat: enhance nix config and bootstrap (#1775)
- Upgrade Docker image version from v1.21 to v1.22 across dev container and CI
workflows
- Add .nix-gc-root to .gitignore
- Enhance nix configuration with Chinese mirrors, auto GC root, and system QEMU
support
- Update bootstrap script with improved nix installation and configuration
options
- Update DADK dependency to v0.6.1

Signed-off-by: longjin <longjin@DragonOS.org>
2026-02-11 13:16:55 +08:00
LoGin de4ee15bc8 feat: 引入RootFS清单系统并重构DADK配置 (#1776)
- 新增RootFS清单系统,支持通过ROOTFS_MANIFEST环境变量选择不同配置
- 重构DADK配置生成逻辑,移除旧的dadk-manifest.toml和rootfs.toml
- 更新构建系统以支持清单解析和动态配置生成
- 改进用户态包管理,支持按清单切换包集合
- 升级DADK到v0.6.1并更新相关工具链

Signed-off-by: longjin <longjin@DragonOS.org>
2026-02-10 13:28:34 +08:00
VitusandSamuel Dai 832c04a23f feat(nix): 添加nix alias,formatter,以及更好的提示与原make命令集成 (#1661)
* - chore:加了一条一键启动的命令

* chore(nix): 添加nixfmt格式化器并整合devShell配置

  - 添加treefmt-nix和nixfmt-rfc-style作为项目formatter
  - 将tools/nix-dev-shell的devShell配置合并到根目录flake.nix
  - 新增rust-toolchain到devShell的buildInputs
  - 格式化所有.nix文件并排除.direnv目录
  - 移除已废弃的tools/nix-dev-shell目录

* fix

* fix

* fix:构建完后直接退出
fix:  qemu 参数分开写的不支持问题

* fix

* fix

* fix:delete result

* remove 快速启动 hint

* Update Makefile

---------

Co-authored-by: Samuel Dai <samuka007@dragonos.org>
2026-01-28 00:17:18 +08:00
Samuel Dai f031e61716 feat(build): replace rootfs and user space app creation with nix base scripts (#1505)
Implement
- userland build in nix, with cross platform support and 
non-previleged disk gen
- qemu start command in nix
- nix develop envrionment for make kernel
- document build environment defined by nix

Next Steps
- 减小rootfs占用nix store的体积
- deb包的打包兼容用的函数
- 更加灵活的构建依赖注入
- 保留先前系统内修改的内容
- nix rootfs build与qemu启动适配 vnc模式
- 适配 riscv64 构建
- Arm MacOS上的开发兼容
2025-12-26 18:36:13 +08:00
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
chiichen dcd79b408b feat: basic support build kernel rust codes with nix (#1213) 2025-07-28 23:18:01 +08:00
LoGin b6db20c072 feature: virtio console support (#1113)
feat(virtio): add virtio console driver support

- Implement virtio console driver with TTY interface
- Add HVC device support for console output
- Update devfs to handle HVC devices
- Fix virtio driver registration and initialization
- Improve virtio net driver interrupt handling
- Clean up block device naming implementation
- Add clippy lint checks to multiple crates
- Fix slab allocator alignment issues
- Update QEMU run script for virtio consoleagonOS.org>

---------

Signed-off-by: longjin <longjin@DragonOS.org>
2025-03-27 20:48:40 +08:00
LoGin 8b8f2f7981 chore: 将cargo.lock恢复提交到git (#1114)
Signed-off-by: longjin <longjin@DragonOS.org>
2025-03-25 11:27:50 +08:00
LoGin 6fa06ff08a fix: 在插入新的timer时,边界条件判断不正确的问题 (#1091)
修复split_pos 初始值错误导致原本应该被插入到链表末尾的定时器,插入到了链表头

Signed-off-by: longjin <longjin@DragonOS.org>
2025-03-07 12:05:45 +08:00
597315b04d feat(virtualization): 内核虚拟化支持 (#1073)
* 几个结构体

* 通过vmx_init以及create_vm,create_vcpu部分TODO

* kvm_run完成一半

* 能够成功vmlaunch,但是在vmexit时候还有些问题未排查出来

* 解决了vmlaunch导致的cpu_reset的问题

* 整理代码

* 暂时性push到hyc仓库

* 修改内存虚拟化部分参数传入,解决死锁问题

* 初步完成ept映射.但不停EPT_VIOLATION

* 初步完成了EPT映射,但是读写内存还是有点问题

* fixme

* 更新了一些truncate到from_bits_unchecked的实现

* 完成内存虚拟化EPT_VIOLATION的映射

* fmt

* Remove /fixme from .gitignore

* Remove /fixme file

* Update kernel/src/init/init.rs

Co-authored-by: Samuel Dai <samuka007@dragonos.org>

* Update kernel/src/init/init.rs

Co-authored-by: Samuel Dai <samuka007@dragonos.org>

* 修改了注释格式,删除了附带的一些文件操作

* feat(syscall): 实现syscall restart (#1075)

能够在系统调用返回ERESTARTSYS时,信号处理结束后,自动重启系统调用.

TODO: 实现wait等需要restart_block的系统调用的重启

Signed-off-by: longjin <longjin@DragonOS.org>

* chore: update docker image version in script && update doc (#1076)

* chore: update docker image version in script

* chore: replace lots of spaces with newline in doc

* fix: 修复wait4系统调用部分语义与Linux不一致的问题 (#1080)

* fix: 修复wait4系统调用部分语义与Linux不一致的问题

解决wait不住/wait之后卡死的bug

---------

Signed-off-by: longjin <longjin@DragonOS.org>

* feat(fs/syscall): 实现fchdir系统调用 (#1081)

Signed-off-by: longjin <longjin@DragonOS.org>

* fix(mm): 修复fat文件系统的PageCache同步问题 (#1005)


---------

Co-authored-by: longjin <longjin@DragonOS.org>

* fix: 修正nographic启动时,控制台日志未能输出到文件的问题 (#1082)

Signed-off-by: longjin <longjin@DragonOS.org>

* fix(process): 修复copy_process的一些bug & 支持默认init进程传参 (#1083)

- 修复`copy_process`函数对标志位处理不正确的bug
- init进程搜索列表中,支持为默认init程序传入参数

Signed-off-by: longjin <longjin@DragonOS.org>

* feat: 完善sys_reboot (#1084)

* fix(process): 修复copy_process的一些bug & 支持默认init进程传参

- 修复`copy_process`函数对标志位处理不正确的bug
- init进程搜索列表中,支持为默认init程序传入参数

Signed-off-by: longjin <longjin@DragonOS.org>

* feat: 完善sys_reboot

- 校验magic number
- 支持多个cmd (具体内容未实现)

Signed-off-by: longjin <longjin@DragonOS.org>

---------

Signed-off-by: longjin <longjin@DragonOS.org>

* fix: 修复do_wait函数在wait所有子进程时,忘了释放锁就sleep的bug (#1089)

Signed-off-by: longjin <longjin@DragonOS.org>

* pull主线并且fmt

---------

Signed-off-by: longjin <longjin@DragonOS.org>
Co-authored-by: GnoCiYeH <heyicong@dragonos.org>
Co-authored-by: Samuel Dai <samuka007@dragonos.org>
Co-authored-by: LoGin <longjin@DragonOS.org>
Co-authored-by: LIU Yuwei <22045841+Marsman1996@users.noreply.github.com>
Co-authored-by: MemoryShore <1353318529@qq.com>
2025-03-04 10:56:20 +08:00
LoGin 23ef2b33d1 riscv: 把内核编译target改为riscv64gc & 获取time csr的频率 & 修正浮点保存与恢复的汇编的问题 (#699)
* 1. 把内核编译target改为riscv64gc
2. fix: 修正浮点保存与恢复的汇编的问题

* riscv: 获取time csr的频率
2024-04-06 22:13:26 +08:00
Donkey Kane 1d37ca6d17 添加mount系统调用 (#561)
* Modify dadk config to switch NovaShell revision

* finish primary build of mount(2), usable now

* 使用read_from_cstr函数优化代码可读性 , 针对文件系统新增错误EUNSUPFS

* small changes

* 添加系统调用文档

* cargo fmt

* Revert "small changes"

This reverts commit e1991314ce.

* 修复用户程序参数传入错误

* Revert "small changes"

This reverts commit e1991314ce.

* 解决合并冲突,最终提交

* 将dadk_config切换为相对路径以修复依赖问题

* Update settings.json

* Delete user/apps/test-mount/LICENSE

* 换用更好的c字符串读取函数,优化系统调用函数注释,修复错误处理bug,删除无用文件,修改测试程序readme

* 修改用户程序readme

* 代码格式化,初级版本

* 初级版本,未实现文件系统管理器,未支持设备挂载

* 为文件系统添加name方法,返回文件系统名字字符串,为挂载查询服务

* mount系统调用:添加统一文件系统初始化管理器

* null

* 解除冲突

* 删除无用kdebug
2024-03-20 15:31:20 +08:00
裕依 bc6f0a967c 移除relibc和old libc以及旧的shell (#529)
移除relibc和old libc以及旧的shell
2024-03-04 14:20:01 +08:00
LoGin 7b32f5080f 增加内存分配日志监视器 (#424)
* 完成内存日志监视,并输出日志到文件
* 修复进程退出后,procfs查看进程status文件会崩溃的问题
* 修复signal唤醒进程的判断条件问题
2023-11-07 21:39:27 +08:00
GnoCiYeHandLoGin 1603395155 支持syscall快速系统调用指令 (#417)
* 支持syscall快速系统调用指令

---------

Co-authored-by: LoGin <longjin@DragonOS.org>
2023-11-04 21:39:44 +08:00
Chiichenandchiichen 665f4a7707 更新了使用clangd的.gitignore (#415)
Co-authored-by: chiichen <chiichen@qq.com>
2023-11-01 14:18:00 +08:00
1496ba7b24 进程管理模块重构完成 (#380)
* 添加新版pcb的数据结构 (#273)

* 将pcb中的内容分类,分别加锁 (#305)

* 进程管理重构:完成fork的主体逻辑 (#309)

1.完成fork的主体逻辑
2.将文件系统接到新的pcb上
3.经过思考,暂时弃用signal机制,待进程管理重构完成后,重写signal机制.原因是原本的signal机制太烂了

* chdir getcwd pid pgid ppid (#310)


---------

Co-authored-by: longjin <longjin@RinGoTek.cn>

* 删除旧的fork以及signal的代码,并调整fork/vfork/execve系统调用 (#325)

1.删除旧的fork
2.删除signal相关代码,等进程管理重构结束之后,再重新写.
3.调整了fork/vfork/execve系统调用

* 实现切换进程的代码 (#331)



* 实现切换进程的代码

* Patch modify preempt (#332)

* 修改设置preempt的代码

* 删除rust的list和refcount

* 为每个核心初始化idle进程 (#333)

* 为每个核心初始化idle进程

* 完成了新的内核线程机制 (#335)

* 调度器的pcb替换为新的Arc<ProcessControlBlock>,把调度器队列锁从 RwSpinLock 替换为了 SpinLock (#336)

* 把调度器的pcb替换为新的Arc<ProcessControlBlock>

* 把调度器队列锁从 RwSpinLock 替换为了 SpinLock ,修改了签名以通过编译

* 修正一些双重加锁、细节问题

---------

Co-authored-by: longjin <longjin@RinGoTek.cn>

* github workflow自动检查代码是否格式化

* cache toolchain yml

* 调整rust版本的waitqueue中的pcb为新版的pcb (#343)

* 解决设置rust workspace带来的“工具链不一致”的问题 (#344)


* 解决设置rust workspace带来的“工具链不一致”的问题

更改workflow

* 调整pcb的sched_info和rwlock,以避免调度器死锁问题 (#341)

* 调整pcb的sched_info和rwlock,以避免调度器死锁问题

* 修改为在 WriterGuard 中维护 Irq_guard

* 修正了 write_irqsave方法

* 优化了代码

* 把 set state 操作从 wakup 移动到 sched_enqueue 中

* 修正为在 wakeup 中设置 running ,以保留 set_state 的私有性

* 移除了 process_wakeup

* 实现进程退出的逻辑 (#340)

实现进程退出的逻辑

* 标志进程sleep

* 修复wakeup的问题

---------

Co-authored-by: longjin <longjin@RinGoTek.cn>

* rust 重构 completion (#350)

* 完成了completion的基本结构,待完善上级调用

* 用SpinLock保护结构体并发安全

* 修改原子变量为u32,修复符号错误

* irq guard

* 修改为具有内部可变性的结构体

* temp fix

* 修复了由于进程持有自旋锁导致的不被调度的问题

* 对 complete 系列方法上锁,保护 done 数据并发安全

* 移除了未使用的依赖

* 重写显示刷新驱动 (#363)

* 重构显示刷新驱动

* Patch refactor process management (#366)

* 维护进程树

* 维护进程树

* 更改代码结构

* 新建进程时,设置cwd

* 调整adopt childern函数,降低开销

---------

Co-authored-by: longjin <longjin@RinGoTek.cn>

* waitqueue兼容C部分 (#351)

* PATH

* safe init

* waitqueue兼容C部分

* waitqueue兼容C部分

* 删除semaphore.c,在ps2_keyboard中使用waitqueue

* 删除semaphore.c,在ps2_keyboard中使用waitqueue

* current_pcb的C兼容

* current_pcb的C兼容

* current_pcb的C兼容

* fmt

* current_pcb的兼容

* 针对修改

* 调整代码

* fmt

* 删除pcb的set flags

* 更改函数名

---------

Co-authored-by: longjin <longjin@RinGoTek.cn>

* merge master

* Patch debug process management refactor (#372)

* 能够调通,执行完textui_init

* 能跑到initial kernel thread

* fmt

* 能够正常初始化所有服务(尚未能切换到用户程序)

* 删除部分无用的extern

* 存在问题:ap处理器启动后,bsp的smp_init函数return之后就出错了,怀疑是栈损坏

* 解决smp启动由于未换栈导致的内存访问错误

* debug

* 1

* 1

* lock no preempt

* 调通

* 优化代码,删除一些调试日志

* fix

* 使用rust重写wait4 (#377)

* 维护进程树

* 维护进程树

* 更改代码结构

* 新建进程时,设置cwd

* 调整adopt childern函数,降低开销

* wait4

* 删除c_sys_wait4

* 使用userbuffer保护裸指针

---------

Co-authored-by: longjin <longjin@RinGoTek.cn>

* 消除warning

* 1. 修正未设置cpu executing的问题

* 修正kthread机制可能存在的内存泄露问题

* 删除pcb文档

* 删除C的tss struct

---------

Co-authored-by: Bullet <93781792+GP-Bullet@users.noreply.github.com>
Co-authored-by: Chiichen <39649411+Chiichen@users.noreply.github.com>
Co-authored-by: hanjiezhou <zhouhanjie@dragonos.org>
Co-authored-by: GnoCiYeH <118462160+GnoCiYeH@users.noreply.github.com>
Co-authored-by: houmkh <1119644616@qq.com>
2023-09-15 14:58:19 +08:00
LoGin 9a367aa7eb 添加github workflow,检查代码是否已经格式化 (#342)
* 添加github workflow,检查代码是否已经格式化
2023-08-24 18:50:52 +08:00
loginandguanjinquan cde5492f72 新增网络socket的系统调用接口 (#247)
1.修复spinlock忘记恢复rflags的问题
2.WaitQueue增加wakeup_all的功能
3.完善tcp,udp,raw socket
4.把PollStatus结构体改为使用bitflags
5.新增iovec结构体
6.完成网络的系统调用
7.在bootstrap里面添加dnsmasq bridge-utils iptables

---------

Co-authored-by: guanjinquan <1666320330@qq.com>
2023-04-19 18:05:02 +08:00
guanjinquanandlongjin 2224c93ea9 完善libc,构建了OS-specific工具链,编译了基于gcc-11.3.0的DragonOS userland compiler,移植了mpfr,gmp,mpc库 (#134)
* 修改include路径

* 添加了创建libsysapi.a和/bin/sysroot/usr/include/+lib/的代码

* 修补.gitignore

* 删除多余项

* 优化脚本可读性

* 新增crt0 crti crtn

* 编译binutils所需的东西

* fflush()和fprintf()的简单实现

* 应用程序启动前,调用初始化libc的函数

* 自动创建sysroot

* 添加了stderr的初始化

* 修改了stderr的初始化

* 内核添加对stdio的简略处理

* 格式化代码

* 修正打开stdio文件描述符的问题

* bugfix: 修复fprintf忘记释放buf的问题

* 修复shell错误地把入口设置为main而不是_start的问题

* 新增__cxa_atexit  (gcc要求libc提供这个)

* 增加putchar puts

* 更新写入磁盘镜像的脚本,默认无参数时,使用legacy方式安装

* 更新编译脚本

* stdio增加eof的定义

* 新增extern cplusplus

* mpfr gmp mpc 构建脚本

* 更新libsysapi.a为libc.a

* 加上ferror fopen fclose

* 更新移植的软件的构建脚本

* 更改build_gcc_toolchain.sh中的-save参数名为-save-cache

Co-authored-by: longjin <longjin@RinGoTek.cn>
2023-01-06 21:29:23 +08:00
login d02e6ea411 调整编译grub的脚本的部分 (#108)
1、bugfix: 修复编译grub的脚本的部分错误
2、将grub下载源替换为tuna
3、优化写入磁盘镜像的脚本
4、将bios文件夹改名为legacy
2022-12-14 20:01:55 +08:00
YJwu2023 38b341b8aa 新增32位uefi启动 (#105)
* 新增32位uefi启动

* 修复小bug

* 增加grub本地编译安装

* 增加本地grub编译安装脚本

* 修正小错误

* 修复空文件夹不上传的bug
2022-12-14 16:58:49 +08:00
wwc-15172310230andlongjin 237e95c6dd 调整user下libs的libc目录结构 (#103)
* 调整user下libs的libc目录结构

* 修正.gitignore文件的问题

* 修复无法编译的问题

Co-authored-by: longjin <longjin@RinGoTek.cn>
2022-12-11 22:22:10 +08:00
login d328bfce6b bugfix: 修正潜在的错误路径 (#64)
* bugfix: 修正潜在的错误路径

* 修正格式
2022-10-22 20:17:40 +08:00
liric 518ce3818c 依然是一些针对Mac编译环境的适配 2022-09-15 21:19:20 +08:00
Eugene 618b612754 将 kernel\common\math\pow.c 的求幂运算优化为快速幂 2022-08-14 21:27:21 +08:00
longjin 0d0705a169 初始化了文档 2022-06-17 23:50:40 +08:00
fslongjin ffb0a3c961 update gitignore 2022-05-06 11:33:17 +08:00
fslongjin 22359344e4 🆕 uart驱动 2022-04-15 15:23:17 +08:00
fslongjin e667fff256 🆕 gdb源代码级别调试 2022-04-04 17:46:57 +08:00
fslongjin 6d286be29f 初步完成了ahci驱动程序 2022-04-02 19:14:35 +08:00
fslongjin b28f7d9c0d 🆕 新增了ata驱动程序 2022-03-20 21:35:36 +08:00
fslongjin d9d83335af 🆕 转换为grub2引导(尚未更正mm模块,且目前无法将内核链接到线性地址0xffffx处) 2022-02-21 22:59:57 +08:00
fslongjin 0b0cce9326 🆕 切换为grub2引导,能进入Start_Kernel函数(未能完成初始化) 2022-02-21 14:39:48 +08:00
fslongjin eb37e8a20c 🎉 创建了boot程序! 2022-01-15 12:49:18 +08:00