History log of /DragonOS/kernel/src/driver/video/ (Results 26 – 41 of 41)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
1496ba7b15-Sep-2023 LoGin <longjin@DragonOS.org>

进程管理模块重构完成 (#380)

* 添加新版pcb的数据结构 (#273)

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

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

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

*

进程管理模块重构完成 (#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>

show more ...


/DragonOS/.gitignore
/DragonOS/.vscode/settings.json
/DragonOS/docs/introduction/build_system.md
/DragonOS/docs/kernel/debug/debug-kernel-with-gdb.md
/DragonOS/docs/kernel/debug/index.rst
/DragonOS/docs/kernel/process_management/index.rst
/DragonOS/docs/kernel/process_management/kthread.md
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/arch/x86_64/asm/bitops.rs
/DragonOS/kernel/src/arch/x86_64/asm/mod.rs
/DragonOS/kernel/src/arch/x86_64/asm/spinlock.c
/DragonOS/kernel/src/arch/x86_64/cpu.rs
/DragonOS/kernel/src/arch/x86_64/fpu.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/mod.rs
/DragonOS/kernel/src/arch/x86_64/ipc/mod.rs
/DragonOS/kernel/src/arch/x86_64/mm/mod.rs
/DragonOS/kernel/src/arch/x86_64/mod.rs
/DragonOS/kernel/src/arch/x86_64/process/c_adapter.rs
/DragonOS/kernel/src/arch/x86_64/process/kthread.rs
/DragonOS/kernel/src/arch/x86_64/process/mod.rs
/DragonOS/kernel/src/arch/x86_64/process/syscall.rs
/DragonOS/kernel/src/arch/x86_64/process/table.rs
/DragonOS/kernel/src/arch/x86_64/sched.rs
/DragonOS/kernel/src/arch/x86_64/smp/mod.rs
/DragonOS/kernel/src/arch/x86_64/syscall.rs
/DragonOS/kernel/src/common/blk_types.h
/DragonOS/kernel/src/common/cpu.h
/DragonOS/kernel/src/common/elf.h
/DragonOS/kernel/src/common/stddef.h
/DragonOS/kernel/src/debug/Makefile
/DragonOS/kernel/src/debug/kallsyms.c
/DragonOS/kernel/src/debug/traceback/traceback.c
/DragonOS/kernel/src/driver/Makefile
/DragonOS/kernel/src/driver/base/block/block_device.rs
/DragonOS/kernel/src/driver/base/block/disk_info.rs
/DragonOS/kernel/src/driver/base/block/mod.rs
/DragonOS/kernel/src/driver/base/char/mod.rs
/DragonOS/kernel/src/driver/base/device/bus.rs
/DragonOS/kernel/src/driver/base/device/driver.rs
/DragonOS/kernel/src/driver/base/device/init.rs
/DragonOS/kernel/src/driver/base/device/mod.rs
/DragonOS/kernel/src/driver/base/map/mod.rs
/DragonOS/kernel/src/driver/base/mod.rs
/DragonOS/kernel/src/driver/base/platform/mod.rs
/DragonOS/kernel/src/driver/base/platform/platform_device.rs
/DragonOS/kernel/src/driver/base/platform/platform_driver.rs
/DragonOS/kernel/src/driver/disk/ahci/ahci_inode.rs
/DragonOS/kernel/src/driver/disk/ahci/ahcidisk.rs
/DragonOS/kernel/src/driver/disk/ahci/mod.rs
/DragonOS/kernel/src/driver/interrupt/apic/apic.c
/DragonOS/kernel/src/driver/interrupt/apic/apic2rust.h
/DragonOS/kernel/src/driver/interrupt/apic/apic_timer.c
/DragonOS/kernel/src/driver/keyboard/ps2_keyboard.c
/DragonOS/kernel/src/driver/mod.rs
/DragonOS/kernel/src/driver/net/virtio_net.rs
/DragonOS/kernel/src/driver/pci/pci_irq.c
/DragonOS/kernel/src/driver/timers/HPET/HPET.c
/DragonOS/kernel/src/driver/uart/mod.rs
/DragonOS/kernel/src/driver/uart/uart_device.rs
/DragonOS/kernel/src/driver/uart/uart_driver.rs
mod.rs
/DragonOS/kernel/src/driver/virtio/transport_pci.rs
/DragonOS/kernel/src/driver/virtio/virtio.rs
/DragonOS/kernel/src/exception/softirq.rs
/DragonOS/kernel/src/exception/trap.c
/DragonOS/kernel/src/filesystem/devfs/mod.rs
/DragonOS/kernel/src/filesystem/fat/bpb.rs
/DragonOS/kernel/src/filesystem/fat/entry.rs
/DragonOS/kernel/src/filesystem/fat/fs.rs
/DragonOS/kernel/src/filesystem/procfs/mod.rs
/DragonOS/kernel/src/filesystem/ramfs/mod.rs
/DragonOS/kernel/src/filesystem/sysfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/VFS.h
/DragonOS/kernel/src/filesystem/vfs/core.rs
/DragonOS/kernel/src/filesystem/vfs/file.rs
/DragonOS/kernel/src/filesystem/vfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/mount.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
/DragonOS/kernel/src/head.S
/DragonOS/kernel/src/include/DragonOS/signal.h
/DragonOS/kernel/src/include/bindings/wrapper.h
/DragonOS/kernel/src/ipc/mod.rs
/DragonOS/kernel/src/ipc/pipe.rs
/DragonOS/kernel/src/ipc/syscall.rs
/DragonOS/kernel/src/ktest/Makefile
/DragonOS/kernel/src/ktest/ktest.c
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/libs/align.rs
/DragonOS/kernel/src/libs/elf.rs
/DragonOS/kernel/src/libs/int_like.rs
/DragonOS/kernel/src/libs/lib_ui/screen_manager.h
/DragonOS/kernel/src/libs/lib_ui/screen_manager.rs
/DragonOS/kernel/src/libs/lib_ui/textui.rs
/DragonOS/kernel/src/libs/lib_ui/textui_no_alloc.rs
/DragonOS/kernel/src/libs/mod.rs
/DragonOS/kernel/src/libs/mutex.rs
/DragonOS/kernel/src/libs/once.rs
/DragonOS/kernel/src/libs/printk.rs
/DragonOS/kernel/src/libs/rwlock.rs
/DragonOS/kernel/src/libs/semaphore.rs
/DragonOS/kernel/src/libs/spinlock.rs
/DragonOS/kernel/src/libs/vec_cursor.rs
/DragonOS/kernel/src/libs/wait_queue.rs
/DragonOS/kernel/src/link.lds
/DragonOS/kernel/src/main.c
/DragonOS/kernel/src/mm/mm-types.h
/DragonOS/kernel/src/mm/mm.h
/DragonOS/kernel/src/mm/mmio_buddy.rs
/DragonOS/kernel/src/mm/mod.rs
/DragonOS/kernel/src/mm/syscall.rs
/DragonOS/kernel/src/mm/ucontext.rs
/DragonOS/kernel/src/net/net_core.rs
/DragonOS/kernel/src/net/socket.rs
/DragonOS/kernel/src/net/syscall.rs
/DragonOS/kernel/src/process/c_adapter.rs
/DragonOS/kernel/src/process/exec.rs
/DragonOS/kernel/src/process/fork.rs
/DragonOS/kernel/src/process/idle.rs
/DragonOS/kernel/src/process/init.rs
/DragonOS/kernel/src/process/kthread.rs
/DragonOS/kernel/src/process/mod.rs
/DragonOS/kernel/src/process/preempt.h
/DragonOS/kernel/src/process/proc-types.h
/DragonOS/kernel/src/process/process.h
/DragonOS/kernel/src/process/process.rs
/DragonOS/kernel/src/process/syscall.rs
/DragonOS/kernel/src/sched/cfs.rs
/DragonOS/kernel/src/sched/completion.rs
/DragonOS/kernel/src/sched/core.rs
/DragonOS/kernel/src/sched/mod.rs
/DragonOS/kernel/src/sched/rt.rs
/DragonOS/kernel/src/sched/sched.h
/DragonOS/kernel/src/sched/syscall.rs
/DragonOS/kernel/src/smp/c_adapter.rs
/DragonOS/kernel/src/smp/core.rs
/DragonOS/kernel/src/smp/mod.rs
/DragonOS/kernel/src/smp/smp.c
/DragonOS/kernel/src/smp/smp.h
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/syscall/syscall.c
/DragonOS/kernel/src/time/clocksource.c
/DragonOS/kernel/src/time/clocksource.h
/DragonOS/kernel/src/time/sleep.h
/DragonOS/kernel/src/time/sleep.rs
/DragonOS/kernel/src/time/timer.h
/DragonOS/kernel/src/time/timer.rs
/DragonOS/tools/.gdbinit
/DragonOS/tools/bootstrap.sh
/DragonOS/tools/build_gcc_toolchain.sh
/DragonOS/tools/grub_auto_install.sh
/DragonOS/user/Makefile
/DragonOS/user/apps/about/about.c
/DragonOS/user/apps/shell/cmd.c
/DragonOS/user/apps/shell/cmd_test.c
/DragonOS/user/apps/shell/cmd_test.h
/DragonOS/user/apps/test_uart/Makefile
/DragonOS/user/apps/test_uart/link.lds
/DragonOS/user/apps/test_uart/main.c
/DragonOS/user/dadk/config/test_uart-0.1.0.dadk
/DragonOS/user/libs/libc/src/malloc.c
/DragonOS/user/libs/libc/src/unistd.c
c757940b31-Aug-2023 YJwu2023 <yujianwu2019@gmail.com>

优化makefile (#352)


/DragonOS/.github/workflows/cache-toolchain.yml
/DragonOS/.github/workflows/makefile.yml
/DragonOS/.github/workflows/rustfmt.yml
/DragonOS/.gitignore
/DragonOS/Makefile
/DragonOS/docs/introduction/build_system.md
/DragonOS/kernel/Makefile
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/arch/mod.rs
/DragonOS/kernel/src/arch/x86_64/pci/pci.rs
/DragonOS/kernel/src/common/math/Makefile
/DragonOS/kernel/src/debug/traceback/traceback.h
/DragonOS/kernel/src/driver/acpi/Makefile
/DragonOS/kernel/src/driver/disk/Makefile
/DragonOS/kernel/src/driver/disk/ahci/ahci.h
/DragonOS/kernel/src/driver/disk/ahci/ahci_inode.rs
/DragonOS/kernel/src/driver/disk/ahci/ahcidisk.rs
/DragonOS/kernel/src/driver/disk/ahci/mod.rs
/DragonOS/kernel/src/driver/keyboard/Makefile
/DragonOS/kernel/src/driver/mouse/Makefile
/DragonOS/kernel/src/driver/multiboot2/Makefile
/DragonOS/kernel/src/driver/pci/Makefile
/DragonOS/kernel/src/driver/pci/pci.rs
/DragonOS/kernel/src/driver/pci/pci_irq.rs
Makefile
/DragonOS/kernel/src/driver/virtio/transport_pci.rs
/DragonOS/kernel/src/driver/virtio/virtio.rs
/DragonOS/kernel/src/filesystem/fat/bpb.rs
/DragonOS/kernel/src/filesystem/fat/entry.rs
/DragonOS/kernel/src/filesystem/fat/fs.rs
/DragonOS/kernel/src/filesystem/vfs/core.rs
/DragonOS/kernel/src/filesystem/vfs/file.rs
/DragonOS/kernel/src/filesystem/vfs/io/Makefile
/DragonOS/kernel/src/filesystem/vfs/io/block/Makefile
/DragonOS/kernel/src/filesystem/vfs/io/block/mod.rs
/DragonOS/kernel/src/filesystem/vfs/io/device.rs
/DragonOS/kernel/src/filesystem/vfs/io/disk_info.rs
/DragonOS/kernel/src/filesystem/vfs/io/mod.rs
/DragonOS/kernel/src/filesystem/vfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
/DragonOS/kernel/src/include/bindings/wrapper.h
/DragonOS/kernel/src/ktest/Makefile
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/libs/elf.rs
/DragonOS/kernel/src/libs/vec_cursor.rs
/DragonOS/kernel/src/main.c
/DragonOS/kernel/src/mm/mmio_buddy.rs
/DragonOS/kernel/src/mm/mod.rs
/DragonOS/kernel/src/mm/page.rs
/DragonOS/kernel/src/process/exec.rs
/DragonOS/kernel/src/syscall/Makefile
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/syscall/user_access.rs
/DragonOS/kernel/src/time/syscall.rs
/DragonOS/kernel/src/time/timekeeping.rs
/DragonOS/tools/bootstrap.sh
/DragonOS/user/Makefile
/DragonOS/user/apps/Makefile
/DragonOS/user/libs/Makefile
/DragonOS/user/libs/libc/Makefile
/DragonOS/user/libs/libc/build.rs
/DragonOS/user/libs/libc/src/Makefile
/DragonOS/user/libs/libc/src/include/internal/bindings/mod.rs
/DragonOS/user/libs/libc/src/include/internal/mod.rs
/DragonOS/user/libs/libc/src/include/mod.rs
abe3a6ea19-Aug-2023 hanjiezhou <zhouhanjie@dragonos.org>

Patch refactor scm and textui (#289)

* 重构屏幕管理器和textui框架

* 切换字体为spleen,并增加对字体的抽象

* 修正文档

---------

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


/DragonOS/.vscode/c_cpp_properties.json
/DragonOS/.vscode/settings.json
/DragonOS/docs/community/ChangeLog/V0.1.x/V0.1.8.md
/DragonOS/docs/community/ChangeLog/index.rst
/DragonOS/docs/community/contact/index.rst
/DragonOS/docs/index.rst
/DragonOS/docs/introduction/build_system.md
/DragonOS/docs/introduction/features.md
/DragonOS/docs/introduction/mirrors.md
/DragonOS/docs/kernel/core_api/index.rst
/DragonOS/docs/kernel/core_api/notifier_chain.md
/DragonOS/docs/kernel/libs/index.rst
/DragonOS/docs/kernel/libs/lib_ui/scm.md
/DragonOS/docs/kernel/libs/lib_ui/textui.md
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/src/arch/x86_64/cpu.rs
/DragonOS/kernel/src/arch/x86_64/fpu.rs
/DragonOS/kernel/src/arch/x86_64/include/asm/cmpxchg.h
/DragonOS/kernel/src/arch/x86_64/mm/mod.rs
/DragonOS/kernel/src/common/atomic.h
/DragonOS/kernel/src/common/printk.h
/DragonOS/kernel/src/common/time.h
/DragonOS/kernel/src/driver/interrupt/apic/apic.c
/DragonOS/kernel/src/driver/multiboot2/multiboot2.c
/DragonOS/kernel/src/driver/tty/tty_device.rs
video.c
video.h
/DragonOS/kernel/src/exception/softirq.rs
/DragonOS/kernel/src/filesystem/devfs/null_dev.rs
/DragonOS/kernel/src/filesystem/devfs/zero_dev.rs
/DragonOS/kernel/src/filesystem/fat/entry.rs
/DragonOS/kernel/src/filesystem/fat/fs.rs
/DragonOS/kernel/src/filesystem/vfs/core.rs
/DragonOS/kernel/src/filesystem/vfs/fcntl.rs
/DragonOS/kernel/src/filesystem/vfs/file.rs
/DragonOS/kernel/src/filesystem/vfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
/DragonOS/kernel/src/head.S
/DragonOS/kernel/src/include/bindings/wrapper.h
/DragonOS/kernel/src/io/device.rs
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/libs/Makefile
/DragonOS/kernel/src/libs/elf.rs
/DragonOS/kernel/src/libs/lib_ui/font/binaries/spleen-8x16.raw_bytes
/DragonOS/kernel/src/libs/lib_ui/font/mod.rs
/DragonOS/kernel/src/libs/lib_ui/font/spleen_font.rs
/DragonOS/kernel/src/libs/lib_ui/mod.rs
/DragonOS/kernel/src/libs/lib_ui/screen_manager.h
/DragonOS/kernel/src/libs/lib_ui/screen_manager.rs
/DragonOS/kernel/src/libs/lib_ui/textui.h
/DragonOS/kernel/src/libs/lib_ui/textui.rs
/DragonOS/kernel/src/libs/lib_ui/textui_no_alloc.rs
/DragonOS/kernel/src/libs/mod.rs
/DragonOS/kernel/src/libs/notifier.rs
/DragonOS/kernel/src/libs/printk.c
/DragonOS/kernel/src/libs/printk.rs
/DragonOS/kernel/src/libs/rwlock.rs
/DragonOS/kernel/src/libs/spinlock.rs
/DragonOS/kernel/src/main.c
/DragonOS/kernel/src/mm/allocator/buddy.rs
/DragonOS/kernel/src/mm/kernel_mapper.rs
/DragonOS/kernel/src/mm/mm.h
/DragonOS/kernel/src/mm/mod.rs
/DragonOS/kernel/src/mm/no_init.rs
/DragonOS/kernel/src/mm/percpu.rs
/DragonOS/kernel/src/mm/syscall.rs
/DragonOS/kernel/src/mm/ucontext.rs
/DragonOS/kernel/src/net/socket.rs
/DragonOS/kernel/src/process/process.rs
/DragonOS/kernel/src/process/syscall.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/syscall/syscall_num.h
/DragonOS/tools/.gdbinit
/DragonOS/tools/bootstrap.sh
/DragonOS/tools/build_gcc_toolchain.sh
/DragonOS/user/Makefile
/DragonOS/user/apps/about/about.c
/DragonOS/user/apps/http_server/Makefile
/DragonOS/user/apps/shell/cmd.c
/DragonOS/user/apps/shell/shell.c
/DragonOS/user/apps/test_bind/Makefile
/DragonOS/user/apps/test_bind/link.lds
/DragonOS/user/apps/test_bind/main.c
/DragonOS/user/apps/test_fstat/Makefile
/DragonOS/user/apps/test_fstat/link.lds
/DragonOS/user/apps/test_fstat/main.c
/DragonOS/user/apps/test_gettimeofday/Makefile
/DragonOS/user/apps/test_relibc/Makefile
/DragonOS/user/apps/test_sqlite3/.gitignore
/DragonOS/user/apps/test_sqlite3/Makefile
/DragonOS/user/apps/test_sqlite3/main.c
/DragonOS/user/dadk/config/relibc-0.1.0.dadk
/DragonOS/user/dadk/config/test_bind-0.1.0.dadk
/DragonOS/user/dadk/config/test_fstat-0.1.0.dadk
/DragonOS/user/dadk/config/test_sqlite3-3.42.0.dadk
/DragonOS/user/libs/libc/src/include/export/unistd.h
/DragonOS/user/libs/libc/src/unistd.c
40fe15e022-Jul-2023 LoGin <longjin@DragonOS.org>

新的内存管理模块 (#303)

&emsp;&emsp;实现了具有优秀架构设计的新的内存管理模块,对内核空间和用户空间的内存映射、分配、释放、管理等操作进行了封装,使得内核开发者可以更加方便地进行内存管理。

&emsp;&emsp;内存管理模块主要由以下类型的组件组成:

- **硬件抽象层(MemoryManagementArch)** - 提供对具体处理器架构的抽象,使得内存管理

新的内存管理模块 (#303)

&emsp;&emsp;实现了具有优秀架构设计的新的内存管理模块,对内核空间和用户空间的内存映射、分配、释放、管理等操作进行了封装,使得内核开发者可以更加方便地进行内存管理。

&emsp;&emsp;内存管理模块主要由以下类型的组件组成:

- **硬件抽象层(MemoryManagementArch)** - 提供对具体处理器架构的抽象,使得内存管理模块可以在不同的处理器架构上运行
- **页面映射器(PageMapper)**- 提供对虚拟地址和物理地址的映射,以及页表的创建、填写、销毁、权限管理等操作。分为两种类型:内核页表映射器(KernelMapper)和用户页表映射器(位于具体的用户地址空间结构中)
- **页面刷新器(PageFlusher)** - 提供对页表的刷新操作(整表刷新、单页刷新、跨核心刷新)
- **页帧分配器(FrameAllocator)** - 提供对页帧的分配、释放、管理等操作。具体来说,包括BumpAllocator、BuddyAllocator
- **小对象分配器** - 提供对小内存对象的分配、释放、管理等操作。指的是内核里面的SlabAllocator (SlabAllocator的实现目前还没有完成)
- **MMIO空间管理器** - 提供对MMIO地址空间的分配、管理操作。(目前这个模块待进一步重构)
- **用户地址空间管理机制** - 提供对用户地址空间的管理。
- VMA机制 - 提供对用户地址空间的管理,包括VMA的创建、销毁、权限管理等操作
- 用户映射管理 - 与VMA机制共同作用,管理用户地址空间的映射
- **系统调用层** - 提供对用户空间的内存管理系统调用,包括mmap、munmap、mprotect、mremap等
- **C接口兼容层** - 提供对原有的C代码的接口,是的C代码能够正常运行。


除上面的新增内容以外,其它的更改内容:
- 新增二进制加载器,以及elf的解析器
- 解决由于local_irq_save、local_irq_restore函数的汇编不规范导致影响栈行为的bug。
- 解决local_irq_save未关中断的错误。
- 修复sys_gettimeofday对timezone参数的处理的bug

---------

Co-authored-by: kong <kongweichao@dragonos.org>

show more ...


/DragonOS/.vscode/settings.json
/DragonOS/Makefile
/DragonOS/README.md
/DragonOS/README_EN.md
/DragonOS/docs/community/contact/index.rst
/DragonOS/docs/introduction/build_system.md
/DragonOS/docs/introduction/features.md
/DragonOS/docs/introduction/index.rst
/DragonOS/docs/kernel/core_api/index.rst
/DragonOS/docs/kernel/memory_management/allocate-memory.md
/DragonOS/docs/kernel/memory_management/index.rst
/DragonOS/docs/kernel/memory_management/intro.md
/DragonOS/docs/kernel/process_management/index.rst
/DragonOS/docs/kernel/process_management/load_binary.md
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/arch/mod.rs
/DragonOS/kernel/src/arch/x86_64/asm/irqflags.rs
/DragonOS/kernel/src/arch/x86_64/context.rs
/DragonOS/kernel/src/arch/x86_64/fpu.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/mod.rs
/DragonOS/kernel/src/arch/x86_64/libs/mod.rs
/DragonOS/kernel/src/arch/x86_64/mm/mod.rs
/DragonOS/kernel/src/arch/x86_64/mod.rs
/DragonOS/kernel/src/arch/x86_64/msi.rs
/DragonOS/kernel/src/arch/x86_64/syscall.rs
/DragonOS/kernel/src/common/atomic.h
/DragonOS/kernel/src/driver/acpi/acpi.c
/DragonOS/kernel/src/driver/base/char/mod.rs
/DragonOS/kernel/src/driver/base/device/mod.rs
/DragonOS/kernel/src/driver/disk/ahci/ahci.c
/DragonOS/kernel/src/driver/interrupt/apic/apic.c
/DragonOS/kernel/src/driver/pci/msi.c
/DragonOS/kernel/src/driver/pci/pci.rs
/DragonOS/kernel/src/driver/pci/pci_irq.rs
/DragonOS/kernel/src/driver/uart/uart.rs
video.c
/DragonOS/kernel/src/driver/virtio/virtio_impl.rs
/DragonOS/kernel/src/exception/mod.rs
/DragonOS/kernel/src/exception/softirq.rs
/DragonOS/kernel/src/filesystem/procfs/mod.rs
/DragonOS/kernel/src/filesystem/sysfs/bus.rs
/DragonOS/kernel/src/filesystem/vfs/VFS.h
/DragonOS/kernel/src/filesystem/vfs/file.rs
/DragonOS/kernel/src/head.S
/DragonOS/kernel/src/include/bindings/wrapper.h
/DragonOS/kernel/src/ipc/signal.rs
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/libs/align.rs
/DragonOS/kernel/src/libs/elf.rs
/DragonOS/kernel/src/libs/libUI/screen_manager.c
/DragonOS/kernel/src/libs/libUI/screen_manager.h
/DragonOS/kernel/src/libs/libUI/textui.c
/DragonOS/kernel/src/libs/libUI/textui.h
/DragonOS/kernel/src/libs/mod.rs
/DragonOS/kernel/src/libs/printk.c
/DragonOS/kernel/src/libs/printk.rs
/DragonOS/kernel/src/libs/rwlock.rs
/DragonOS/kernel/src/libs/spinlock.rs
/DragonOS/kernel/src/main.c
/DragonOS/kernel/src/mm/allocator/buddy.rs
/DragonOS/kernel/src/mm/allocator/bump.rs
/DragonOS/kernel/src/mm/allocator/kernel_allocator.rs
/DragonOS/kernel/src/mm/allocator/mod.rs
/DragonOS/kernel/src/mm/allocator/page_frame.rs
/DragonOS/kernel/src/mm/allocator/slab.rs
/DragonOS/kernel/src/mm/c_adapter.rs
/DragonOS/kernel/src/mm/kernel_mapper.rs
/DragonOS/kernel/src/mm/mm-types.h
/DragonOS/kernel/src/mm/mm.h
/DragonOS/kernel/src/mm/mmio.h
/DragonOS/kernel/src/mm/mmio_buddy.rs
/DragonOS/kernel/src/mm/mod.rs
/DragonOS/kernel/src/mm/no_init.rs
/DragonOS/kernel/src/mm/page.rs
/DragonOS/kernel/src/mm/slab.h
/DragonOS/kernel/src/mm/syscall.rs
/DragonOS/kernel/src/mm/ucontext.rs
/DragonOS/kernel/src/process/abi.rs
/DragonOS/kernel/src/process/c_adapter.rs
/DragonOS/kernel/src/process/exec.rs
/DragonOS/kernel/src/process/fork.c
/DragonOS/kernel/src/process/fork.rs
/DragonOS/kernel/src/process/mod.rs
/DragonOS/kernel/src/process/proc-types.h
/DragonOS/kernel/src/process/process.c
/DragonOS/kernel/src/process/process.h
/DragonOS/kernel/src/process/process.rs
/DragonOS/kernel/src/sched/cfs.rs
/DragonOS/kernel/src/sched/core.c
/DragonOS/kernel/src/sched/core.rs
/DragonOS/kernel/src/sched/rt.rs
/DragonOS/kernel/src/sched/syscall.rs
/DragonOS/kernel/src/smp/c_adapter.rs
/DragonOS/kernel/src/smp/mod.rs
/DragonOS/kernel/src/smp/smp.c
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/syscall/syscall.c
/DragonOS/kernel/src/syscall/syscall_num.h
/DragonOS/kernel/src/syscall/user_access.rs
/DragonOS/kernel/src/time/clocksource.rs
/DragonOS/kernel/src/time/jiffies.rs
/DragonOS/kernel/src/time/syscall.rs
/DragonOS/kernel/src/time/timekeeping.rs
/DragonOS/kernel/src/time/timer.h
/DragonOS/kernel/src/time/timer.rs
/DragonOS/user/apps/about/about.c
/DragonOS/user/apps/shell/cmd.c
/DragonOS/user/apps/test_relibc/Makefile
/DragonOS/user/libs/libc/src/malloc.c
/DragonOS/user/libs/libc/src/unistd.c
bb5f098a22-Jul-2023 LoGin <longjin@DragonOS.org>

Revert "新的内存管理模块 (#301)" (#302)

This reverts commit d8ad0a5e7724469abd5cc3cf271993538878033e.


/DragonOS/.vscode/settings.json
/DragonOS/Makefile
/DragonOS/README.md
/DragonOS/README_EN.md
/DragonOS/docs/Multiboot2 Specification version 2.0.pdf
/DragonOS/docs/community/contact/index.rst
/DragonOS/docs/introduction/build_system.md
/DragonOS/docs/introduction/features.md
/DragonOS/docs/introduction/index.rst
/DragonOS/docs/kernel/core_api/allocate-memory.md
/DragonOS/docs/kernel/core_api/index.rst
/DragonOS/docs/kernel/core_api/mm-api.md
/DragonOS/docs/kernel/memory_management/index.rst
/DragonOS/docs/kernel/process_management/index.rst
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/arch/mod.rs
/DragonOS/kernel/src/arch/x86_64/asm/irqflags.rs
/DragonOS/kernel/src/arch/x86_64/context.rs
/DragonOS/kernel/src/arch/x86_64/fpu.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/mod.rs
/DragonOS/kernel/src/arch/x86_64/mm/mod.rs
/DragonOS/kernel/src/arch/x86_64/mod.rs
/DragonOS/kernel/src/arch/x86_64/msi.rs
/DragonOS/kernel/src/arch/x86_64/syscall.rs
/DragonOS/kernel/src/common/atomic.h
/DragonOS/kernel/src/driver/acpi/acpi.c
/DragonOS/kernel/src/driver/base/char/mod.rs
/DragonOS/kernel/src/driver/base/device/mod.rs
/DragonOS/kernel/src/driver/disk/ahci/ahci.c
/DragonOS/kernel/src/driver/interrupt/apic/apic.c
/DragonOS/kernel/src/driver/pci/msi.c
/DragonOS/kernel/src/driver/pci/pci.rs
/DragonOS/kernel/src/driver/pci/pci_irq.rs
/DragonOS/kernel/src/driver/uart/uart.rs
video.c
/DragonOS/kernel/src/driver/virtio/virtio_impl.rs
/DragonOS/kernel/src/exception/mod.rs
/DragonOS/kernel/src/exception/softirq.rs
/DragonOS/kernel/src/filesystem/procfs/mod.rs
/DragonOS/kernel/src/filesystem/sysfs/bus.rs
/DragonOS/kernel/src/filesystem/vfs/VFS.h
/DragonOS/kernel/src/filesystem/vfs/file.rs
/DragonOS/kernel/src/head.S
/DragonOS/kernel/src/include/bindings/wrapper.h
/DragonOS/kernel/src/ipc/signal.rs
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/libs/align.rs
/DragonOS/kernel/src/libs/libUI/screen_manager.c
/DragonOS/kernel/src/libs/libUI/screen_manager.h
/DragonOS/kernel/src/libs/libUI/textui.c
/DragonOS/kernel/src/libs/libUI/textui.h
/DragonOS/kernel/src/libs/mod.rs
/DragonOS/kernel/src/libs/printk.c
/DragonOS/kernel/src/libs/printk.rs
/DragonOS/kernel/src/libs/rwlock.rs
/DragonOS/kernel/src/libs/spinlock.rs
/DragonOS/kernel/src/main.c
/DragonOS/kernel/src/mm/Makefile
/DragonOS/kernel/src/mm/allocator.rs
/DragonOS/kernel/src/mm/internal.h
/DragonOS/kernel/src/mm/mm-stat.c
/DragonOS/kernel/src/mm/mm-types.h
/DragonOS/kernel/src/mm/mm.c
/DragonOS/kernel/src/mm/mm.h
/DragonOS/kernel/src/mm/mmap.c
/DragonOS/kernel/src/mm/mmio.c
/DragonOS/kernel/src/mm/mmio.h
/DragonOS/kernel/src/mm/mmio_buddy.rs
/DragonOS/kernel/src/mm/mod.rs
/DragonOS/kernel/src/mm/slab.c
/DragonOS/kernel/src/mm/slab.h
/DragonOS/kernel/src/mm/syscall.rs
/DragonOS/kernel/src/mm/utils.c
/DragonOS/kernel/src/mm/vma.c
/DragonOS/kernel/src/process/fork.c
/DragonOS/kernel/src/process/fork.rs
/DragonOS/kernel/src/process/mod.rs
/DragonOS/kernel/src/process/proc-types.h
/DragonOS/kernel/src/process/process.c
/DragonOS/kernel/src/process/process.h
/DragonOS/kernel/src/process/process.rs
/DragonOS/kernel/src/sched/cfs.rs
/DragonOS/kernel/src/sched/core.c
/DragonOS/kernel/src/sched/core.rs
/DragonOS/kernel/src/sched/rt.rs
/DragonOS/kernel/src/sched/syscall.rs
/DragonOS/kernel/src/smp/mod.rs
/DragonOS/kernel/src/smp/smp.c
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/syscall/syscall.c
/DragonOS/kernel/src/syscall/syscall_num.h
/DragonOS/kernel/src/time/clocksource.rs
/DragonOS/kernel/src/time/jiffies.rs
/DragonOS/kernel/src/time/syscall.rs
/DragonOS/kernel/src/time/timekeeping.rs
/DragonOS/kernel/src/time/timer.h
/DragonOS/kernel/src/time/timer.rs
/DragonOS/user/apps/about/about.c
/DragonOS/user/apps/shell/cmd.c
/DragonOS/user/apps/test_relibc/Makefile
/DragonOS/user/libs/libc/src/malloc.c
/DragonOS/user/libs/libc/src/unistd.c
d8ad0a5e22-Jul-2023 LoGin <longjin@DragonOS.org>

新的内存管理模块 (#301)

&emsp;&emsp;实现了具有优秀架构设计的新的内存管理模块,对内核空间和用户空间的内存映射、分配、释放、管理等操作进行了封装,使得内核开发者可以更加方便地进行内存管理。

&emsp;&emsp;内存管理模块主要由以下类型的组件组成:

- **硬件抽象层(MemoryManagementArch)** - 提供对具体处理器架构的抽象,使得内存管理

新的内存管理模块 (#301)

&emsp;&emsp;实现了具有优秀架构设计的新的内存管理模块,对内核空间和用户空间的内存映射、分配、释放、管理等操作进行了封装,使得内核开发者可以更加方便地进行内存管理。

&emsp;&emsp;内存管理模块主要由以下类型的组件组成:

- **硬件抽象层(MemoryManagementArch)** - 提供对具体处理器架构的抽象,使得内存管理模块可以在不同的处理器架构上运行
- **页面映射器(PageMapper)**- 提供对虚拟地址和物理地址的映射,以及页表的创建、填写、销毁、权限管理等操作。分为两种类型:内核页表映射器(KernelMapper)和用户页表映射器(位于具体的用户地址空间结构中)
- **页面刷新器(PageFlusher)** - 提供对页表的刷新操作(整表刷新、单页刷新、跨核心刷新)
- **页帧分配器(FrameAllocator)** - 提供对页帧的分配、释放、管理等操作。具体来说,包括BumpAllocator、BuddyAllocator
- **小对象分配器** - 提供对小内存对象的分配、释放、管理等操作。指的是内核里面的SlabAllocator (SlabAllocator的实现目前还没有完成)
- **MMIO空间管理器** - 提供对MMIO地址空间的分配、管理操作。(目前这个模块待进一步重构)
- **用户地址空间管理机制** - 提供对用户地址空间的管理。
- VMA机制 - 提供对用户地址空间的管理,包括VMA的创建、销毁、权限管理等操作
- 用户映射管理 - 与VMA机制共同作用,管理用户地址空间的映射
- **系统调用层** - 提供对用户空间的内存管理系统调用,包括mmap、munmap、mprotect、mremap等
- **C接口兼容层** - 提供对原有的C代码的接口,是的C代码能够正常运行。


除上面的新增内容以外,其它的更改内容:
- 新增二进制加载器,以及elf的解析器
- 解决由于local_irq_save、local_irq_restore函数的汇编不规范导致影响栈行为的bug。
- 解决local_irq_save未关中断的错误。
- 修复sys_gettimeofday对timezone参数的处理的bug

show more ...


/DragonOS/.github/ISSUE_TEMPLATE/bug_report.md
/DragonOS/.github/ISSUE_TEMPLATE/请求新功能.md
/DragonOS/.github/workflows/makefile.yml
/DragonOS/.gitignore
/DragonOS/.vscode/c_cpp_properties.json
/DragonOS/.vscode/settings.json
/DragonOS/Makefile
/DragonOS/README.md
/DragonOS/README_EN.md
/DragonOS/docs/community/ChangeLog/V0.1.x/V0.1.7.md
/DragonOS/docs/community/ChangeLog/index.rst
/DragonOS/docs/community/contact/index.rst
/DragonOS/docs/introduction/build_system.md
/DragonOS/docs/introduction/features.md
/DragonOS/docs/introduction/index.rst
/DragonOS/docs/kernel/core_api/casting.md
/DragonOS/docs/kernel/core_api/index.rst
/DragonOS/docs/kernel/core_api/softirq.md
/DragonOS/docs/kernel/filesystem/index.rst
/DragonOS/docs/kernel/filesystem/sysfs.md
/DragonOS/docs/kernel/memory_management/allocate-memory.md
/DragonOS/docs/kernel/memory_management/index.rst
/DragonOS/docs/kernel/memory_management/intro.md
/DragonOS/docs/kernel/process_management/index.rst
/DragonOS/docs/kernel/process_management/load_binary.md
/DragonOS/docs/kernel/sched/cfs.md
/DragonOS/docs/kernel/sched/index.rst
/DragonOS/docs/kernel/sched/kernel_timer.md
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/rust-toolchain.toml
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/arch/mod.rs
/DragonOS/kernel/src/arch/x86_64/asm/irqflags.rs
/DragonOS/kernel/src/arch/x86_64/context.rs
/DragonOS/kernel/src/arch/x86_64/cpu.rs
/DragonOS/kernel/src/arch/x86_64/fpu.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/ipi.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/mod.rs
/DragonOS/kernel/src/arch/x86_64/libs/mod.rs
/DragonOS/kernel/src/arch/x86_64/mm/mod.rs
/DragonOS/kernel/src/arch/x86_64/mod.rs
/DragonOS/kernel/src/arch/x86_64/msi.rs
/DragonOS/kernel/src/arch/x86_64/pci/pci.rs
/DragonOS/kernel/src/arch/x86_64/rand.rs
/DragonOS/kernel/src/arch/x86_64/syscall.rs
/DragonOS/kernel/src/common/atomic.h
/DragonOS/kernel/src/common/cpu.h
/DragonOS/kernel/src/common/errno.h
/DragonOS/kernel/src/driver/Makefile
/DragonOS/kernel/src/driver/acpi/acpi.c
/DragonOS/kernel/src/driver/base/char/mod.rs
/DragonOS/kernel/src/driver/base/device/bus.rs
/DragonOS/kernel/src/driver/base/device/driver.rs
/DragonOS/kernel/src/driver/base/device/mod.rs
/DragonOS/kernel/src/driver/base/map/mod.rs
/DragonOS/kernel/src/driver/base/mod.rs
/DragonOS/kernel/src/driver/base/platform/mod.rs
/DragonOS/kernel/src/driver/base/platform/platform_device.rs
/DragonOS/kernel/src/driver/base/platform/platform_driver.rs
/DragonOS/kernel/src/driver/disk/ahci/ahci.c
/DragonOS/kernel/src/driver/disk/ahci/ahci_inode.rs
/DragonOS/kernel/src/driver/disk/ahci/ahcidisk.rs
/DragonOS/kernel/src/driver/interrupt/apic/apic.c
/DragonOS/kernel/src/driver/interrupt/apic/apic.h
/DragonOS/kernel/src/driver/keyboard/ps2_keyboard.rs
/DragonOS/kernel/src/driver/mod.rs
/DragonOS/kernel/src/driver/net/mod.rs
/DragonOS/kernel/src/driver/net/virtio_net.rs
/DragonOS/kernel/src/driver/pci/Makefile
/DragonOS/kernel/src/driver/pci/mod.rs
/DragonOS/kernel/src/driver/pci/msi.c
/DragonOS/kernel/src/driver/pci/pci.rs
/DragonOS/kernel/src/driver/pci/pci_irq.c
/DragonOS/kernel/src/driver/pci/pci_irq.h
/DragonOS/kernel/src/driver/pci/pci_irq.rs
/DragonOS/kernel/src/driver/timers/HPET/HPET.c
/DragonOS/kernel/src/driver/timers/rtc/rtc.rs
/DragonOS/kernel/src/driver/tty/mod.rs
/DragonOS/kernel/src/driver/tty/tty_device.rs
/DragonOS/kernel/src/driver/uart/uart.rs
video.c
/DragonOS/kernel/src/driver/virtio/transport_pci.rs
/DragonOS/kernel/src/driver/virtio/virtio.h
/DragonOS/kernel/src/driver/virtio/virtio.rs
/DragonOS/kernel/src/driver/virtio/virtio_impl.rs
/DragonOS/kernel/src/exception/entry.S
/DragonOS/kernel/src/exception/ipi.rs
/DragonOS/kernel/src/exception/mod.rs
/DragonOS/kernel/src/exception/softirq.h
/DragonOS/kernel/src/exception/softirq.rs
/DragonOS/kernel/src/exception/trap.c
/DragonOS/kernel/src/filesystem/devfs/mod.rs
/DragonOS/kernel/src/filesystem/devfs/null_dev.rs
/DragonOS/kernel/src/filesystem/devfs/zero_dev.rs
/DragonOS/kernel/src/filesystem/fat/fs.rs
/DragonOS/kernel/src/filesystem/mod.rs
/DragonOS/kernel/src/filesystem/procfs/mod.rs
/DragonOS/kernel/src/filesystem/ramfs/mod.rs
/DragonOS/kernel/src/filesystem/sysfs/bus.rs
/DragonOS/kernel/src/filesystem/sysfs/class.rs
/DragonOS/kernel/src/filesystem/sysfs/devices.rs
/DragonOS/kernel/src/filesystem/sysfs/fs.rs
/DragonOS/kernel/src/filesystem/sysfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/VFS.h
/DragonOS/kernel/src/filesystem/vfs/core.rs
/DragonOS/kernel/src/filesystem/vfs/file.rs
/DragonOS/kernel/src/filesystem/vfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
/DragonOS/kernel/src/head.S
/DragonOS/kernel/src/include/bindings/wrapper.h
/DragonOS/kernel/src/ipc/mod.rs
/DragonOS/kernel/src/ipc/pipe.rs
/DragonOS/kernel/src/ipc/signal.rs
/DragonOS/kernel/src/ipc/syscall.rs
/DragonOS/kernel/src/ktest/test-idr.c
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/libs/align.rs
/DragonOS/kernel/src/libs/casting.rs
/DragonOS/kernel/src/libs/cpu.c
/DragonOS/kernel/src/libs/elf.rs
/DragonOS/kernel/src/libs/int_like.rs
/DragonOS/kernel/src/libs/libUI/screen_manager.c
/DragonOS/kernel/src/libs/libUI/screen_manager.h
/DragonOS/kernel/src/libs/libUI/textui.c
/DragonOS/kernel/src/libs/libUI/textui.h
/DragonOS/kernel/src/libs/lockref.rs
/DragonOS/kernel/src/libs/mod.rs
/DragonOS/kernel/src/libs/printk.c
/DragonOS/kernel/src/libs/printk.rs
/DragonOS/kernel/src/libs/rwlock.rs
/DragonOS/kernel/src/libs/spinlock.rs
/DragonOS/kernel/src/libs/volatile.rs
/DragonOS/kernel/src/libs/wait_queue.rs
/DragonOS/kernel/src/main.c
/DragonOS/kernel/src/mm/allocator/buddy.rs
/DragonOS/kernel/src/mm/allocator/bump.rs
/DragonOS/kernel/src/mm/allocator/kernel_allocator.rs
/DragonOS/kernel/src/mm/allocator/mod.rs
/DragonOS/kernel/src/mm/allocator/page_frame.rs
/DragonOS/kernel/src/mm/allocator/slab.rs
/DragonOS/kernel/src/mm/c_adapter.rs
/DragonOS/kernel/src/mm/kernel_mapper.rs
/DragonOS/kernel/src/mm/mm-types.h
/DragonOS/kernel/src/mm/mm.h
/DragonOS/kernel/src/mm/mmio.h
/DragonOS/kernel/src/mm/mmio_buddy.rs
/DragonOS/kernel/src/mm/mod.rs
/DragonOS/kernel/src/mm/no_init.rs
/DragonOS/kernel/src/mm/page.rs
/DragonOS/kernel/src/mm/slab.h
/DragonOS/kernel/src/mm/syscall.rs
/DragonOS/kernel/src/mm/ucontext.rs
/DragonOS/kernel/src/net/endpoints.rs
/DragonOS/kernel/src/net/mod.rs
/DragonOS/kernel/src/net/net_core.rs
/DragonOS/kernel/src/net/socket.rs
/DragonOS/kernel/src/net/syscall.rs
/DragonOS/kernel/src/process/abi.rs
/DragonOS/kernel/src/process/c_adapter.rs
/DragonOS/kernel/src/process/exec.rs
/DragonOS/kernel/src/process/fork.c
/DragonOS/kernel/src/process/fork.rs
/DragonOS/kernel/src/process/mod.rs
/DragonOS/kernel/src/process/pid.rs
/DragonOS/kernel/src/process/proc-types.h
/DragonOS/kernel/src/process/process.c
/DragonOS/kernel/src/process/process.h
/DragonOS/kernel/src/process/process.rs
/DragonOS/kernel/src/process/syscall.rs
/DragonOS/kernel/src/sched/cfs.rs
/DragonOS/kernel/src/sched/core.c
/DragonOS/kernel/src/sched/core.rs
/DragonOS/kernel/src/sched/mod.rs
/DragonOS/kernel/src/sched/rt.rs
/DragonOS/kernel/src/sched/syscall.rs
/DragonOS/kernel/src/smp/c_adapter.rs
/DragonOS/kernel/src/smp/mod.rs
/DragonOS/kernel/src/smp/smp.c
/DragonOS/kernel/src/smp/smp.h
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/syscall/syscall.c
/DragonOS/kernel/src/syscall/syscall.h
/DragonOS/kernel/src/syscall/syscall_num.h
/DragonOS/kernel/src/syscall/user_access.rs
/DragonOS/kernel/src/time/Makefile
/DragonOS/kernel/src/time/clocksource.c
/DragonOS/kernel/src/time/clocksource.h
/DragonOS/kernel/src/time/clocksource.rs
/DragonOS/kernel/src/time/jiffies.h
/DragonOS/kernel/src/time/jiffies.rs
/DragonOS/kernel/src/time/mod.rs
/DragonOS/kernel/src/time/sleep.h
/DragonOS/kernel/src/time/sleep.rs
/DragonOS/kernel/src/time/syscall.rs
/DragonOS/kernel/src/time/timeconv.rs
/DragonOS/kernel/src/time/timekeeping.h
/DragonOS/kernel/src/time/timekeeping.rs
/DragonOS/kernel/src/time/timer.h
/DragonOS/kernel/src/time/timer.rs
/DragonOS/rust-toolchain.toml
/DragonOS/tools/bootstrap.sh
/DragonOS/tools/build_gcc_toolchain.sh
/DragonOS/tools/change_rust_src.sh
/DragonOS/tools/configure_network.sh
/DragonOS/tools/qemu/ifdown-nat
/DragonOS/tools/qemu/ifup-nat
/DragonOS/tools/run-qemu.sh
/DragonOS/tools/write_disk_image.sh
/DragonOS/user/Makefile
/DragonOS/user/apps/about/Makefile
/DragonOS/user/apps/about/about.c
/DragonOS/user/apps/http_server/Makefile
/DragonOS/user/apps/http_server/link.lds
/DragonOS/user/apps/http_server/main.c
/DragonOS/user/apps/shell/Makefile
/DragonOS/user/apps/shell/cmd.c
/DragonOS/user/apps/shell/cmd_test.c
/DragonOS/user/apps/test_gettimeofday/Makefile
/DragonOS/user/apps/test_gettimeofday/link.lds
/DragonOS/user/apps/test_gettimeofday/main.c
/DragonOS/user/apps/test_relibc/Makefile
/DragonOS/user/apps/test_relibc/link.lds
/DragonOS/user/apps/test_relibc/main.c
/DragonOS/user/apps/test_signal/Makefile
/DragonOS/user/dadk/config/.gitignore
/DragonOS/user/dadk/config/http_server-0.1.0.dadk
/DragonOS/user/dadk/config/relibc-0.1.0.dadk
/DragonOS/user/dadk/config/test_gettimeofday-0.1.0.dadk
/DragonOS/user/dadk/config/test_relibc-0.1.0.dadk
/DragonOS/user/libs/libc/src/include/export/errno.h
/DragonOS/user/libs/libc/src/malloc.c
/DragonOS/user/libs/libc/src/sys/stat.c
/DragonOS/user/libs/libc/src/unistd.c
/DragonOS/user/libs/libsystem/syscall.h
78bf93f009-Apr-2023 YJwu2023 <yujianwu2019@gmail.com>

pci重构+pcie支持 (#235)

* pci重构+pcie支持

* pci重构测试完成

* 修正makefile的问题

* 小修改

* 修改函数名字


/DragonOS/kernel/src/arch/mod.rs
/DragonOS/kernel/src/arch/x86_64/context.rs
/DragonOS/kernel/src/arch/x86_64/mod.rs
/DragonOS/kernel/src/arch/x86_64/pci/mod.rs
/DragonOS/kernel/src/arch/x86_64/pci/pci.rs
/DragonOS/kernel/src/driver/Makefile
/DragonOS/kernel/src/driver/acpi/acpi.c
/DragonOS/kernel/src/driver/acpi/acpi.h
/DragonOS/kernel/src/driver/acpi/acpi.rs
/DragonOS/kernel/src/driver/acpi/mod.rs
/DragonOS/kernel/src/driver/base/device/bus.rs
/DragonOS/kernel/src/driver/base/device/driver.rs
/DragonOS/kernel/src/driver/base/device/mod.rs
/DragonOS/kernel/src/driver/base/mod.rs
/DragonOS/kernel/src/driver/base/platform/mod.rs
/DragonOS/kernel/src/driver/base/platform/platform_device.rs
/DragonOS/kernel/src/driver/base/platform/platform_driver.rs
/DragonOS/kernel/src/driver/disk/ahci/ahci_inode.rs
/DragonOS/kernel/src/driver/disk/ahci/mod.rs
/DragonOS/kernel/src/driver/keyboard/mod.rs
/DragonOS/kernel/src/driver/mod.rs
/DragonOS/kernel/src/driver/pci/pci.h
/DragonOS/kernel/src/driver/pci/pci.rs
/DragonOS/kernel/src/driver/timers/rtc/rtc.rs
mod.rs
/DragonOS/kernel/src/driver/virtio/transport_pci.rs
/DragonOS/kernel/src/driver/virtio/virtio.h
/DragonOS/kernel/src/driver/virtio/virtio.rs
/DragonOS/kernel/src/driver/virtio/virtio_impl.rs
/DragonOS/kernel/src/filesystem/devfs/null_dev.rs
/DragonOS/kernel/src/filesystem/devfs/zero_dev.rs
/DragonOS/kernel/src/filesystem/fat/bpb.rs
/DragonOS/kernel/src/filesystem/fat/entry.rs
/DragonOS/kernel/src/filesystem/fat/fs.rs
/DragonOS/kernel/src/filesystem/procfs/mod.rs
/DragonOS/kernel/src/filesystem/ramfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/mount.rs
/DragonOS/kernel/src/io/device.rs
/DragonOS/kernel/src/ipc/signal.rs
/DragonOS/kernel/src/ipc/signal_types.rs
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/libs/lazy_init.rs
/DragonOS/kernel/src/libs/lockref.rs
/DragonOS/kernel/src/libs/mod.rs
/DragonOS/kernel/src/libs/mutex.rs
/DragonOS/kernel/src/libs/rbtree.rs
/DragonOS/kernel/src/libs/rwlock.rs
/DragonOS/kernel/src/libs/volatile.rs
/DragonOS/kernel/src/main.c
/DragonOS/kernel/src/mm/mmio_buddy.rs
/DragonOS/kernel/src/mm/mod.rs
/DragonOS/kernel/src/process/fork.rs
/DragonOS/kernel/src/syscall/mod.rs
e0dfd4d505-Apr-2023 hanjiezhou <zhouhanjie@dragonos.org>

修改CFSqueue从Vec变成红黑树 (#229)

使用了由tickbh编写的rbtree: https://github.com/tickbh/rbtree-rs/blob/master/src/lib.rs

Co-authored-by: tickbh <tickdream125@hotmail.com>

5d00b18504-Apr-2023 login <longjin@DragonOS.org>

修复显示刷新线程的空指针问题 (#228)

bacd691c02-Apr-2023 login <longjin@DragonOS.org>

软中断&定时器重构 (#223)

* 软中断&定时器重构

Co-authored-by: houmkh<houjiaying@DragonOS.org>

* 修改timer的clock()

* 删除debug信息

---------

Co-authored-by: houmkh <1119644616@qq.com>


/DragonOS/Makefile
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/arch/x86_64/cpu.rs
/DragonOS/kernel/src/common/time.h
/DragonOS/kernel/src/driver/interrupt/apic/apic.c
/DragonOS/kernel/src/driver/keyboard/ps2_keyboard.c
/DragonOS/kernel/src/driver/keyboard/ps2_keyboard.h
/DragonOS/kernel/src/driver/keyboard/ps2_keyboard.rs
/DragonOS/kernel/src/driver/mod.rs
/DragonOS/kernel/src/driver/timers/HPET/HPET.c
/DragonOS/kernel/src/driver/tty/mod.rs
/DragonOS/kernel/src/driver/tty/tty_device.rs
/DragonOS/kernel/src/driver/usb/xhci/xhci.c
mod.rs
video.c
video.h
/DragonOS/kernel/src/driver/virtio/virtio.rs
/DragonOS/kernel/src/exception/softirq.h
/DragonOS/kernel/src/exception/softirq.rs
/DragonOS/kernel/src/filesystem/devfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/core.rs
/DragonOS/kernel/src/filesystem/vfs/file.rs
/DragonOS/kernel/src/filesystem/vfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/mount.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
/DragonOS/kernel/src/include/bindings/wrapper.h
/DragonOS/kernel/src/ktest/test-mutex.c
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/libs/keyboard_parser.rs
/DragonOS/kernel/src/libs/mod.rs
/DragonOS/kernel/src/libs/spinlock.rs
/DragonOS/kernel/src/main.c
/DragonOS/kernel/src/mm/mod.rs
/DragonOS/kernel/src/process/kthread.c
/DragonOS/kernel/src/process/process.c
/DragonOS/kernel/src/process/process.rs
/DragonOS/kernel/src/sched/completion.c
/DragonOS/kernel/src/smp/core.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/syscall/syscall.c
/DragonOS/kernel/src/syscall/syscall_num.h
/DragonOS/kernel/src/time/mod.rs
/DragonOS/kernel/src/time/sleep.h
/DragonOS/kernel/src/time/sleep.rs
/DragonOS/kernel/src/time/timer.h
/DragonOS/kernel/src/time/timer.rs
/DragonOS/tools/run-qemu.sh
/DragonOS/user/apps/about/about.c
/DragonOS/user/apps/shell/cmd.c
/DragonOS/user/apps/shell/shell.c
/DragonOS/user/libs/libKeyboard/keyboard.c
/DragonOS/user/libs/libc/src/include/export/stdio.h
/DragonOS/user/libs/libc/src/include/export/unistd.h
/DragonOS/user/libs/libc/src/printf.c
/DragonOS/user/libs/libc/src/stdio.c
/DragonOS/user/libs/libc/src/unistd.c
/DragonOS/user/libs/libsystem/syscall.h
676b8ef629-Mar-2023 Mork <91721145+MorkCarpenter@users.noreply.github.com>

部分函数从返回值为Result<<>,i32>修改为Result<<>,SystemError> (#210)

* 将Result<<>,i32>替换为Result<<>,SystemError>
* bugfix: 显示双缓冲区初始化的时候,连续注册了两次Video Softirq的问题。

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


/DragonOS/.gitignore
/DragonOS/.vscode/c_cpp_properties.json
/DragonOS/.vscode/settings.json
/DragonOS/Makefile
/DragonOS/README.md
/DragonOS/README_EN.md
/DragonOS/docs/_static/.gitkeep
/DragonOS/docs/_templates/layout.html
/DragonOS/docs/community/ChangeLog/V0.1.x/V0.1.3.md
/DragonOS/docs/community/ChangeLog/V0.1.x/V0.1.4.md
/DragonOS/docs/community/ChangeLog/V0.1.x/V0.1.5.md
/DragonOS/docs/community/ChangeLog/index.rst
/DragonOS/docs/community/code_contribution/c-coding-style.md
/DragonOS/docs/community/code_contribution/index.rst
/DragonOS/docs/community/code_contribution/rust-coding-style.md
/DragonOS/docs/community/code_contribution/the-development-process.md
/DragonOS/docs/community/contact/index.rst
/DragonOS/docs/conf.py
/DragonOS/docs/index.rst
/DragonOS/docs/introduction/build_system.md
/DragonOS/docs/introduction/features.md
/DragonOS/docs/introduction/index.rst
/DragonOS/docs/introduction/mirrors.md
/DragonOS/docs/kernel/boot/bootloader.md
/DragonOS/docs/kernel/filesystem/index.rst
/DragonOS/docs/kernel/filesystem/overview.md
/DragonOS/docs/kernel/filesystem/vfs/api.md
/DragonOS/docs/kernel/filesystem/vfs/design.md
/DragonOS/docs/kernel/filesystem/vfs/index.rst
/DragonOS/docs/kernel/locking/index.rst
/DragonOS/docs/kernel/locking/lockref.md
/DragonOS/docs/kernel/locking/locks.md
/DragonOS/docs/kernel/locking/mutex.md
/DragonOS/docs/kernel/locking/rwlock.md
/DragonOS/docs/kernel/locking/spinlock.md
/DragonOS/docs/kernel/memory_management/mmio.md
/DragonOS/docs/kernel/process_management/kthread.md
/DragonOS/docs/kernel/sched/c_waiting.md
/DragonOS/docs/kernel/sched/cfs.md
/DragonOS/docs/kernel/sched/core.md
/DragonOS/docs/kernel/sched/index.rst
/DragonOS/docs/kernel/sched/rt.md
/DragonOS/docs/kernel/sched/rust_waiting.md
/DragonOS/docs/requirements.txt
/DragonOS/docs/syscall_api/index.rst
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/arch/x86_64/asm/bitops.rs
/DragonOS/kernel/src/arch/x86_64/asm/cmpxchg.c
/DragonOS/kernel/src/arch/x86_64/asm/cmpxchg.rs
/DragonOS/kernel/src/arch/x86_64/asm/mod.rs
/DragonOS/kernel/src/arch/x86_64/asm/ptrace.rs
/DragonOS/kernel/src/arch/x86_64/context.rs
/DragonOS/kernel/src/arch/x86_64/cpu.rs
/DragonOS/kernel/src/arch/x86_64/fpu.rs
/DragonOS/kernel/src/arch/x86_64/include/asm/cmpxchg.h
/DragonOS/kernel/src/arch/x86_64/interrupt/mod.rs
/DragonOS/kernel/src/arch/x86_64/mm/barrier.rs
/DragonOS/kernel/src/arch/x86_64/mm/mod.rs
/DragonOS/kernel/src/arch/x86_64/mod.rs
/DragonOS/kernel/src/arch/x86_64/x86_64_pci.c
/DragonOS/kernel/src/arch/x86_64/x86_64_pci.h
/DragonOS/kernel/src/common/blk_types.h
/DragonOS/kernel/src/common/completion.h
/DragonOS/kernel/src/common/errno.h
/DragonOS/kernel/src/common/fcntl.h
/DragonOS/kernel/src/common/kthread.h
/DragonOS/kernel/src/common/lockref.h
/DragonOS/kernel/src/common/time.h
/DragonOS/kernel/src/driver/Makefile
/DragonOS/kernel/src/driver/disk/ahci/ahci.c
/DragonOS/kernel/src/driver/disk/ahci/ahci.h
/DragonOS/kernel/src/driver/disk/ahci/ahci_inode.rs
/DragonOS/kernel/src/driver/disk/ahci/ahci_rust.h
/DragonOS/kernel/src/driver/disk/ahci/ahcidisk.rs
/DragonOS/kernel/src/driver/disk/ahci/hba.rs
/DragonOS/kernel/src/driver/disk/ahci/mod.rs
/DragonOS/kernel/src/driver/disk/mod.rs
/DragonOS/kernel/src/driver/interrupt/apic/apic.c
/DragonOS/kernel/src/driver/interrupt/apic/apic.h
/DragonOS/kernel/src/driver/interrupt/apic/apic_timer.c
/DragonOS/kernel/src/driver/interrupt/apic/apic_timer.h
/DragonOS/kernel/src/driver/keyboard/mod.rs
/DragonOS/kernel/src/driver/keyboard/ps2_keyboard.c
/DragonOS/kernel/src/driver/keyboard/ps2_keyboard.rs
/DragonOS/kernel/src/driver/mod.rs
/DragonOS/kernel/src/driver/pci/mod.rs
/DragonOS/kernel/src/driver/pci/msi.c
/DragonOS/kernel/src/driver/pci/pci.rs
/DragonOS/kernel/src/driver/timers/mod.rs
/DragonOS/kernel/src/driver/timers/rtc/mod.rs
/DragonOS/kernel/src/driver/timers/rtc/rtc.rs
/DragonOS/kernel/src/driver/tty/mod.rs
/DragonOS/kernel/src/driver/tty/tty_device.rs
/DragonOS/kernel/src/driver/uart/uart.rs
/DragonOS/kernel/src/driver/usb/xhci/xhci.c
video.c
/DragonOS/kernel/src/driver/virtio/Makefile
/DragonOS/kernel/src/driver/virtio/mod.rs
/DragonOS/kernel/src/driver/virtio/transport_pci.rs
/DragonOS/kernel/src/driver/virtio/virtio.c
/DragonOS/kernel/src/driver/virtio/virtio.h
/DragonOS/kernel/src/driver/virtio/virtio.rs
/DragonOS/kernel/src/driver/virtio/virtio_impl.rs
/DragonOS/kernel/src/exception/Makefile
/DragonOS/kernel/src/exception/entry.S
/DragonOS/kernel/src/exception/irq.c
/DragonOS/kernel/src/exception/irq.h
/DragonOS/kernel/src/exception/mod.rs
/DragonOS/kernel/src/exception/softirq.h
/DragonOS/kernel/src/exception/softirq.rs
/DragonOS/kernel/src/exception/trap.c
/DragonOS/kernel/src/filesystem/devfs/mod.rs
/DragonOS/kernel/src/filesystem/devfs/null_dev.rs
/DragonOS/kernel/src/filesystem/devfs/zero_dev.rs
/DragonOS/kernel/src/filesystem/fat/bpb.rs
/DragonOS/kernel/src/filesystem/fat/entry.rs
/DragonOS/kernel/src/filesystem/fat/fs.rs
/DragonOS/kernel/src/filesystem/fat/mod.rs
/DragonOS/kernel/src/filesystem/fat/utils.rs
/DragonOS/kernel/src/filesystem/mbr.rs
/DragonOS/kernel/src/filesystem/mod.rs
/DragonOS/kernel/src/filesystem/procfs/mod.rs
/DragonOS/kernel/src/filesystem/ramfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/VFS.h
/DragonOS/kernel/src/filesystem/vfs/core.rs
/DragonOS/kernel/src/filesystem/vfs/file.rs
/DragonOS/kernel/src/filesystem/vfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/mount.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
/DragonOS/kernel/src/filesystem/vfs/utils.rs
/DragonOS/kernel/src/include/bindings/mod.rs
/DragonOS/kernel/src/include/bindings/wrapper.h
/DragonOS/kernel/src/include/mod.rs
/DragonOS/kernel/src/io/Makefile
/DragonOS/kernel/src/io/block/Makefile
/DragonOS/kernel/src/io/block/mod.rs
/DragonOS/kernel/src/io/device.rs
/DragonOS/kernel/src/io/disk_info.rs
/DragonOS/kernel/src/io/mod.rs
/DragonOS/kernel/src/ipc/Makefile
/DragonOS/kernel/src/ipc/mod.rs
/DragonOS/kernel/src/ipc/signal.rs
/DragonOS/kernel/src/ipc/signal_types.rs
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/libs/atomic.rs
/DragonOS/kernel/src/libs/cpu.c
/DragonOS/kernel/src/libs/ffi_convert.rs
/DragonOS/kernel/src/libs/kfifo.c
/DragonOS/kernel/src/libs/libUI/textui.c
/DragonOS/kernel/src/libs/list.rs
/DragonOS/kernel/src/libs/lockref.c
/DragonOS/kernel/src/libs/lockref.rs
/DragonOS/kernel/src/libs/mod.rs
/DragonOS/kernel/src/libs/mutex.rs
/DragonOS/kernel/src/libs/refcount.rs
/DragonOS/kernel/src/libs/rwlock.rs
/DragonOS/kernel/src/libs/semaphore.c
/DragonOS/kernel/src/libs/semaphore.rs
/DragonOS/kernel/src/libs/spinlock.rs
/DragonOS/kernel/src/libs/vec_cursor.rs
/DragonOS/kernel/src/libs/volatile.rs
/DragonOS/kernel/src/libs/wait_queue.rs
/DragonOS/kernel/src/libs/wait_queue_head.c
/DragonOS/kernel/src/main.c
/DragonOS/kernel/src/mm/Makefile
/DragonOS/kernel/src/mm/allocator.rs
/DragonOS/kernel/src/mm/mm.c
/DragonOS/kernel/src/mm/mmio.c
/DragonOS/kernel/src/mm/mmio.h
/DragonOS/kernel/src/mm/mmio_buddy.rs
/DragonOS/kernel/src/mm/mod.rs
/DragonOS/kernel/src/net/mod.rs
/DragonOS/kernel/src/process/fork.c
/DragonOS/kernel/src/process/fork.rs
/DragonOS/kernel/src/process/initial_proc.rs
/DragonOS/kernel/src/process/mod.rs
/DragonOS/kernel/src/process/pid.rs
/DragonOS/kernel/src/process/proc-types.h
/DragonOS/kernel/src/process/process.c
/DragonOS/kernel/src/process/process.h
/DragonOS/kernel/src/process/process.rs
/DragonOS/kernel/src/sched/cfs.rs
/DragonOS/kernel/src/sched/completion.c
/DragonOS/kernel/src/sched/core.rs
/DragonOS/kernel/src/sched/mod.rs
/DragonOS/kernel/src/sched/rt.rs
/DragonOS/kernel/src/sched/sched.h
/DragonOS/kernel/src/smp/core.rs
/DragonOS/kernel/src/smp/mod.rs
/DragonOS/kernel/src/smp/smp.c
/DragonOS/kernel/src/smp/smp.h
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/syscall/syscall.c
/DragonOS/kernel/src/syscall/syscall.h
/DragonOS/kernel/src/time/mod.rs
/DragonOS/kernel/src/time/timekeep.rs
/DragonOS/tools/.gitignore
/DragonOS/tools/bootstrap.sh
/DragonOS/tools/build_gcc_toolchain.sh
/DragonOS/tools/grub_auto_install.sh
/DragonOS/tools/init_rust_toolchain.sh
/DragonOS/tools/list_contributors.py
/DragonOS/tools/run-qemu.sh
/DragonOS/tools/write_disk_image.sh
/DragonOS/user/Makefile
/DragonOS/user/apps/about/Makefile
/DragonOS/user/apps/about/about.c
/DragonOS/user/apps/about/about.lds
/DragonOS/user/apps/shell/Makefile
/DragonOS/user/apps/shell/cmd.c
/DragonOS/user/apps/shell/cmd_help.c
/DragonOS/user/apps/shell/cmd_test.c
/DragonOS/user/apps/shell/shell.c
/DragonOS/user/apps/shell/shell.lds
/DragonOS/user/apps/test_signal/Makefile
/DragonOS/user/apps/test_signal/link.lds
/DragonOS/user/apps/test_signal/main.c
/DragonOS/user/libs/libKeyboard/keyboard.c
/DragonOS/user/libs/libc/Makefile
/DragonOS/user/libs/libc/build.rs
/DragonOS/user/libs/libc/src/Makefile
/DragonOS/user/libs/libc/src/arch/x86_64/Makefile
/DragonOS/user/libs/libc/src/arch/x86_64/crt0.c
/DragonOS/user/libs/libc/src/arch/x86_64/crti.S
/DragonOS/user/libs/libc/src/arch/x86_64/crtn.S
/DragonOS/user/libs/libc/src/arch/x86_64/x86_64-unknown-none.json
/DragonOS/user/libs/libc/src/ctype.c
/DragonOS/user/libs/libc/src/cxa.c
/DragonOS/user/libs/libc/src/dirent.c
/DragonOS/user/libs/libc/src/errno.c
/DragonOS/user/libs/libc/src/fcntl.c
/DragonOS/user/libs/libc/src/include/export/__libc__.h
/DragonOS/user/libs/libc/src/include/export/ctype.h
/DragonOS/user/libs/libc/src/include/export/dirent.h
/DragonOS/user/libs/libc/src/include/export/errno.h
/DragonOS/user/libs/libc/src/include/export/fcntl.h
/DragonOS/user/libs/libc/src/include/export/libm.h
/DragonOS/user/libs/libc/src/include/export/math.h
/DragonOS/user/libs/libc/src/include/export/printf.h
/DragonOS/user/libs/libc/src/include/export/signal.h
/DragonOS/user/libs/libc/src/include/export/stddef.h
/DragonOS/user/libs/libc/src/include/export/stdint.h
/DragonOS/user/libs/libc/src/include/export/stdio.h
/DragonOS/user/libs/libc/src/include/export/stdlib.h
/DragonOS/user/libs/libc/src/include/export/string.h
/DragonOS/user/libs/libc/src/include/export/sys/stat.h
/DragonOS/user/libs/libc/src/include/export/sys/types.h
/DragonOS/user/libs/libc/src/include/export/sys/wait.h
/DragonOS/user/libs/libc/src/include/export/time.h
/DragonOS/user/libs/libc/src/include/export/unistd.h
/DragonOS/user/libs/libc/src/include/internal/bindings/.gitignore
/DragonOS/user/libs/libc/src/include/internal/bindings/mod.rs
/DragonOS/user/libs/libc/src/include/internal/bindings/wrapper.h
/DragonOS/user/libs/libc/src/include/internal/mod.rs
/DragonOS/user/libs/libc/src/include/mod.rs
/DragonOS/user/libs/libc/src/lib.rs
/DragonOS/user/libs/libc/src/libc_init.c
/DragonOS/user/libs/libc/src/malloc.c
/DragonOS/user/libs/libc/src/math/fabs.c
/DragonOS/user/libs/libc/src/math/pow.c
/DragonOS/user/libs/libc/src/math/round.c
/DragonOS/user/libs/libc/src/printf.c
/DragonOS/user/libs/libc/src/signal.c
/DragonOS/user/libs/libc/src/stdio.c
/DragonOS/user/libs/libc/src/stdlib.c
/DragonOS/user/libs/libc/src/string.c
/DragonOS/user/libs/libc/src/sys/stat.c
/DragonOS/user/libs/libc/src/sys/wait.c
/DragonOS/user/libs/libc/src/time.c
/DragonOS/user/libs/libc/src/unistd.c
/DragonOS/user/libs/libsystem/syscall.c
/DragonOS/user/libs/libsystem/syscall.h
/DragonOS/user/port/README.md
/DragonOS/user/port/binutils/2.38/.gitignore
/DragonOS/user/port/binutils/2.38/Dockerfile
/DragonOS/user/port/binutils/2.38/README.md
/DragonOS/user/port/binutils/2.38/build.sh
/DragonOS/user/port/binutils/2.38/run.sh
/DragonOS/user/port/build.sh
/DragonOS/user/port/flex/2.6.4/.gitignore
/DragonOS/user/port/flex/2.6.4/build.sh
/DragonOS/user/port/gcc/11.3.0/.gitignore
/DragonOS/user/port/gcc/11.3.0/build-hosted.sh
/DragonOS/user/port/gmp/6.2.1/build.sh
/DragonOS/user/port/mpc/1.2.1/build.sh
/DragonOS/user/port/mpfr/4.1.1/build.sh
/DragonOS/user/port/pkg-config.sh
d4f3de9331-Dec-2022 login <longjin@ringotek.cn>

使用Rust重构CFS调度器 (#131)

* 新建调度器的文件

* 把softirq vector移动到c文件中(原来在.h)

* 将进程切换方式改为“中断返回时切换”

* new:使用rust重构CFS

* 删除已经在smp中废弃的HPET中断转发函数

* 代码格式化

* 删除多余的dunce依赖


/DragonOS/.github/workflows/makefile.yml
/DragonOS/.gitignore
/DragonOS/.vscode/settings.json
/DragonOS/Makefile
/DragonOS/README.md
/DragonOS/README_EN.md
/DragonOS/docs/community/ChangeLog/V0.1.x/V0.1.2.md
/DragonOS/docs/community/ChangeLog/index.rst
/DragonOS/docs/community/code_contribution/index.rst
/DragonOS/docs/community/code_contribution/the-development-process.md
/DragonOS/docs/community/contact/index.rst
/DragonOS/docs/index.rst
/DragonOS/docs/introduction/build_system.md
/DragonOS/docs/kernel/ipc/index.rst
/DragonOS/docs/kernel/ipc/signal.md
/DragonOS/docs/userland/libc/apis/index.rst
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/Makefile
/DragonOS/kernel/build.rs
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/arch/x86_64/Makefile
/DragonOS/kernel/src/arch/x86_64/context.rs
/DragonOS/kernel/src/arch/x86_64/include/asm/asm.h
/DragonOS/kernel/src/arch/x86_64/mm/barrier.rs
/DragonOS/kernel/src/arch/x86_64/mm/mod.rs
/DragonOS/kernel/src/arch/x86_64/mod.rs
/DragonOS/kernel/src/arch/x86_64/sched.rs
/DragonOS/kernel/src/common/blk_types.h
/DragonOS/kernel/src/common/err.h
/DragonOS/kernel/src/common/glib.h
/DragonOS/kernel/src/common/kfifo.h
/DragonOS/kernel/src/common/lz4.h
/DragonOS/kernel/src/common/stddef.h
/DragonOS/kernel/src/common/sys/types.h
/DragonOS/kernel/src/debug/Makefile
/DragonOS/kernel/src/driver/disk/ahci/ahci.c
/DragonOS/kernel/src/driver/interrupt/apic/apic.c
/DragonOS/kernel/src/driver/mod.rs
/DragonOS/kernel/src/driver/multiboot2/multiboot2.c
/DragonOS/kernel/src/driver/multiboot2/multiboot2.h
/DragonOS/kernel/src/driver/pci/pci.h
/DragonOS/kernel/src/driver/timers/HPET/HPET.c
/DragonOS/kernel/src/driver/timers/HPET/HPET.h
/DragonOS/kernel/src/driver/timers/Makefile
/DragonOS/kernel/src/driver/timers/mod.rs
/DragonOS/kernel/src/driver/timers/rtc/mod.rs
/DragonOS/kernel/src/driver/timers/rtc/rtc.rs
video.c
/DragonOS/kernel/src/exception/Makefile
/DragonOS/kernel/src/exception/entry.S
/DragonOS/kernel/src/exception/softirq.c
/DragonOS/kernel/src/exception/softirq.h
/DragonOS/kernel/src/exception/trap.c
/DragonOS/kernel/src/head.S
/DragonOS/kernel/src/include/DragonOS/signal.h
/DragonOS/kernel/src/include/DragonOS/stdint.h
/DragonOS/kernel/src/include/bindings/wrapper.h
/DragonOS/kernel/src/ipc/signal.rs
/DragonOS/kernel/src/ipc/signal_types.rs
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/libs/Makefile
/DragonOS/kernel/src/libs/libELF/elf.h
/DragonOS/kernel/src/libs/lz4.c
/DragonOS/kernel/src/libs/mutex.c
/DragonOS/kernel/src/libs/semaphore.c
/DragonOS/kernel/src/libs/spinlock.rs
/DragonOS/kernel/src/main.c
/DragonOS/kernel/src/mm/mm.c
/DragonOS/kernel/src/mm/mod.rs
/DragonOS/kernel/src/process/Makefile
/DragonOS/kernel/src/process/fork.rs
/DragonOS/kernel/src/process/kthread.c
/DragonOS/kernel/src/process/pid.rs
/DragonOS/kernel/src/process/preempt.rs
/DragonOS/kernel/src/process/proc-types.h
/DragonOS/kernel/src/process/process.c
/DragonOS/kernel/src/process/process.h
/DragonOS/kernel/src/process/process.rs
/DragonOS/kernel/src/process/ptrace.h
/DragonOS/kernel/src/sched/cfs.rs
/DragonOS/kernel/src/sched/core.c
/DragonOS/kernel/src/sched/core.rs
/DragonOS/kernel/src/sched/mod.rs
/DragonOS/kernel/src/sched/sched.h
/DragonOS/kernel/src/smp/Makefile
/DragonOS/kernel/src/smp/core.rs
/DragonOS/kernel/src/smp/smp.c
/DragonOS/kernel/src/syscall/syscall.c
/DragonOS/kernel/src/syscall/syscall.h
/DragonOS/kernel/src/syscall/syscall_num.h
/DragonOS/kernel/src/time/mod.rs
/DragonOS/kernel/src/time/timekeep.rs
/DragonOS/kernel/src/time/timer.h
/DragonOS/tools/.gitignore
/DragonOS/tools/Dockerfile
/DragonOS/tools/arch/i386/efi/OVMF-pure-efi.fd
/DragonOS/tools/arch/i386/legacy/.gitkeep
/DragonOS/tools/arch/x86_64/efi/OVMF-pure-efi.fd
/DragonOS/tools/bootstrap.sh
/DragonOS/tools/build_gcc_toolchain.sh
/DragonOS/tools/build_in_docker.sh
/DragonOS/tools/create_hdd_image.sh
/DragonOS/tools/grub_auto_install.sh
/DragonOS/tools/run-qemu.sh
/DragonOS/tools/write_disk_image.sh
/DragonOS/user/Makefile
/DragonOS/user/apps/Makefile
/DragonOS/user/apps/about/.gitignore
/DragonOS/user/apps/about/Makefile
/DragonOS/user/apps/about/about.c
/DragonOS/user/apps/shell/Makefile
/DragonOS/user/apps/shell/cmd.c
/DragonOS/user/apps/shell/cmd_help.c
/DragonOS/user/apps/shell/cmd_test.c
/DragonOS/user/apps/shell/shell.c
/DragonOS/user/apps/test_signal/Makefile
/DragonOS/user/apps/test_signal/main.c
/DragonOS/user/libs/Makefile
/DragonOS/user/libs/libKeyboard/keyboard.c
/DragonOS/user/libs/libc/.cargo/config.toml
/DragonOS/user/libs/libc/.gitignore
/DragonOS/user/libs/libc/Cargo.toml
/DragonOS/user/libs/libc/Makefile
/DragonOS/user/libs/libc/src/Makefile
/DragonOS/user/libs/libc/src/__libc__.h
/DragonOS/user/libs/libc/src/ctype.c
/DragonOS/user/libs/libc/src/ctype.h
/DragonOS/user/libs/libc/src/dirent.c
/DragonOS/user/libs/libc/src/dirent.h
/DragonOS/user/libs/libc/src/errno.c
/DragonOS/user/libs/libc/src/errno.h
/DragonOS/user/libs/libc/src/fcntl.c
/DragonOS/user/libs/libc/src/fcntl.h
/DragonOS/user/libs/libc/src/include/signal.h
/DragonOS/user/libs/libc/src/include/stdint.h
/DragonOS/user/libs/libc/src/lib.rs
/DragonOS/user/libs/libc/src/malloc.c
/DragonOS/user/libs/libc/src/math.h
/DragonOS/user/libs/libc/src/math/Makefile
/DragonOS/user/libs/libc/src/math/fabs.c
/DragonOS/user/libs/libc/src/math/libm.h
/DragonOS/user/libs/libc/src/math/pow.c
/DragonOS/user/libs/libc/src/math/round.c
/DragonOS/user/libs/libc/src/printf.c
/DragonOS/user/libs/libc/src/printf.h
/DragonOS/user/libs/libc/src/signal.c
/DragonOS/user/libs/libc/src/stddef.h
/DragonOS/user/libs/libc/src/stdio.h
/DragonOS/user/libs/libc/src/stdlib.c
/DragonOS/user/libs/libc/src/stdlib.h
/DragonOS/user/libs/libc/src/string.c
/DragonOS/user/libs/libc/src/string.h
/DragonOS/user/libs/libc/src/sys/Makefile
/DragonOS/user/libs/libc/src/sys/stat.c
/DragonOS/user/libs/libc/src/sys/stat.h
/DragonOS/user/libs/libc/src/sys/types.h
/DragonOS/user/libs/libc/src/sys/wait.c
/DragonOS/user/libs/libc/src/sys/wait.h
/DragonOS/user/libs/libc/src/sysdeps/x86_64/Makefile
/DragonOS/user/libs/libc/src/sysdeps/x86_64/elf/start.c
/DragonOS/user/libs/libc/src/time.c
/DragonOS/user/libs/libc/src/time.h
/DragonOS/user/libs/libc/src/unistd.c
/DragonOS/user/libs/libc/src/unistd.h
/DragonOS/user/libs/libc/src/x86_64-unknown-none.json
/DragonOS/user/libs/libsystem/syscall.c
/DragonOS/user/libs/libsystem/syscall.h
1a2eaa4008-Dec-2022 login <longjin@ringotek.cn>

signal的处理(kill命令)以及一些其他的改进 (#100)

* 将entry.S中冗余的ret_from_syscall代码删除,改为jmp Restore_all

* new: 增加判断pt_regs是否来自用户态的函数

* new: rust的cli和sti封装

* 将原有的判断pt_regs是否来自用户态的代码,统一改为调用user_mode函数

* ff

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中发现的一些细节问题

show more ...

f8b55f6d06-Dec-2022 TingHuang <92705854+TingSHub@users.noreply.github.com>

Patch uart (#99)

* 添加UART驱动相关文件

* 添加驱动核心文件,将rust编写的驱动代码加入Package中

* 添加glib.h文件生成rust代码,添加uart驱动代码

* 添加串口发送及接收相关代码

* 添加字符串发送函数,未实现具体功能

* 为调用uart驱动的代码添加rust接口

* 添加字符串发送函数,修改C语言调用接口

Patch uart (#99)

* 添加UART驱动相关文件

* 添加驱动核心文件,将rust编写的驱动代码加入Package中

* 添加glib.h文件生成rust代码,添加uart驱动代码

* 添加串口发送及接收相关代码

* 添加字符串发送函数,未实现具体功能

* 为调用uart驱动的代码添加rust接口

* 添加字符串发送函数,修改C语言调用接口

* 添加rust串口驱动

* 添加uart.h头文件,将串口端口类型改为enum

* 添加注释,规范代码

show more ...


/DragonOS/.vscode/settings.json
/DragonOS/README.md
/DragonOS/README_EN.md
/DragonOS/docs/community/ChangeLog/V0.1.x/V0.1.1.md
/DragonOS/docs/community/ChangeLog/index.rst
/DragonOS/docs/kernel/process_management/index.rst
/DragonOS/docs/kernel/process_management/pcb.md
/DragonOS/docs/kernel/sched/waiting.md
/DragonOS/kernel/build.rs
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/arch/mod.rs
/DragonOS/kernel/src/arch/x86_64/Makefile
/DragonOS/kernel/src/arch/x86_64/asm/Makefile
/DragonOS/kernel/src/arch/x86_64/asm/current.rs
/DragonOS/kernel/src/arch/x86_64/asm/irqflags.rs
/DragonOS/kernel/src/arch/x86_64/asm/mod.rs
/DragonOS/kernel/src/arch/x86_64/asm/spinlock.c
/DragonOS/kernel/src/arch/x86_64/cpu.rs
/DragonOS/kernel/src/arch/x86_64/include/asm/asm.h
/DragonOS/kernel/src/arch/x86_64/include/asm/cmpxchg.h
/DragonOS/kernel/src/arch/x86_64/include/asm/current.h
/DragonOS/kernel/src/arch/x86_64/include/asm/irqflags.h
/DragonOS/kernel/src/arch/x86_64/mod.rs
/DragonOS/kernel/src/common/completion.h
/DragonOS/kernel/src/common/glib.h
/DragonOS/kernel/src/common/list.h
/DragonOS/kernel/src/common/spinlock.h
/DragonOS/kernel/src/common/string.h
/DragonOS/kernel/src/common/sys/types.h
/DragonOS/kernel/src/common/wait_queue.h
/DragonOS/kernel/src/driver/Makefile
/DragonOS/kernel/src/driver/mod.rs
/DragonOS/kernel/src/driver/uart/mod.rs
/DragonOS/kernel/src/driver/uart/uart.h
/DragonOS/kernel/src/driver/uart/uart.rs
video.c
/DragonOS/kernel/src/exception/entry.S
/DragonOS/kernel/src/filesystem/Makefile
/DragonOS/kernel/src/filesystem/VFS/VFS.c
/DragonOS/kernel/src/filesystem/VFS/VFS.h
/DragonOS/kernel/src/filesystem/procfs/Makefile
/DragonOS/kernel/src/filesystem/procfs/procfs.c
/DragonOS/kernel/src/filesystem/procfs/procfs.h
/DragonOS/kernel/src/filesystem/rootfs/rootfs.c
/DragonOS/kernel/src/include/DragonOS/refcount.h
/DragonOS/kernel/src/include/DragonOS/signal.h
/DragonOS/kernel/src/include/bindings/wrapper.h
/DragonOS/kernel/src/include/mod.rs
/DragonOS/kernel/src/ipc/mod.rs
/DragonOS/kernel/src/ipc/signal.rs
/DragonOS/kernel/src/ipc/signal_types.rs
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/libs/atomic.rs
/DragonOS/kernel/src/libs/ffi_convert.rs
/DragonOS/kernel/src/libs/libUI/screen_manager.c
/DragonOS/kernel/src/libs/libUI/textui.c
/DragonOS/kernel/src/libs/list.rs
/DragonOS/kernel/src/libs/lockref.c
/DragonOS/kernel/src/libs/mod.rs
/DragonOS/kernel/src/libs/printk.rs
/DragonOS/kernel/src/libs/refcount.rs
/DragonOS/kernel/src/libs/spinlock.rs
/DragonOS/kernel/src/libs/string.c
/DragonOS/kernel/src/libs/wait_queue.rs
/DragonOS/kernel/src/libs/wait_queue_head.c
/DragonOS/kernel/src/main.c
/DragonOS/kernel/src/mm/allocator.rs
/DragonOS/kernel/src/mm/gfp.rs
/DragonOS/kernel/src/mm/mm.h
/DragonOS/kernel/src/mm/mod.rs
/DragonOS/kernel/src/process/fork.c
/DragonOS/kernel/src/process/fork.rs
/DragonOS/kernel/src/process/initial_proc.rs
/DragonOS/kernel/src/process/mod.rs
/DragonOS/kernel/src/process/pid.rs
/DragonOS/kernel/src/process/preempt.h
/DragonOS/kernel/src/process/preempt.rs
/DragonOS/kernel/src/process/proc-types.h
/DragonOS/kernel/src/process/process.c
/DragonOS/kernel/src/process/process.h
/DragonOS/kernel/src/process/process.rs
/DragonOS/kernel/src/sched/core.rs
/DragonOS/kernel/src/sched/mod.rs
/DragonOS/kernel/src/sched/sched.c
/DragonOS/kernel/src/smp/core.rs
/DragonOS/kernel/src/smp/mod.rs
/DragonOS/kernel/src/smp/smp.c
/DragonOS/kernel/src/syscall/syscall.c
/DragonOS/kernel/src/syscall/syscall_num.h
/DragonOS/tools/bootstrap.sh
/DragonOS/tools/create_hdd_image.sh
/DragonOS/tools/write_disk_image.sh
/DragonOS/user/apps/about/about.c
/DragonOS/user/apps/shell/cmd.c
/DragonOS/user/apps/shell/cmd.h
/DragonOS/user/libs/libc/include/signal.h
/DragonOS/user/libs/libc/sys/types.h
/DragonOS/user/libs/libsystem/syscall.h
fb6c29d013-Nov-2022 login <longjin@ringotek.cn>

port kmalloc and printk to rust (#83)

* 暂时移除cbindgen

* 将lib文件夹更名为libs文件夹(解决rust的冲突)

* 实现了全局的allocator

* 实现了printk宏

* new: 完善了printk的颜色


/DragonOS/kernel/.cargo/config.toml
/DragonOS/kernel/.gitignore
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/build.rs
/DragonOS/kernel/cbindgen.toml
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/common/printk.h
video.h
/DragonOS/kernel/src/include/bindings/mod.rs
/DragonOS/kernel/src/include/bindings/wrapper.h
/DragonOS/kernel/src/include/gfp.rs
/DragonOS/kernel/src/include/mod.rs
/DragonOS/kernel/src/include/printk.rs
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/libs/Makefile
/DragonOS/kernel/src/libs/bitree.c
/DragonOS/kernel/src/libs/cpu.c
/DragonOS/kernel/src/libs/crc16.c
/DragonOS/kernel/src/libs/crc32.c
/DragonOS/kernel/src/libs/crc64.c
/DragonOS/kernel/src/libs/crc7.c
/DragonOS/kernel/src/libs/crc8.c
/DragonOS/kernel/src/libs/glib.c
/DragonOS/kernel/src/libs/idr.c
/DragonOS/kernel/src/libs/kfifo.c
/DragonOS/kernel/src/libs/libELF/Makefile
/DragonOS/kernel/src/libs/libELF/elf.c
/DragonOS/kernel/src/libs/libUI/Makefile
/DragonOS/kernel/src/libs/libUI/screen_manager.c
/DragonOS/kernel/src/libs/libUI/screen_manager.h
/DragonOS/kernel/src/libs/libUI/textui-render.c
/DragonOS/kernel/src/libs/libUI/textui.c
/DragonOS/kernel/src/libs/libUI/textui.h
/DragonOS/kernel/src/libs/lockref.c
/DragonOS/kernel/src/libs/lz4.c
/DragonOS/kernel/src/libs/mod.rs
/DragonOS/kernel/src/libs/mutex.c
/DragonOS/kernel/src/libs/printk.c
/DragonOS/kernel/src/libs/printk.rs
/DragonOS/kernel/src/libs/rust_helloworld/Makefile
/DragonOS/kernel/src/libs/rust_helloworld/helloworld.rs
/DragonOS/kernel/src/libs/semaphore.c
/DragonOS/kernel/src/libs/stdlib.c
/DragonOS/kernel/src/libs/string.c
/DragonOS/kernel/src/libs/sys/Makefile
/DragonOS/kernel/src/libs/sys/wait.c
/DragonOS/kernel/src/libs/unistd.c
/DragonOS/kernel/src/libs/wait_queue.c
/DragonOS/kernel/src/libs/wait_queue_head.c
/DragonOS/kernel/src/link.lds
/DragonOS/kernel/src/main.c
/DragonOS/kernel/src/mm/allocator.rs
/DragonOS/kernel/src/mm/mod.rs
/DragonOS/kernel/src/process/process.c
2813126e11-Nov-2022 login <longjin@ringotek.cn>

新增rust ffi (#77)

* 引入cargo

* 取消对Cargo.lock的跟踪

* 解决vscode报错问题

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

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

* 更改workflow

* update workflow

新增rust ffi (#77)

* 引入cargo

* 取消对Cargo.lock的跟踪

* 解决vscode报错问题

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

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

* 更改workflow

* update workflow

* new: 解决workflow无法通过编译的问题

show more ...


/DragonOS/.github/workflows/codeql.yml
/DragonOS/.github/workflows/makefile.yml
/DragonOS/.gitignore
/DragonOS/.idea/.gitignore
/DragonOS/.idea/customTargets.xml
/DragonOS/.idea/dragonOS.iml
/DragonOS/.idea/misc.xml
/DragonOS/.idea/modules.xml
/DragonOS/.idea/vcs.xml
/DragonOS/.vscode/.gitignore
/DragonOS/.vscode/c_cpp_properties.json
/DragonOS/.vscode/settings.json
/DragonOS/LICENSE
/DragonOS/Makefile
/DragonOS/README.md
/DragonOS/README_EN.md
/DragonOS/bochsrc
/DragonOS/bx_enh_dbg.ini
/DragonOS/docs/Makefile
/DragonOS/docs/Multiboot2 Specification version 2.0.pdf
/DragonOS/docs/community/ChangeLog/V0.1.x/V0.1.0.md
/DragonOS/docs/community/ChangeLog/index.rst
/DragonOS/docs/community/code_contribution/coding-style.md
/DragonOS/docs/community/code_contribution/index.rst
/DragonOS/docs/community/contact/index.rst
/DragonOS/docs/conf.py
/DragonOS/docs/index.rst
/DragonOS/docs/introduction/build_system.md
/DragonOS/docs/introduction/features.md
/DragonOS/docs/introduction/index.rst
/DragonOS/docs/kernel/boot/bootloader.md
/DragonOS/docs/kernel/boot/index.rst
/DragonOS/docs/kernel/boot/multiboot2.md
/DragonOS/docs/kernel/core_api/allocate-memory.md
/DragonOS/docs/kernel/core_api/atomic.md
/DragonOS/docs/kernel/core_api/data_structures.md
/DragonOS/docs/kernel/core_api/index.rst
/DragonOS/docs/kernel/core_api/kernel_api.md
/DragonOS/docs/kernel/core_api/mm-api.md
/DragonOS/docs/kernel/cpu_arch/index.rst
/DragonOS/docs/kernel/cpu_arch/x86_64/index.rst
/DragonOS/docs/kernel/cpu_arch/x86_64/usb_legacy_support.md
/DragonOS/docs/kernel/debug/index.rst
/DragonOS/docs/kernel/debug/traceback.md
/DragonOS/docs/kernel/filesystem/devfs/index.md
/DragonOS/docs/kernel/filesystem/fat32/index.md
/DragonOS/docs/kernel/filesystem/index.rst
/DragonOS/docs/kernel/filesystem/rootfs/index.md
/DragonOS/docs/kernel/filesystem/vfs/api.md
/DragonOS/docs/kernel/filesystem/vfs/index.rst
/DragonOS/docs/kernel/filesystem/vfs/overview.md
/DragonOS/docs/kernel/ktest/index.rst
/DragonOS/docs/kernel/ktest/ktest-framework.md
/DragonOS/docs/kernel/locking/index.rst
/DragonOS/docs/kernel/locking/lockref.md
/DragonOS/docs/kernel/locking/locks.md
/DragonOS/docs/kernel/memory_management/index.rst
/DragonOS/docs/kernel/memory_management/mmio.md
/DragonOS/docs/kernel/process_management/index.rst
/DragonOS/docs/kernel/process_management/kthread.md
/DragonOS/docs/kernel/sched/index.rst
/DragonOS/docs/kernel/sched/waiting.md
/DragonOS/docs/make.bat
/DragonOS/docs/requirements.txt
/DragonOS/docs/syscall_api/index.rst
/DragonOS/docs/syscall_api/intro.md
/DragonOS/docs/userland/libc/apis/api-list/ctype.md
/DragonOS/docs/userland/libc/apis/api-list/dirent.md
/DragonOS/docs/userland/libc/apis/api-list/errno.md
/DragonOS/docs/userland/libc/apis/api-list/fcntl.md
/DragonOS/docs/userland/libc/apis/api-list/math.md
/DragonOS/docs/userland/libc/apis/api-list/printf.md
/DragonOS/docs/userland/libc/apis/api-list/stddef.md
/DragonOS/docs/userland/libc/apis/api-list/stdio.md
/DragonOS/docs/userland/libc/apis/api-list/stdlib.md
/DragonOS/docs/userland/libc/apis/api-list/string.md
/DragonOS/docs/userland/libc/apis/api-list/time.md
/DragonOS/docs/userland/libc/apis/api-list/unistd.md
/DragonOS/docs/userland/libc/apis/index.rst
/DragonOS/docs/userland/libc/design/index.rst
/DragonOS/docs/userland/libc/index.rst
/DragonOS/docs/userland/libc/intro.md
/DragonOS/kernel/.cargo/config.toml
/DragonOS/kernel/.gitignore
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/Makefile
/DragonOS/kernel/build.rs
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/arch/Makefile
/DragonOS/kernel/src/arch/arch.h
/DragonOS/kernel/src/arch/x86_64/Makefile
/DragonOS/kernel/src/arch/x86_64/asm/asm.h
/DragonOS/kernel/src/arch/x86_64/asm/cmpxchg.h
/DragonOS/kernel/src/arch/x86_64/current.h
/DragonOS/kernel/src/arch/x86_64/ia64_msi.c
/DragonOS/kernel/src/arch/x86_64/ia64_msi.h
/DragonOS/kernel/src/arch/x86_64/math/bitcount.h
/DragonOS/kernel/src/arch/x86_64/x86_64-unknown-none.json
/DragonOS/kernel/src/arch/x86_64/x86_64_ipi.c
/DragonOS/kernel/src/arch/x86_64/x86_64_ipi.h
/DragonOS/kernel/src/common/Makefile
/DragonOS/kernel/src/common/asm.h
/DragonOS/kernel/src/common/atomic.h
/DragonOS/kernel/src/common/bitree.h
/DragonOS/kernel/src/common/blk_types.h
/DragonOS/kernel/src/common/block.h
/DragonOS/kernel/src/common/boot_info.h
/DragonOS/kernel/src/common/compiler.h
/DragonOS/kernel/src/common/compiler_attributes.h
/DragonOS/kernel/src/common/completion.h
/DragonOS/kernel/src/common/cpu.h
/DragonOS/kernel/src/common/crc16.h
/DragonOS/kernel/src/common/crc32.h
/DragonOS/kernel/src/common/crc64.h
/DragonOS/kernel/src/common/crc7.h
/DragonOS/kernel/src/common/crc8.h
/DragonOS/kernel/src/common/dirent.h
/DragonOS/kernel/src/common/elf.h
/DragonOS/kernel/src/common/err.h
/DragonOS/kernel/src/common/errno.h
/DragonOS/kernel/src/common/fcntl.h
/DragonOS/kernel/src/common/font.h
/DragonOS/kernel/src/common/gfp.h
/DragonOS/kernel/src/common/glib.h
/DragonOS/kernel/src/common/hid.h
/DragonOS/kernel/src/common/idr.h
/DragonOS/kernel/src/common/kfifo.h
/DragonOS/kernel/src/common/kprint.h
/DragonOS/kernel/src/common/kthread.h
/DragonOS/kernel/src/common/list.h
/DragonOS/kernel/src/common/lockref.h
/DragonOS/kernel/src/common/lz4.h
/DragonOS/kernel/src/common/math.h
/DragonOS/kernel/src/common/math/Makefile
/DragonOS/kernel/src/common/math/fabs.c
/DragonOS/kernel/src/common/math/libm.h
/DragonOS/kernel/src/common/math/pow.c
/DragonOS/kernel/src/common/math/round.c
/DragonOS/kernel/src/common/mutex.h
/DragonOS/kernel/src/common/numa.h
/DragonOS/kernel/src/common/printk.h
/DragonOS/kernel/src/common/semaphore.h
/DragonOS/kernel/src/common/spinlock.h
/DragonOS/kernel/src/common/stddef.h
/DragonOS/kernel/src/common/stdio.h
/DragonOS/kernel/src/common/stdlib.h
/DragonOS/kernel/src/common/string.h
/DragonOS/kernel/src/common/sys/types.h
/DragonOS/kernel/src/common/sys/wait.h
/DragonOS/kernel/src/common/time.h
/DragonOS/kernel/src/common/unistd.h
/DragonOS/kernel/src/common/user_namespace.h
/DragonOS/kernel/src/common/wait_queue.h
/DragonOS/kernel/src/common/wait_queue_head.h
/DragonOS/kernel/src/debug/.gitignore
/DragonOS/kernel/src/debug/Makefile
/DragonOS/kernel/src/debug/bug.h
/DragonOS/kernel/src/debug/kallsyms.c
/DragonOS/kernel/src/debug/traceback/traceback.c
/DragonOS/kernel/src/debug/traceback/traceback.h
/DragonOS/kernel/src/driver/Makefile
/DragonOS/kernel/src/driver/acpi/Makefile
/DragonOS/kernel/src/driver/acpi/acpi.c
/DragonOS/kernel/src/driver/acpi/acpi.h
/DragonOS/kernel/src/driver/disk/Makefile
/DragonOS/kernel/src/driver/disk/ahci/ahci.c
/DragonOS/kernel/src/driver/disk/ahci/ahci.h
/DragonOS/kernel/src/driver/disk/ata.c
/DragonOS/kernel/src/driver/disk/ata.h
/DragonOS/kernel/src/driver/hid/Makefile
/DragonOS/kernel/src/driver/hid/hidparse.c
/DragonOS/kernel/src/driver/hid/hidstrings.c
/DragonOS/kernel/src/driver/hid/internal.h
/DragonOS/kernel/src/driver/hid/usbhid/Makefile
/DragonOS/kernel/src/driver/interrupt/8259A/8259A.c
/DragonOS/kernel/src/driver/interrupt/8259A/8259A.h
/DragonOS/kernel/src/driver/interrupt/Makefile
/DragonOS/kernel/src/driver/interrupt/apic/apic.c
/DragonOS/kernel/src/driver/interrupt/apic/apic.h
/DragonOS/kernel/src/driver/interrupt/apic/apic_timer.c
/DragonOS/kernel/src/driver/interrupt/apic/apic_timer.h
/DragonOS/kernel/src/driver/keyboard/Makefile
/DragonOS/kernel/src/driver/keyboard/ps2_keyboard.c
/DragonOS/kernel/src/driver/keyboard/ps2_keyboard.h
/DragonOS/kernel/src/driver/mouse/Makefile
/DragonOS/kernel/src/driver/mouse/ps2_mouse.c
/DragonOS/kernel/src/driver/mouse/ps2_mouse.h
/DragonOS/kernel/src/driver/multiboot2/Makefile
/DragonOS/kernel/src/driver/multiboot2/multiboot2.c
/DragonOS/kernel/src/driver/multiboot2/multiboot2.h
/DragonOS/kernel/src/driver/pci/Makefile
/DragonOS/kernel/src/driver/pci/msi.c
/DragonOS/kernel/src/driver/pci/msi.h
/DragonOS/kernel/src/driver/pci/pci.c
/DragonOS/kernel/src/driver/pci/pci.h
/DragonOS/kernel/src/driver/timers/HPET/HPET.c
/DragonOS/kernel/src/driver/timers/HPET/HPET.h
/DragonOS/kernel/src/driver/timers/Makefile
/DragonOS/kernel/src/driver/timers/rtc/rtc.c
/DragonOS/kernel/src/driver/timers/rtc/rtc.h
/DragonOS/kernel/src/driver/tty/Makefile
/DragonOS/kernel/src/driver/tty/tty.c
/DragonOS/kernel/src/driver/tty/tty.h
/DragonOS/kernel/src/driver/uart/Makefile
/DragonOS/kernel/src/driver/uart/uart.c
/DragonOS/kernel/src/driver/uart/uart.h
/DragonOS/kernel/src/driver/usb/Makefile
/DragonOS/kernel/src/driver/usb/usb.c
/DragonOS/kernel/src/driver/usb/usb.h
/DragonOS/kernel/src/driver/usb/xhci/internal.h
/DragonOS/kernel/src/driver/usb/xhci/xhci.c
/DragonOS/kernel/src/driver/usb/xhci/xhci.h
Makefile
video.c
video.h
/DragonOS/kernel/src/exception/Makefile
/DragonOS/kernel/src/exception/entry.S
/DragonOS/kernel/src/exception/gate.h
/DragonOS/kernel/src/exception/irq.c
/DragonOS/kernel/src/exception/irq.h
/DragonOS/kernel/src/exception/softirq.c
/DragonOS/kernel/src/exception/softirq.h
/DragonOS/kernel/src/exception/trap.c
/DragonOS/kernel/src/exception/trap.h
/DragonOS/kernel/src/filesystem/MBR.c
/DragonOS/kernel/src/filesystem/MBR.h
/DragonOS/kernel/src/filesystem/Makefile
/DragonOS/kernel/src/filesystem/VFS/Makefile
/DragonOS/kernel/src/filesystem/VFS/VFS.c
/DragonOS/kernel/src/filesystem/VFS/VFS.h
/DragonOS/kernel/src/filesystem/VFS/dcache.c
/DragonOS/kernel/src/filesystem/VFS/internal.h
/DragonOS/kernel/src/filesystem/VFS/mount.c
/DragonOS/kernel/src/filesystem/VFS/mount.h
/DragonOS/kernel/src/filesystem/block.c
/DragonOS/kernel/src/filesystem/devfs/Makefile
/DragonOS/kernel/src/filesystem/devfs/chardev.c
/DragonOS/kernel/src/filesystem/devfs/chardev.h
/DragonOS/kernel/src/filesystem/devfs/devfs-types.h
/DragonOS/kernel/src/filesystem/devfs/devfs.c
/DragonOS/kernel/src/filesystem/devfs/devfs.h
/DragonOS/kernel/src/filesystem/devfs/internal.h
/DragonOS/kernel/src/filesystem/fat32/Makefile
/DragonOS/kernel/src/filesystem/fat32/fat32.c
/DragonOS/kernel/src/filesystem/fat32/fat32.h
/DragonOS/kernel/src/filesystem/fat32/fat_ent.c
/DragonOS/kernel/src/filesystem/fat32/fat_ent.h
/DragonOS/kernel/src/filesystem/fat32/internal.h
/DragonOS/kernel/src/filesystem/rootfs/Makefile
/DragonOS/kernel/src/filesystem/rootfs/rootfs.c
/DragonOS/kernel/src/filesystem/rootfs/rootfs.h
/DragonOS/kernel/src/head.S
/DragonOS/kernel/src/include/bindings/wrapper.h
/DragonOS/kernel/src/ipc/Makefile
/DragonOS/kernel/src/ipc/pipe.c
/DragonOS/kernel/src/ipc/pipe.h
/DragonOS/kernel/src/ktest/Makefile
/DragonOS/kernel/src/ktest/ktest.c
/DragonOS/kernel/src/ktest/ktest.h
/DragonOS/kernel/src/ktest/ktest_utils.h
/DragonOS/kernel/src/ktest/test-bitree.c
/DragonOS/kernel/src/ktest/test-idr.c
/DragonOS/kernel/src/ktest/test-kfifo.c
/DragonOS/kernel/src/ktest/test-mutex.c
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/lib/Makefile
/DragonOS/kernel/src/lib/bitree.c
/DragonOS/kernel/src/lib/cpu.c
/DragonOS/kernel/src/lib/crc16.c
/DragonOS/kernel/src/lib/crc32.c
/DragonOS/kernel/src/lib/crc64.c
/DragonOS/kernel/src/lib/crc7.c
/DragonOS/kernel/src/lib/crc8.c
/DragonOS/kernel/src/lib/glib.c
/DragonOS/kernel/src/lib/idr.c
/DragonOS/kernel/src/lib/kfifo.c
/DragonOS/kernel/src/lib/libELF/Makefile
/DragonOS/kernel/src/lib/libELF/elf.c
/DragonOS/kernel/src/lib/libUI/Makefile
/DragonOS/kernel/src/lib/libUI/screen_manager.c
/DragonOS/kernel/src/lib/libUI/screen_manager.h
/DragonOS/kernel/src/lib/libUI/textui-render.c
/DragonOS/kernel/src/lib/libUI/textui.c
/DragonOS/kernel/src/lib/libUI/textui.h
/DragonOS/kernel/src/lib/lockref.c
/DragonOS/kernel/src/lib/lz4.c
/DragonOS/kernel/src/lib/mutex.c
/DragonOS/kernel/src/lib/printk.c
/DragonOS/kernel/src/lib/rust_helloworld/Makefile
/DragonOS/kernel/src/lib/rust_helloworld/helloworld.rs
/DragonOS/kernel/src/lib/semaphore.c
/DragonOS/kernel/src/lib/stdlib.c
/DragonOS/kernel/src/lib/string.c
/DragonOS/kernel/src/lib/sys/Makefile
/DragonOS/kernel/src/lib/sys/wait.c
/DragonOS/kernel/src/lib/unistd.c
/DragonOS/kernel/src/lib/wait_queue.c
/DragonOS/kernel/src/lib/wait_queue_head.c
/DragonOS/kernel/src/link.lds
/DragonOS/kernel/src/main.c
/DragonOS/kernel/src/mm/Makefile
/DragonOS/kernel/src/mm/internal.h
/DragonOS/kernel/src/mm/mm-stat.c
/DragonOS/kernel/src/mm/mm-types.h
/DragonOS/kernel/src/mm/mm.c
/DragonOS/kernel/src/mm/mm.h
/DragonOS/kernel/src/mm/mmap.c
/DragonOS/kernel/src/mm/mmio-buddy.c
/DragonOS/kernel/src/mm/mmio-buddy.h
/DragonOS/kernel/src/mm/mmio.c
/DragonOS/kernel/src/mm/mmio.h
/DragonOS/kernel/src/mm/slab.c
/DragonOS/kernel/src/mm/slab.h
/DragonOS/kernel/src/mm/utils.c
/DragonOS/kernel/src/mm/vma.c
/DragonOS/kernel/src/process/Makefile
/DragonOS/kernel/src/process/kthread.c
/DragonOS/kernel/src/process/preempt.h
/DragonOS/kernel/src/process/proc-types.h
/DragonOS/kernel/src/process/proc.S
/DragonOS/kernel/src/process/process.c
/DragonOS/kernel/src/process/process.h
/DragonOS/kernel/src/process/ptrace.h
/DragonOS/kernel/src/sched/Makefile
/DragonOS/kernel/src/sched/cfs.c
/DragonOS/kernel/src/sched/cfs.h
/DragonOS/kernel/src/sched/completion.c
/DragonOS/kernel/src/sched/sched.c
/DragonOS/kernel/src/sched/sched.h
/DragonOS/kernel/src/smp/Makefile
/DragonOS/kernel/src/smp/apu_boot.S
/DragonOS/kernel/src/smp/ipi.h
/DragonOS/kernel/src/smp/smp.c
/DragonOS/kernel/src/smp/smp.h
/DragonOS/kernel/src/syscall/Makefile
/DragonOS/kernel/src/syscall/syscall.c
/DragonOS/kernel/src/syscall/syscall.h
/DragonOS/kernel/src/syscall/syscall_num.h
/DragonOS/kernel/src/time/Makefile
/DragonOS/kernel/src/time/sleep.c
/DragonOS/kernel/src/time/sleep.h
/DragonOS/kernel/src/time/timer.c
/DragonOS/kernel/src/time/timer.h
/DragonOS/tools/.gdbinit
/DragonOS/tools/batch_delete_loop.py
/DragonOS/tools/bochsinit
/DragonOS/tools/bootstrap.sh
/DragonOS/tools/build_in_docker.sh
/DragonOS/tools/change_rust_src.sh
/DragonOS/tools/create_hdd_image.sh
/DragonOS/tools/dump_kernel.sh
/DragonOS/tools/mount_virt_disk.sh
/DragonOS/tools/run-qemu.sh
/DragonOS/tools/umount_virt_disk.sh
/DragonOS/tools/write_disk_image.sh
/DragonOS/user/Makefile
/DragonOS/user/apps/Makefile
/DragonOS/user/apps/about/Makefile
/DragonOS/user/apps/about/about.c
/DragonOS/user/apps/about/about.lds
/DragonOS/user/apps/shell/Makefile
/DragonOS/user/apps/shell/cmd.c
/DragonOS/user/apps/shell/cmd.h
/DragonOS/user/apps/shell/cmd_help.c
/DragonOS/user/apps/shell/cmd_help.h
/DragonOS/user/apps/shell/cmd_test.c
/DragonOS/user/apps/shell/cmd_test.h
/DragonOS/user/apps/shell/shell.c
/DragonOS/user/apps/shell/shell.lds
/DragonOS/user/libs/Makefile
/DragonOS/user/libs/libKeyboard/Makefile
/DragonOS/user/libs/libKeyboard/keyboard.c
/DragonOS/user/libs/libKeyboard/keyboard.h
/DragonOS/user/libs/libc/Makefile
/DragonOS/user/libs/libc/__libc__.h
/DragonOS/user/libs/libc/ctype.c
/DragonOS/user/libs/libc/ctype.h
/DragonOS/user/libs/libc/dirent.c
/DragonOS/user/libs/libc/dirent.h
/DragonOS/user/libs/libc/errno.c
/DragonOS/user/libs/libc/errno.h
/DragonOS/user/libs/libc/fcntl.c
/DragonOS/user/libs/libc/fcntl.h
/DragonOS/user/libs/libc/malloc.c
/DragonOS/user/libs/libc/math.h
/DragonOS/user/libs/libc/math/Makefile
/DragonOS/user/libs/libc/math/fabs.c
/DragonOS/user/libs/libc/math/libm.h
/DragonOS/user/libs/libc/math/pow.c
/DragonOS/user/libs/libc/math/round.c
/DragonOS/user/libs/libc/printf.c
/DragonOS/user/libs/libc/printf.h
/DragonOS/user/libs/libc/stddef.h
/DragonOS/user/libs/libc/stdio.h
/DragonOS/user/libs/libc/stdlib.c
/DragonOS/user/libs/libc/stdlib.h
/DragonOS/user/libs/libc/string.c
/DragonOS/user/libs/libc/string.h
/DragonOS/user/libs/libc/sys/Makefile
/DragonOS/user/libs/libc/sys/stat.c
/DragonOS/user/libs/libc/sys/stat.h
/DragonOS/user/libs/libc/sys/types.h
/DragonOS/user/libs/libc/sys/wait.c
/DragonOS/user/libs/libc/sys/wait.h
/DragonOS/user/libs/libc/sysdeps/x86_64/Makefile
/DragonOS/user/libs/libc/sysdeps/x86_64/elf/start.c
/DragonOS/user/libs/libc/time.c
/DragonOS/user/libs/libc/time.h
/DragonOS/user/libs/libc/unistd.c
/DragonOS/user/libs/libc/unistd.h
/DragonOS/user/libs/libsystem/Makefile
/DragonOS/user/libs/libsystem/syscall.c
/DragonOS/user/libs/libsystem/syscall.h

12