History log of /DragonOS/kernel/src/syscall/ (Results 101 – 121 of 121)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
78bf93f009-Apr-2023 YJwu2023 <yujianwu2019@gmail.com>

pci重构+pcie支持 (#235)

* pci重构+pcie支持

* pci重构测试完成

* 修正makefile的问题

* 小修改

* 修改函数名字


/DragonOS/docs/community/ChangeLog/V0.1.x/V0.1.6.md
/DragonOS/docs/community/ChangeLog/index.rst
/DragonOS/docs/introduction/build_system.md
/DragonOS/docs/introduction/features.md
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/src/arch/mod.rs
/DragonOS/kernel/src/arch/x86_64/asm/current.rs
/DragonOS/kernel/src/arch/x86_64/context.rs
/DragonOS/kernel/src/arch/x86_64/include/asm/current.h
/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
/DragonOS/kernel/src/driver/video/mod.rs
/DragonOS/kernel/src/driver/video/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/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/libUI/screen_manager.c
/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/process/kthread.c
/DragonOS/kernel/src/process/process.c
/DragonOS/kernel/src/sched/cfs.rs
/DragonOS/kernel/src/sched/core.rs
mod.rs
/DragonOS/tools/bootstrap.sh
/DragonOS/user/apps/about/about.c
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>

2b771e3202-Apr-2023 Gou Ngai <sujintao@dragonos.org>

Add dup,dup2 (#224)

* dup,dup2

* fix: sys_dup2语义与posix不一致的问题

---------

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

20e3152e31-Mar-2023 login <longjin@DragonOS.org>

将TTY与stdio进行连接,实现基本的stdio功能 (#217)

* 将stdio与tty接上

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>

64aea4b328-Mar-2023 Gou Ngai <sujintao@dragonos.org>

增加x87FPU支持 (#212)

* remove `ret_from_syscall`
*修复ps2键盘驱动程序inode在进程fork的时候导致死锁的问题.
*更新: VFS每次拷贝文件描述符的时候,都会去调用inode的open函数

---------

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


/DragonOS/DragonOS
/DragonOS/docs/_templates/layout.html
/DragonOS/docs/conf.py
/DragonOS/docs/introduction/build_system.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/syscall_api/index.rst
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/src/arch/x86_64/context.rs
/DragonOS/kernel/src/arch/x86_64/fpu.rs
/DragonOS/kernel/src/arch/x86_64/mod.rs
/DragonOS/kernel/src/driver/keyboard/ps2_keyboard.rs
/DragonOS/kernel/src/driver/pci/pci.rs
/DragonOS/kernel/src/driver/virtio/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/exception/entry.S
/DragonOS/kernel/src/exception/irq.c
/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/fs.rs
/DragonOS/kernel/src/filesystem/vfs/file.rs
/DragonOS/kernel/src/ipc/signal.rs
/DragonOS/kernel/src/ipc/signal_types.rs
/DragonOS/kernel/src/libs/mod.rs
/DragonOS/kernel/src/libs/volatile.rs
/DragonOS/kernel/src/mm/mmio_buddy.rs
/DragonOS/kernel/src/process/fork.c
/DragonOS/kernel/src/process/proc-types.h
/DragonOS/kernel/src/process/process.c
/DragonOS/kernel/src/process/process.rs
/DragonOS/kernel/src/sched/core.rs
/DragonOS/kernel/src/sched/rt.rs
syscall.c
syscall.h
/DragonOS/tools/run-qemu.sh
/DragonOS/user/apps/about/about.c
/DragonOS/user/apps/shell/cmd.c
/DragonOS/user/apps/test_signal/main.c
4454d1a218-Mar-2023 login <longjin@DragonOS.org>

新增SystemError枚举类型,使得错误处理更清晰 (#205)

84407d3612-Mar-2023 login <longjin@DragonOS.org>

bugfix:解决touch命令失败的问题 (#199)

* bug fix : 解决touch命令失败的问题

004e86ff12-Mar-2023 login <longjin@DragonOS.org>

新版文件系统重构完成 (#198)

1.重构:VFS
2. 重构:ProcFS
3. 重构:DevFS
4. 重构:FAT32
5. 重构:AHCI驱动
6. 新增:RamFS
7. 新增:MountFS
8. 新增:FAT12
9. 新增:FAT16
10. 重构:设备抽象

Co-authored-by: guanjinquan <1666320330@qq.com>

新版文件系统重构完成 (#198)

1.重构:VFS
2. 重构:ProcFS
3. 重构:DevFS
4. 重构:FAT32
5. 重构:AHCI驱动
6. 新增:RamFS
7. 新增:MountFS
8. 新增:FAT12
9. 新增:FAT16
10. 重构:设备抽象

Co-authored-by: guanjinquan <1666320330@qq.com>
Co-authored-by: DaJiYuQia <88259094+DaJiYuQia@users.noreply.github.com>

show more ...


/DragonOS/.vscode/c_cpp_properties.json
/DragonOS/.vscode/settings.json
/DragonOS/README.md
/DragonOS/README_EN.md
/DragonOS/docs/community/ChangeLog/V0.1.x/V0.1.4.md
/DragonOS/docs/community/ChangeLog/index.rst
/DragonOS/docs/kernel/filesystem/index.rst
/DragonOS/docs/kernel/filesystem/vfs/overview.md
/DragonOS/docs/kernel/locking/index.rst
/DragonOS/docs/kernel/locking/rwlock.md
/DragonOS/docs/kernel/memory_management/mmio.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/requirements.txt
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/arch/x86_64/x86_64_pci.c
/DragonOS/kernel/src/arch/x86_64/x86_64_pci.h
/DragonOS/kernel/src/common/errno.h
/DragonOS/kernel/src/common/fcntl.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/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/tty/tty.c
/DragonOS/kernel/src/driver/usb/xhci/xhci.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/driver/virtio/volatile.rs
/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/wrapper.h
/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/lib.rs
/DragonOS/kernel/src/libs/kfifo.c
/DragonOS/kernel/src/libs/lockref.c
/DragonOS/kernel/src/libs/mod.rs
/DragonOS/kernel/src/libs/rwlock.rs
/DragonOS/kernel/src/libs/semaphore.rs
/DragonOS/kernel/src/libs/vec_cursor.rs
/DragonOS/kernel/src/libs/volatile_io.rs
/DragonOS/kernel/src/libs/wait_queue.rs
/DragonOS/kernel/src/main.c
/DragonOS/kernel/src/mm/Makefile
/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/process/fork.c
/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.rs
/DragonOS/kernel/src/sched/rt.rs
/DragonOS/kernel/src/smp/smp.c
/DragonOS/kernel/src/smp/smp.h
syscall.c
/DragonOS/kernel/src/time/mod.rs
/DragonOS/tools/.gitignore
/DragonOS/tools/bootstrap.sh
/DragonOS/tools/grub_auto_install.sh
/DragonOS/tools/init_rust_toolchain.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/shell.c
/DragonOS/user/apps/shell/shell.lds
/DragonOS/user/apps/test_signal/Makefile
/DragonOS/user/apps/test_signal/link.lds
/DragonOS/user/libs/libc/build.rs
/DragonOS/user/libs/libc/src/Makefile
/DragonOS/user/libs/libc/src/arch/x86_64/x86_64-unknown-none.json
/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
f6ba114b04-Feb-2023 houmkh <100781004+houmkh@users.noreply.github.com>

Block IO Scheduler (#158)

* Block io调度器
* process_wakeup时,对cfs的进程,重设虚拟运行时间。解决由于休眠的进程,其虚拟运行时间过小,导致其他进程饥饿的问题

* 1、为AP核启动apic_timer,使其能够运行调度
2、增加kick_cpu功能,支持让某个特定核心立即运行调度器
3、wait_queue的唤醒,改为立即唤醒。

Block IO Scheduler (#158)

* Block io调度器
* process_wakeup时,对cfs的进程,重设虚拟运行时间。解决由于休眠的进程,其虚拟运行时间过小,导致其他进程饥饿的问题

* 1、为AP核启动apic_timer,使其能够运行调度
2、增加kick_cpu功能,支持让某个特定核心立即运行调度器
3、wait_queue的唤醒,改为立即唤醒。
4、增加进程在核心间迁移的功能
5、CFS调度器为每个核心设置单独的IDLE进程pcb(pid均为0)
6、pcb中增加migrate_to字段
7、当具有多核时,io调度器在核心1上运行。

* io调度器文件位置修改

* 修改io的makefile

* 更新makefile中的变量名

* 修改io调度器函数名

---------

Co-authored-by: login <longjin@ringotek.cn>

show more ...


/DragonOS/README.md
/DragonOS/README_EN.md
/DragonOS/docs/_static/.gitkeep
/DragonOS/docs/community/ChangeLog/V0.1.x/V0.1.3.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/index.rst
/DragonOS/docs/introduction/features.md
/DragonOS/docs/introduction/index.rst
/DragonOS/docs/introduction/mirrors.md
/DragonOS/docs/kernel/boot/bootloader.md
/DragonOS/docs/kernel/locking/index.rst
/DragonOS/docs/kernel/locking/locks.md
/DragonOS/docs/kernel/locking/mutex.md
/DragonOS/docs/kernel/locking/spinlock.md
/DragonOS/docs/kernel/process_management/kthread.md
/DragonOS/docs/kernel/sched/c_waiting.md
/DragonOS/docs/kernel/sched/index.rst
/DragonOS/docs/kernel/sched/rust_waiting.md
/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/ptrace.rs
/DragonOS/kernel/src/arch/x86_64/cpu.rs
/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/common/blk_types.h
/DragonOS/kernel/src/common/completion.h
/DragonOS/kernel/src/common/kthread.h
/DragonOS/kernel/src/driver/disk/ahci/ahci.c
/DragonOS/kernel/src/driver/disk/ahci/ahci.h
/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/mod.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/uart/uart.rs
/DragonOS/kernel/src/exception/Makefile
/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/filesystem/devfs/mod.rs
/DragonOS/kernel/src/filesystem/fat32/fat32.c
/DragonOS/kernel/src/filesystem/fat32/mod.rs
/DragonOS/kernel/src/filesystem/procfs/mod.rs
/DragonOS/kernel/src/filesystem/rootfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/mod.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/block_io_scheduler.c
/DragonOS/kernel/src/io/block/block_io_scheduler.h
/DragonOS/kernel/src/io/block/block_io_scheduler.rs
/DragonOS/kernel/src/io/block/mod.rs
/DragonOS/kernel/src/io/mod.rs
/DragonOS/kernel/src/ipc/mod.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/list.rs
/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/semaphore.c
/DragonOS/kernel/src/libs/spinlock.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/allocator.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.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
syscall.c
/DragonOS/kernel/src/time/timekeep.rs
/DragonOS/tools/list_contributors.py
/DragonOS/user/apps/about/about.c
/DragonOS/user/libs/libc/src/arch/x86_64/Makefile
/DragonOS/user/libs/libc/src/arch/x86_64/crt0.c
/DragonOS/user/libs/libc/src/stdio.c
/DragonOS/user/port/binutils/2.38/build.sh
/DragonOS/user/port/gcc/11.3.0/build-hosted.sh
2224c93e06-Jan-2023 guanjinquan <1666320330@qq.com>

完善libc,构建了OS-specific工具链,编译了基于gcc-11.3.0的DragonOS userland compiler,移植了mpfr,gmp,mpc库 (#134)

* 修改include路径

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

* 修补.gitignore

* 删除多余项

* 优化

完善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>

show more ...


/DragonOS/.gitignore
/DragonOS/.vscode/settings.json
/DragonOS/Makefile
/DragonOS/docs/kernel/locking/lockref.md
/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/cpu.rs
/DragonOS/kernel/src/arch/x86_64/include/asm/cmpxchg.h
/DragonOS/kernel/src/include/bindings/wrapper.h
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/libs/lockref.rs
/DragonOS/kernel/src/libs/mod.rs
/DragonOS/kernel/src/libs/spinlock.rs
/DragonOS/kernel/src/process/fork.c
/DragonOS/kernel/src/process/process.c
/DragonOS/kernel/src/process/process.h
/DragonOS/kernel/src/sched/sched.h
syscall.c
/DragonOS/tools/build_gcc_toolchain.sh
/DragonOS/tools/write_disk_image.sh
/DragonOS/user/Makefile
/DragonOS/user/apps/shell/shell.lds
/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/cxa.c
/DragonOS/user/libs/libc/src/include/ctype.h
/DragonOS/user/libs/libc/src/include/dirent.h
/DragonOS/user/libs/libc/src/include/errno.h
/DragonOS/user/libs/libc/src/include/fcntl.h
/DragonOS/user/libs/libc/src/include/libm.h
/DragonOS/user/libs/libc/src/include/math.h
/DragonOS/user/libs/libc/src/include/printf.h
/DragonOS/user/libs/libc/src/include/signal.h
/DragonOS/user/libs/libc/src/include/stddef.h
/DragonOS/user/libs/libc/src/include/stdio.h
/DragonOS/user/libs/libc/src/include/stdlib.h
/DragonOS/user/libs/libc/src/include/string.h
/DragonOS/user/libs/libc/src/include/time.h
/DragonOS/user/libs/libc/src/include/unistd.h
/DragonOS/user/libs/libc/src/libc_init.c
/DragonOS/user/libs/libc/src/stdio.c
/DragonOS/user/libs/libc/src/stdlib.c
/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
587086d301-Jan-2023 login <longjin@ringotek.cn>

1、在文件系统目录下增加mod.rs 2、将VFS的路径改为vfs(#133)

2、将VFS的路径改为vfs


/DragonOS/.vscode/c_cpp_properties.json
/DragonOS/.vscode/settings.json
/DragonOS/Makefile
/DragonOS/docs/kernel/filesystem/vfs/overview.md
/DragonOS/kernel/src/driver/keyboard/ps2_keyboard.c
/DragonOS/kernel/src/driver/tty/tty.c
/DragonOS/kernel/src/filesystem/Makefile
/DragonOS/kernel/src/filesystem/devfs/chardev.c
/DragonOS/kernel/src/filesystem/devfs/devfs-types.h
/DragonOS/kernel/src/filesystem/devfs/devfs.c
/DragonOS/kernel/src/filesystem/devfs/mod.rs
/DragonOS/kernel/src/filesystem/fat32/fat32.h
/DragonOS/kernel/src/filesystem/fat32/fat_ent.h
/DragonOS/kernel/src/filesystem/fat32/mod.rs
/DragonOS/kernel/src/filesystem/mod.rs
/DragonOS/kernel/src/filesystem/procfs/mod.rs
/DragonOS/kernel/src/filesystem/procfs/procfs.h
/DragonOS/kernel/src/filesystem/rootfs/mod.rs
/DragonOS/kernel/src/filesystem/rootfs/rootfs.c
/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/mod.rs
/DragonOS/kernel/src/filesystem/vfs/mount.c
/DragonOS/kernel/src/filesystem/vfs/mount.h
/DragonOS/kernel/src/ipc/pipe.c
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/main.c
/DragonOS/kernel/src/process/process.c
/DragonOS/kernel/src/process/process.h
syscall.c
/DragonOS/user/Makefile
/DragonOS/user/apps/about/about.c
/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/main.c
/DragonOS/user/libs/libKeyboard/keyboard.c
/DragonOS/user/libs/libc/Makefile
/DragonOS/user/libs/libc/src/ctype.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/__libc__.h
/DragonOS/user/libs/libc/src/include/ctype.h
/DragonOS/user/libs/libc/src/include/dirent.h
/DragonOS/user/libs/libc/src/include/errno.h
/DragonOS/user/libs/libc/src/include/fcntl.h
/DragonOS/user/libs/libc/src/include/libm.h
/DragonOS/user/libs/libc/src/include/math.h
/DragonOS/user/libs/libc/src/include/printf.h
/DragonOS/user/libs/libc/src/include/signal.h
/DragonOS/user/libs/libc/src/include/stddef.h
/DragonOS/user/libs/libc/src/include/stdio.h
/DragonOS/user/libs/libc/src/include/stdlib.h
/DragonOS/user/libs/libc/src/include/string.h
/DragonOS/user/libs/libc/src/include/sys/stat.h
/DragonOS/user/libs/libc/src/include/sys/types.h
/DragonOS/user/libs/libc/src/include/sys/wait.h
/DragonOS/user/libs/libc/src/include/time.h
/DragonOS/user/libs/libc/src/include/unistd.h
/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/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/sysdeps/x86_64/elf/start.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
d4f3de9331-Dec-2022 login <longjin@ringotek.cn>

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

* 新建调度器的文件

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

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

* new:使用rust重构CFS

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

* 代码格式化

* 删除多余的dunce依赖

1569496831-Dec-2022 login <longjin@ringotek.cn>

bugfix:修复当使用sched()运行调度器,在切换进程的时候,由于不在中断上下文内,导致当前进程的上下文丢失的问题。 (#130)

bugfix:修复当使用sched()运行调度器,在切换进程的时候,由于不在中断上下文内,导致当前进程的上下文丢失的问题。
bugfix:修复切换进程的宏的汇编代码的损坏部分,未声明rax寄存器,从而导致的编译器未定义行为问题。


/DragonOS/.github/workflows/makefile.yml
/DragonOS/Makefile
/DragonOS/docs/index.rst
/DragonOS/docs/introduction/build_system.md
/DragonOS/docs/kernel/ipc/index.rst
/DragonOS/docs/kernel/ipc/signal.md
/DragonOS/kernel/Makefile
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/driver/mod.rs
/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
/DragonOS/kernel/src/exception/Makefile
/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/spinlock.rs
/DragonOS/kernel/src/main.c
/DragonOS/kernel/src/mm/mm.c
/DragonOS/kernel/src/process/Makefile
/DragonOS/kernel/src/process/fork.rs
/DragonOS/kernel/src/process/pid.rs
/DragonOS/kernel/src/process/preempt.rs
/DragonOS/kernel/src/process/process.c
/DragonOS/kernel/src/process/process.h
/DragonOS/kernel/src/process/process.rs
/DragonOS/kernel/src/sched/cfs.c
/DragonOS/kernel/src/sched/core.rs
/DragonOS/kernel/src/sched/sched.c
/DragonOS/kernel/src/sched/sched.h
/DragonOS/kernel/src/smp/Makefile
/DragonOS/kernel/src/smp/core.rs
syscall.c
syscall_num.h
/DragonOS/kernel/src/time/timekeep.rs
/DragonOS/kernel/src/time/timer.h
/DragonOS/tools/Dockerfile
/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/write_disk_image.sh
/DragonOS/user/Makefile
/DragonOS/user/apps/Makefile
/DragonOS/user/apps/about/Makefile
/DragonOS/user/apps/shell/Makefile
/DragonOS/user/apps/test_signal/Makefile
/DragonOS/user/libs/libc/src/include/stdint.h
/DragonOS/user/libs/libc/src/sys/types.h
/DragonOS/user/libs/libc/src/unistd.h
/DragonOS/user/libs/libsystem/syscall.h
c588d6f719-Dec-2022 login <longjin@ringotek.cn>

Patch add abort func (#120)

* 对于除了sigkill以外的信号,也加入队列

* bugfix:libc中,注册信号处理函数时,总是注册sigkill的问题

* 增加getpid系统调用

* 增加了raise、kill、abort

6efd474017-Dec-2022 login <longjin@ringotek.cn>

允许用户自定义信号处理函数 (#112)

* new: 用户注册信号处理函数,能够进入自定义的handler

* 修复忘了传信号的数字给用户的处理函数的bug

* new:sigreturn

* 删除注释


/DragonOS/.gitignore
/DragonOS/.vscode/settings.json
/DragonOS/Makefile
/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/introduction/build_system.md
/DragonOS/docs/userland/libc/apis/index.rst
/DragonOS/kernel/src/arch/x86_64/include/asm/asm.h
/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/multiboot2/multiboot2.c
/DragonOS/kernel/src/driver/multiboot2/multiboot2.h
/DragonOS/kernel/src/driver/pci/pci.h
/DragonOS/kernel/src/driver/timers/rtc/rtc.c
/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/libELF/elf.h
/DragonOS/kernel/src/libs/lz4.c
/DragonOS/kernel/src/process/proc-types.h
syscall.c
syscall_num.h
/DragonOS/kernel/src/time/mod.rs
/DragonOS/kernel/src/time/timekeep.rs
/DragonOS/tools/.gitignore
/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/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/about/about.c
/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/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/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 ...


/DragonOS/docs/community/ChangeLog/V0.1.x/V0.1.1.md
/DragonOS/docs/community/ChangeLog/index.rst
/DragonOS/kernel/build.rs
/DragonOS/kernel/src/arch/x86_64/asm/bitops.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/ptrace.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/mod.rs
/DragonOS/kernel/src/arch/x86_64/mod.rs
/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
/DragonOS/kernel/src/driver/video/video.c
/DragonOS/kernel/src/exception/entry.S
/DragonOS/kernel/src/exception/trap.c
/DragonOS/kernel/src/filesystem/VFS/VFS.c
/DragonOS/kernel/src/filesystem/procfs/procfs.c
/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/ffi_convert.rs
/DragonOS/kernel/src/libs/libUI/screen_manager.c
/DragonOS/kernel/src/libs/libUI/textui.c
/DragonOS/kernel/src/libs/printk.rs
/DragonOS/kernel/src/libs/refcount.rs
/DragonOS/kernel/src/libs/spinlock.rs
/DragonOS/kernel/src/main.c
/DragonOS/kernel/src/mm/allocator.rs
/DragonOS/kernel/src/mm/gfp.rs
/DragonOS/kernel/src/mm/mod.rs
/DragonOS/kernel/src/process/fork.rs
/DragonOS/kernel/src/process/initial_proc.rs
/DragonOS/kernel/src/process/proc-types.h
/DragonOS/kernel/src/process/process.c
/DragonOS/kernel/src/process/ptrace.h
syscall.c
syscall.h
/DragonOS/user/apps/Makefile
/DragonOS/user/apps/about/about.c
/DragonOS/user/apps/shell/cmd.c
/DragonOS/user/apps/test_signal/Makefile
/DragonOS/user/apps/test_signal/link.lds
/DragonOS/user/apps/test_signal/main.c
27a97abd26-Nov-2022 DaJiYuQia <88259094+DaJiYuQia@users.noreply.github.com>

Patch procf (#90)

* 1234

* 123

* 合并master

* procfs

* 1

* procfs展示进程基本信息

* modified code

* 恢复权限

* 恢复权限

#恢复权限

* modify permission

* 删除run.sh

* 解决第一次编译时磁盘镜像权限错误的问题

Patch procf (#90)

* 1234

* 123

* 合并master

* procfs

* 1

* procfs展示进程基本信息

* modified code

* 恢复权限

* 恢复权限

#恢复权限

* modify permission

* 删除run.sh

* 解决第一次编译时磁盘镜像权限错误的问题

* 恢复.vscode/c_cpp_properties.json

* 删除process.c中错误的do_fork

* remake procfs

* 修改一些变量名

* 修改类型

* modified

* data_puts缓冲区溢出后return

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

show more ...

66f67c6a23-Nov-2022 login <longjin@ringotek.cn>

signal的发送(暂时父子进程之间共享信号及相应的结构体) (#89)

* 解决由于spinlock.h中包含preempt_enable()带来的循环include问题

* new: 初步实现signal的数据结构

* new:signal相关数据结构

* fix: 解决bindings.rs报一堆警告的问题

* new: rust下的kdebug kinfo kw

signal的发送(暂时父子进程之间共享信号及相应的结构体) (#89)

* 解决由于spinlock.h中包含preempt_enable()带来的循环include问题

* new: 初步实现signal的数据结构

* new:signal相关数据结构

* fix: 解决bindings.rs报一堆警告的问题

* new: rust下的kdebug kinfo kwarn kBUG kerror宏

* 移动asm.h和cmpxchg.h

* new: signal的发送(暂时只支持父子进程共享信号及处理函数)

show more ...


/DragonOS/kernel/src/arch/mod.rs
/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/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/irqflags.h
/DragonOS/kernel/src/arch/x86_64/mod.rs
/DragonOS/kernel/src/common/glib.h
/DragonOS/kernel/src/common/list.h
/DragonOS/kernel/src/include/DragonOS/refcount.h
/DragonOS/kernel/src/include/DragonOS/signal.h
/DragonOS/kernel/src/include/DragonOS/signal.rs
/DragonOS/kernel/src/include/bindings/wrapper.h
/DragonOS/kernel/src/ipc/signal.rs
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/libs/atomic.rs
/DragonOS/kernel/src/libs/ffi_convert.rs
/DragonOS/kernel/src/libs/lockref.c
/DragonOS/kernel/src/libs/mod.rs
/DragonOS/kernel/src/libs/refcount.rs
/DragonOS/kernel/src/libs/spinlock.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.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
syscall.c
syscall_num.h
/DragonOS/user/apps/shell/cmd.c
/DragonOS/user/apps/shell/cmd.h
/DragonOS/user/libs/libc/include/signal.h
/DragonOS/user/libs/libsystem/syscall.h
3d729e2018-Nov-2022 login <longjin@ringotek.cn>

bugfix: 修复进程pcb被回收时,未将其从链表中删除的问题 (#87)

* bugfix: 修复进程pcb被回收时,未将其从链表中删除的问题
new: pcb相关api文档

* 将文档加入目录


/DragonOS/.vscode/settings.json
/DragonOS/docs/kernel/process_management/index.rst
/DragonOS/docs/kernel/process_management/pcb.md
/DragonOS/docs/kernel/sched/waiting.md
/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/arch/x86_64/Makefile
/DragonOS/kernel/src/arch/x86_64/asm/Makefile
/DragonOS/kernel/src/arch/x86_64/asm/spinlock.c
/DragonOS/kernel/src/arch/x86_64/include/asm/current.h
/DragonOS/kernel/src/arch/x86_64/include/asm/irqflags.h
/DragonOS/kernel/src/common/completion.h
/DragonOS/kernel/src/common/printk.h
/DragonOS/kernel/src/common/spinlock.h
/DragonOS/kernel/src/common/sys/types.h
/DragonOS/kernel/src/common/wait_queue.h
/DragonOS/kernel/src/driver/video/video.h
/DragonOS/kernel/src/include/DragonOS/gfp.rs
/DragonOS/kernel/src/include/DragonOS/mod.rs
/DragonOS/kernel/src/include/DragonOS/printk.rs
/DragonOS/kernel/src/include/DragonOS/refcount.h
/DragonOS/kernel/src/include/DragonOS/signal.h
/DragonOS/kernel/src/include/DragonOS/signal.rs
/DragonOS/kernel/src/include/bindings/mod.rs
/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/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/mm.h
/DragonOS/kernel/src/mm/mod.rs
/DragonOS/kernel/src/process/preempt.h
/DragonOS/kernel/src/process/proc-types.h
/DragonOS/kernel/src/process/process.c
/DragonOS/kernel/src/process/process.h
/DragonOS/kernel/src/smp/smp.c
syscall.c
/DragonOS/tools/bootstrap.sh
/DragonOS/user/libs/libc/sys/types.h
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
/DragonOS/kernel/src/driver/video/Makefile
/DragonOS/kernel/src/driver/video/video.c
/DragonOS/kernel/src/driver/video/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
Makefile
syscall.c
syscall.h
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

12345