History log of /DragonOS/kernel/src/libs/ (Results 51 – 75 of 128)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
5d549a7626-Jan-2024 Chiichen <chiichen@qq.com>

修改一处常量定义 (#503)

* 修改一处常量定义

* 修复ELF加载程序对用户程序加载地址判断不正确的地方

---------

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

8d72b68d24-Jan-2024 Jomo <xuzihao@dragonos.org>

实现内核日志系统 (#489)

* 实现写日志和读取日志,并且能够在用户态下执行dmesg命令查看日志

* 通过klogctl实现dmesg

* 改用ConstGenericRingBuffer作内核缓冲区

* 更改缓冲区容量

* 将能够输出到控制台的日志级别改为日志级别枚举类,使用SpinLock控制KMSG,使用枚举类定义SYSLOG_ACTION,将do_sysl

实现内核日志系统 (#489)

* 实现写日志和读取日志,并且能够在用户态下执行dmesg命令查看日志

* 通过klogctl实现dmesg

* 改用ConstGenericRingBuffer作内核缓冲区

* 更改缓冲区容量

* 将能够输出到控制台的日志级别改为日志级别枚举类,使用SpinLock控制KMSG,使用枚举类定义SYSLOG_ACTION,将do_syslog系统调用接口放在syscall.rs

* fix warning

* 完善do_syslog注释

* 将KMSG接入kinfo、kdebug等

* fix warning

* 修复显示的秒数不正确,·以及无法通过CI的问题

show more ...


/DragonOS/.github/actions/import-toolchain/action.yml
/DragonOS/.github/actions/install-apt-packages/action.yml
/DragonOS/.github/workflows/cache-toolchain.yml
/DragonOS/.github/workflows/makefile.yml
/DragonOS/.vscode/settings.json
/DragonOS/Makefile
/DragonOS/env.mk
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/Makefile
/DragonOS/kernel/crates/bitmap/Cargo.toml
/DragonOS/kernel/crates/bitmap/src/bitmap_core.rs
/DragonOS/kernel/crates/bitmap/src/lib.rs
/DragonOS/kernel/crates/bitmap/src/static_bitmap.rs
/DragonOS/kernel/crates/bitmap/src/traits.rs
/DragonOS/kernel/crates/bitmap/tests/static-bitmap.rs
/DragonOS/kernel/crates/kdepends/Cargo.toml
/DragonOS/kernel/crates/kdepends/src/lib.rs
/DragonOS/kernel/crates/system_error/Cargo.toml
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/arch/riscv64/asm/head.S
/DragonOS/kernel/src/arch/riscv64/driver/sbi/legacy.rs
/DragonOS/kernel/src/arch/riscv64/init/mod.rs
/DragonOS/kernel/src/arch/riscv64/interrupt/mod.rs
/DragonOS/kernel/src/arch/riscv64/link.ld
/DragonOS/kernel/src/arch/riscv64/mm/init.rs
/DragonOS/kernel/src/arch/riscv64/mm/mod.rs
/DragonOS/kernel/src/arch/riscv64/mod.rs
/DragonOS/kernel/src/arch/x86_64/init/main.c
/DragonOS/kernel/src/arch/x86_64/init/mod.rs
/DragonOS/kernel/src/arch/x86_64/ipc/signal.rs
/DragonOS/kernel/src/arch/x86_64/mm/bump.rs
/DragonOS/kernel/src/arch/x86_64/mm/mod.rs
/DragonOS/kernel/src/arch/x86_64/mod.rs
/DragonOS/kernel/src/debug/klog/mm.rs
/DragonOS/kernel/src/driver/base/device/device_number.rs
/DragonOS/kernel/src/driver/base/device/mod.rs
/DragonOS/kernel/src/driver/base/init.rs
/DragonOS/kernel/src/driver/disk/ahci/ahci_inode.rs
/DragonOS/kernel/src/driver/firmware/efi/fdt.rs
/DragonOS/kernel/src/driver/firmware/efi/init.rs
/DragonOS/kernel/src/driver/firmware/efi/memmap.rs
/DragonOS/kernel/src/driver/firmware/efi/mod.rs
/DragonOS/kernel/src/driver/firmware/mod.rs
/DragonOS/kernel/src/driver/input/mod.rs
/DragonOS/kernel/src/driver/input/ps2_dev/mod.rs
/DragonOS/kernel/src/driver/input/ps2_dev/ps2_device.rs
/DragonOS/kernel/src/driver/input/serio/mod.rs
/DragonOS/kernel/src/driver/input/serio/serio_device.rs
/DragonOS/kernel/src/driver/input/serio/serio_driver.rs
/DragonOS/kernel/src/driver/input/serio/subsys.rs
/DragonOS/kernel/src/driver/keyboard/mod.rs
/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/net/e1000e/e1000e.rs
/DragonOS/kernel/src/driver/open_firmware/fdt.rs
/DragonOS/kernel/src/driver/open_firmware/mod.rs
/DragonOS/kernel/src/driver/tty/tty_device.rs
/DragonOS/kernel/src/driver/video/fbdev/base/fbmem.rs
/DragonOS/kernel/src/driver/video/fbdev/mod.rs
/DragonOS/kernel/src/driver/video/fbdev/vesafb.rs
/DragonOS/kernel/src/driver/video/mod.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/fs.rs
/DragonOS/kernel/src/filesystem/kernfs/mod.rs
/DragonOS/kernel/src/filesystem/procfs/kmsg.rs
/DragonOS/kernel/src/filesystem/procfs/log.rs
/DragonOS/kernel/src/filesystem/procfs/mod.rs
/DragonOS/kernel/src/filesystem/procfs/syscall.rs
/DragonOS/kernel/src/filesystem/ramfs/mod.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/init/mod.rs
/DragonOS/kernel/src/ipc/pipe.rs
/DragonOS/kernel/src/lib.rs
printk.rs
/DragonOS/kernel/src/mm/allocator/bump.rs
/DragonOS/kernel/src/mm/allocator/page_frame.rs
/DragonOS/kernel/src/mm/early_ioremap.rs
/DragonOS/kernel/src/mm/memblock.rs
/DragonOS/kernel/src/mm/mod.rs
/DragonOS/kernel/src/mm/no_init.rs
/DragonOS/kernel/src/mm/page.rs
/DragonOS/kernel/src/process/mod.rs
/DragonOS/kernel/src/sched/syscall.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/time/mod.rs
/DragonOS/kernel/src/time/timer.rs
/DragonOS/kernel/src/virt/kvm/kvm_dev.rs
/DragonOS/kernel/src/virt/kvm/vcpu_dev.rs
/DragonOS/kernel/src/virt/kvm/vm_dev.rs
/DragonOS/kernel/submodules/DragonStub
/DragonOS/tools/debugging/logmonitor/Cargo.toml
/DragonOS/tools/debugging/logmonitor/src/backend/mod.rs
/DragonOS/tools/debugging/logmonitor/src/backend/monitor/mm.rs
/DragonOS/tools/install_musl_gcc.sh
/DragonOS/tools/write_disk_image.sh
/DragonOS/user/Makefile
/DragonOS/user/apps/dmesg/.gitignore
/DragonOS/user/apps/dmesg/Makefile
/DragonOS/user/apps/dmesg/dmesg.c
/DragonOS/user/apps/dmesg/dmesg.h
/DragonOS/user/apps/dmesg/main.c
/DragonOS/user/dadk/config/dmesg-0.1.0.dadk
e7071df601-Jan-2024 LoGin <longjin@DragonOS.org>

把opengrok.ringotek.cn替换为code.dragonos.org.cn (#484)


/DragonOS/kernel/src/arch/x86_64/driver/mod.rs
/DragonOS/kernel/src/arch/x86_64/driver/tsc.rs
/DragonOS/kernel/src/arch/x86_64/driver/video/mod.rs
/DragonOS/kernel/src/arch/x86_64/ipc/signal.rs
/DragonOS/kernel/src/arch/x86_64/smp/mod.rs
/DragonOS/kernel/src/driver/acpi/bus.rs
/DragonOS/kernel/src/driver/acpi/glue.rs
/DragonOS/kernel/src/driver/acpi/mod.rs
/DragonOS/kernel/src/driver/acpi/sysfs.rs
/DragonOS/kernel/src/driver/base/block/block_device.rs
/DragonOS/kernel/src/driver/base/char/mod.rs
/DragonOS/kernel/src/driver/base/class.rs
/DragonOS/kernel/src/driver/base/cpu.rs
/DragonOS/kernel/src/driver/base/device/bus.rs
/DragonOS/kernel/src/driver/base/device/dd.rs
/DragonOS/kernel/src/driver/base/device/device_number.rs
/DragonOS/kernel/src/driver/base/device/driver.rs
/DragonOS/kernel/src/driver/base/device/mod.rs
/DragonOS/kernel/src/driver/base/init.rs
/DragonOS/kernel/src/driver/base/kobject.rs
/DragonOS/kernel/src/driver/base/map/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/base/platform/subsys.rs
/DragonOS/kernel/src/driver/base/subsys.rs
/DragonOS/kernel/src/driver/base/swnode.rs
/DragonOS/kernel/src/driver/disk/ahci/ahcidisk.rs
/DragonOS/kernel/src/driver/net/e1000e/e1000e_driver.rs
/DragonOS/kernel/src/driver/net/virtio_net.rs
/DragonOS/kernel/src/driver/tty/serial/mod.rs
/DragonOS/kernel/src/driver/tty/serial/serial8250/mod.rs
/DragonOS/kernel/src/driver/tty/tty_device.rs
/DragonOS/kernel/src/driver/tty/tty_driver.rs
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon.rs
/DragonOS/kernel/src/driver/video/fbdev/base/fbmem.rs
/DragonOS/kernel/src/driver/video/fbdev/base/fbsysfs.rs
/DragonOS/kernel/src/driver/video/fbdev/base/mod.rs
/DragonOS/kernel/src/driver/video/fbdev/base/modedb.rs
/DragonOS/kernel/src/driver/video/fbdev/mod.rs
/DragonOS/kernel/src/driver/video/fbdev/vesafb.rs
/DragonOS/kernel/src/driver/video/mod.rs
/DragonOS/kernel/src/filesystem/fat/fs.rs
/DragonOS/kernel/src/filesystem/kernfs/mod.rs
/DragonOS/kernel/src/filesystem/ramfs/mod.rs
/DragonOS/kernel/src/filesystem/sysfs/file.rs
/DragonOS/kernel/src/filesystem/sysfs/group.rs
/DragonOS/kernel/src/filesystem/sysfs/symlink.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/mount.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
/DragonOS/kernel/src/init/initcall.rs
/DragonOS/kernel/src/init/initial_kthread.rs
/DragonOS/kernel/src/init/mod.rs
/DragonOS/kernel/src/ipc/pipe.rs
/DragonOS/kernel/src/ipc/signal.rs
/DragonOS/kernel/src/ipc/signal_types.rs
/DragonOS/kernel/src/ipc/syscall.rs
/DragonOS/kernel/src/lib.rs
elf.rs
/DragonOS/kernel/src/net/event_poll/mod.rs
/DragonOS/kernel/src/net/mod.rs
/DragonOS/kernel/src/net/net_core.rs
/DragonOS/kernel/src/net/socket.rs
/DragonOS/kernel/src/process/exit.rs
/DragonOS/kernel/src/process/fork.rs
/DragonOS/kernel/src/process/kthread.rs
/DragonOS/kernel/src/process/mod.rs
/DragonOS/kernel/src/syscall/misc.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/tools/bootstrap.sh
/DragonOS/tools/install_musl_gcc.sh
/DragonOS/user/apps/test_sqlite3/Makefile
/DragonOS/user/dadk/config/nova_shell-0.1.0.dadk
0d6cf65a27-Dec-2023 LoGin <longjin@DragonOS.org>

Patch fix sched and net lockdep error (#479)

- fix: 修复调度器,软中断,定时器,网络子系统的部分锁的使用不符合锁依赖安全规范的问题
- fix: 修复创建pcb时内核栈爆栈的问题
- 把异常的trap gate改成intr gate

---------

Co-authored-by: GnoCiYeH <heyicong@dr

Patch fix sched and net lockdep error (#479)

- fix: 修复调度器,软中断,定时器,网络子系统的部分锁的使用不符合锁依赖安全规范的问题
- fix: 修复创建pcb时内核栈爆栈的问题
- 把异常的trap gate改成intr gate

---------

Co-authored-by: GnoCiYeH <heyicong@dragonos.org>

show more ...

91e9d4ab25-Dec-2023 LoGin <longjin@DragonOS.org>

实现unified-init库,支持收集初始化函数到一个数组,并统一初始化 (#474)

* 添加“统一初始化”的过程宏,并把SystemError独立成crate

* 使用unified-init来初始化fbmem

* 更新workflow,增加内核自动化静态测试


/DragonOS/.github/workflows/makefile.yml
/DragonOS/docs/kernel/libs/index.rst
/DragonOS/docs/kernel/libs/unified-init.md
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/Makefile
/DragonOS/kernel/crates/system_error/Cargo.toml
/DragonOS/kernel/crates/system_error/src/lib.rs
/DragonOS/kernel/crates/unified-init/Cargo.toml
/DragonOS/kernel/crates/unified-init/macros/Cargo.toml
/DragonOS/kernel/crates/unified-init/macros/src/lib.rs
/DragonOS/kernel/crates/unified-init/src/lib.rs
/DragonOS/kernel/crates/unified-init/src/main.rs
/DragonOS/kernel/src/arch/riscv64/kvm/mod.rs
/DragonOS/kernel/src/arch/riscv64/mm/mod.rs
/DragonOS/kernel/src/arch/riscv64/process/kthread.rs
/DragonOS/kernel/src/arch/riscv64/process/mod.rs
/DragonOS/kernel/src/arch/riscv64/process/syscall.rs
/DragonOS/kernel/src/arch/riscv64/syscall/mod.rs
/DragonOS/kernel/src/arch/x86_64/acpi.rs
/DragonOS/kernel/src/arch/x86_64/driver/apic/apic_timer.rs
/DragonOS/kernel/src/arch/x86_64/driver/apic/ioapic.rs
/DragonOS/kernel/src/arch/x86_64/driver/apic/mod.rs
/DragonOS/kernel/src/arch/x86_64/driver/hpet.rs
/DragonOS/kernel/src/arch/x86_64/driver/tsc.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/ipi.rs
/DragonOS/kernel/src/arch/x86_64/ipc/signal.rs
/DragonOS/kernel/src/arch/x86_64/kvm/mod.rs
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/ept.rs
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/mmu.rs
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/seg.rs
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/vcpu.rs
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/vmexit.rs
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/vmx_asm_wrapper.rs
/DragonOS/kernel/src/arch/x86_64/mm/mod.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/setup.rs
/DragonOS/kernel/src/arch/x86_64/smp/mod.rs
/DragonOS/kernel/src/arch/x86_64/syscall/mod.rs
/DragonOS/kernel/src/driver/acpi/bus.rs
/DragonOS/kernel/src/driver/acpi/mod.rs
/DragonOS/kernel/src/driver/acpi/sysfs.rs
/DragonOS/kernel/src/driver/base/block/block_device.rs
/DragonOS/kernel/src/driver/base/char/mod.rs
/DragonOS/kernel/src/driver/base/class.rs
/DragonOS/kernel/src/driver/base/cpu.rs
/DragonOS/kernel/src/driver/base/device/bus.rs
/DragonOS/kernel/src/driver/base/device/dd.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/firmware.rs
/DragonOS/kernel/src/driver/base/hypervisor.rs
/DragonOS/kernel/src/driver/base/init.rs
/DragonOS/kernel/src/driver/base/kobject.rs
/DragonOS/kernel/src/driver/base/kset.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/base/platform/subsys.rs
/DragonOS/kernel/src/driver/base/subsys.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/keyboard/ps2_keyboard.rs
/DragonOS/kernel/src/driver/net/e1000e/e1000e_driver.rs
/DragonOS/kernel/src/driver/net/mod.rs
/DragonOS/kernel/src/driver/net/virtio_net.rs
/DragonOS/kernel/src/driver/timers/rtc/rtc.rs
/DragonOS/kernel/src/driver/tty/init.rs
/DragonOS/kernel/src/driver/tty/serial/mod.rs
/DragonOS/kernel/src/driver/tty/serial/serial8250/mod.rs
/DragonOS/kernel/src/driver/tty/serial/serial8250/serial8250_pio.rs
/DragonOS/kernel/src/driver/tty/tty_device.rs
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon.rs
/DragonOS/kernel/src/driver/video/fbdev/base/fbmem.rs
/DragonOS/kernel/src/driver/video/fbdev/base/mod.rs
/DragonOS/kernel/src/driver/video/mod.rs
/DragonOS/kernel/src/exception/softirq.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/kernfs/callback.rs
/DragonOS/kernel/src/filesystem/kernfs/mod.rs
/DragonOS/kernel/src/filesystem/procfs/mod.rs
/DragonOS/kernel/src/filesystem/ramfs/mod.rs
/DragonOS/kernel/src/filesystem/sysfs/dir.rs
/DragonOS/kernel/src/filesystem/sysfs/file.rs
/DragonOS/kernel/src/filesystem/sysfs/group.rs
/DragonOS/kernel/src/filesystem/sysfs/mod.rs
/DragonOS/kernel/src/filesystem/sysfs/symlink.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/open.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
/DragonOS/kernel/src/filesystem/vfs/utils.rs
/DragonOS/kernel/src/ipc/pipe.rs
/DragonOS/kernel/src/ipc/signal.rs
/DragonOS/kernel/src/ipc/signal_types.rs
/DragonOS/kernel/src/ipc/syscall.rs
align.rs
elf.rs
futex/futex.rs
futex/syscall.rs
intertrait/src/lib.rs
lib_ui/screen_manager.rs
lib_ui/textui.rs
lib_ui/textui_no_alloc.rs
mutex.rs
notifier.rs
rwlock.rs
semaphore.rs
spinlock.rs
vec_cursor.rs
/DragonOS/kernel/src/mm/c_adapter.rs
/DragonOS/kernel/src/mm/kernel_mapper.rs
/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/event_poll/mod.rs
/DragonOS/kernel/src/net/event_poll/syscall.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/exec.rs
/DragonOS/kernel/src/process/exit.rs
/DragonOS/kernel/src/process/fork.rs
/DragonOS/kernel/src/process/idle.rs
/DragonOS/kernel/src/process/kthread.rs
/DragonOS/kernel/src/process/mod.rs
/DragonOS/kernel/src/process/process.rs
/DragonOS/kernel/src/process/resource.rs
/DragonOS/kernel/src/process/syscall.rs
/DragonOS/kernel/src/sched/completion.rs
/DragonOS/kernel/src/sched/syscall.rs
/DragonOS/kernel/src/smp/mod.rs
/DragonOS/kernel/src/syscall/misc.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/time/clocksource.rs
/DragonOS/kernel/src/time/jiffies.rs
/DragonOS/kernel/src/time/sleep.rs
/DragonOS/kernel/src/time/syscall.rs
/DragonOS/kernel/src/time/timer.rs
/DragonOS/kernel/src/virt/kvm/host_mem.rs
/DragonOS/kernel/src/virt/kvm/kvm_dev.rs
/DragonOS/kernel/src/virt/kvm/vcpu.rs
/DragonOS/kernel/src/virt/kvm/vcpu_dev.rs
/DragonOS/kernel/src/virt/kvm/vm.rs
/DragonOS/kernel/src/virt/kvm/vm_dev.rs
/DragonOS/tools/bootstrap.sh
4060997025-Dec-2023 GnoCiYeH <heyicong@dragonos.org>

增加epoll机制 (#455)

* ## 增加epoll机制
- 增加epoll机制
- 添加事件等待队列,提升socket性能
- 优化poll,删除不能poll的文件系统中的poll方法

* 添加细节注释

* 修复文件关闭后epoll还持有对应描述符的文件弱引用的bug

* 将EPollEvent设计为POSIX标准

* 修改s到us转换的计算错误


/DragonOS/Makefile
/DragonOS/docs/community/code_contribution/rust-coding-style.md
/DragonOS/env.mk
/DragonOS/kernel/src/arch/riscv64/asm/head.S
/DragonOS/kernel/src/arch/riscv64/init/mod.rs
/DragonOS/kernel/src/arch/riscv64/link.ld
/DragonOS/kernel/src/arch/riscv64/mm/init.rs
/DragonOS/kernel/src/arch/riscv64/mm/mod.rs
/DragonOS/kernel/src/arch/x86_64/asm/entry.S
/DragonOS/kernel/src/arch/x86_64/ipc/signal.rs
/DragonOS/kernel/src/driver/acpi/bus.rs
/DragonOS/kernel/src/driver/base/class.rs
/DragonOS/kernel/src/driver/base/cpu.rs
/DragonOS/kernel/src/driver/base/device/bus.rs
/DragonOS/kernel/src/driver/base/device/init.rs
/DragonOS/kernel/src/driver/base/device/mod.rs
/DragonOS/kernel/src/driver/base/kobject.rs
/DragonOS/kernel/src/driver/base/kset.rs
/DragonOS/kernel/src/driver/base/platform/mod.rs
/DragonOS/kernel/src/driver/base/platform/platform_device.rs
/DragonOS/kernel/src/driver/base/platform/subsys.rs
/DragonOS/kernel/src/driver/base/subsys.rs
/DragonOS/kernel/src/driver/disk/ahci/ahci_inode.rs
/DragonOS/kernel/src/driver/disk/ahci/ahcidisk.rs
/DragonOS/kernel/src/driver/keyboard/ps2_keyboard.rs
/DragonOS/kernel/src/driver/net/virtio_net.rs
/DragonOS/kernel/src/driver/tty/mod.rs
/DragonOS/kernel/src/driver/tty/serial/serial8250/mod.rs
/DragonOS/kernel/src/driver/tty/tty_device.rs
/DragonOS/kernel/src/driver/tty/vt/mod.rs
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon.rs
/DragonOS/kernel/src/driver/video/fbdev/base/fbmem.rs
/DragonOS/kernel/src/driver/video/fbdev/base/mod.rs
/DragonOS/kernel/src/driver/video/fbdev/mod.rs
/DragonOS/kernel/src/driver/video/mod.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/fs.rs
/DragonOS/kernel/src/filesystem/kernfs/mod.rs
/DragonOS/kernel/src/filesystem/procfs/mod.rs
/DragonOS/kernel/src/filesystem/ramfs/mod.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/ipc/pipe.rs
/DragonOS/kernel/src/ipc/signal.rs
rbtree.rs
wait_queue.rs
/DragonOS/kernel/src/net/event_poll/mod.rs
/DragonOS/kernel/src/net/event_poll/syscall.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/sched/cfs.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/time/mod.rs
/DragonOS/kernel/src/time/sleep.rs
/DragonOS/kernel/src/virt/kvm/kvm_dev.rs
/DragonOS/kernel/src/virt/kvm/vcpu_dev.rs
/DragonOS/kernel/src/virt/kvm/vm_dev.rs
/DragonOS/kernel/submodules/DragonStub
/DragonOS/tools/write_disk_image.sh
/DragonOS/user/dadk/config/nova_shell-0.1.0.dadk
/DragonOS/user/dadk/config/relibc-0.1.0.dadk
/DragonOS/user/libs/libc/src/Makefile
1a72a75106-Dec-2023 LoGin <longjin@DragonOS.org>

在riscv输出hello world (#466)

增加了以下内容:
- SBI驱动
- 把内核的rust工具链升级到2023-08-15版本
- 输出riscv的helloworld
- 设置内核是PIC的


/DragonOS/.github/workflows/cache-toolchain.yml
/DragonOS/.gitmodules
/DragonOS/Makefile
/DragonOS/build-scripts/kernel_build/src/cfiles/arch/riscv64.rs
/DragonOS/build-scripts/kernel_build/src/cfiles/mod.rs
/DragonOS/docs/introduction/build_system.md
/DragonOS/env.mk
/DragonOS/kernel/Makefile
/DragonOS/kernel/rust-toolchain.toml
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/arch/riscv64/asm/head.S
/DragonOS/kernel/src/arch/riscv64/driver/mod.rs
/DragonOS/kernel/src/arch/riscv64/driver/sbi/ecall.rs
/DragonOS/kernel/src/arch/riscv64/driver/sbi/legacy.rs
/DragonOS/kernel/src/arch/riscv64/driver/sbi/mod.rs
/DragonOS/kernel/src/arch/riscv64/init/mod.rs
/DragonOS/kernel/src/arch/riscv64/link.ld
/DragonOS/kernel/src/arch/riscv64/mod.rs
/DragonOS/kernel/src/arch/riscv64/process/mod.rs
/DragonOS/kernel/src/arch/riscv64/riscv64imac-unknown-none-elf.json
/DragonOS/kernel/src/arch/x86_64/driver/hpet.rs
/DragonOS/kernel/src/driver/base/kset.rs
/DragonOS/kernel/src/driver/tty/serial/serial8250/mod.rs
/DragonOS/kernel/src/driver/video/mod.rs
/DragonOS/kernel/src/exception/softirq.rs
/DragonOS/kernel/src/filesystem/fat/entry.rs
/DragonOS/kernel/src/filesystem/procfs/mod.rs
/DragonOS/kernel/src/init/mod.rs
/DragonOS/kernel/src/ipc/signal_types.rs
/DragonOS/kernel/src/ipc/syscall.rs
/DragonOS/kernel/src/lib.rs
elf.rs
futex/futex.rs
lib_ui/screen_manager.rs
lib_ui/textui.rs
lib_ui/textui_no_alloc.rs
notifier.rs
/DragonOS/kernel/src/mm/mmio_buddy.rs
/DragonOS/kernel/src/net/socket.rs
/DragonOS/kernel/src/process/c_adapter.rs
/DragonOS/kernel/src/process/mod.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/time/timer.rs
/DragonOS/kernel/submodules/DragonStub
/DragonOS/tools/bootstrap.sh
/DragonOS/tools/grub_auto_install.sh
/DragonOS/tools/run-qemu.sh
/DragonOS/tools/write_disk_image.sh
/DragonOS/user/Makefile
/DragonOS/user/dadk/config/dragon_reach-0.1.0.dadk
/DragonOS/user/dadk/config/nova_shell-0.1.0.dadk
4fda81ce25-Nov-2023 LoGin <longjin@DragonOS.org>

使得DragonOS kernel 能为riscv64编译通过(尚未能启动) (#457)

* 使得DragonOS kernel 能为riscv64编译通过(尚未能启动)

* 修正了系统调用号声明不正确的问题,同时添加了编译配置文档


/DragonOS/.vscode/settings.json
/DragonOS/Makefile
/DragonOS/README.md
/DragonOS/README_EN.md
/DragonOS/build-scripts/kernel_build/src/bindgen/arch/mod.rs
/DragonOS/build-scripts/kernel_build/src/bindgen/arch/riscv64.rs
/DragonOS/build-scripts/kernel_build/src/cfiles/arch/mod.rs
/DragonOS/build-scripts/kernel_build/src/cfiles/arch/riscv64.rs
/DragonOS/build-scripts/kernel_build/src/cfiles/arch/x86_64.rs
/DragonOS/build-scripts/kernel_build/src/cfiles/mod.rs
/DragonOS/build-scripts/kernel_build/src/constant/mod.rs
/DragonOS/docs/index.rst
/DragonOS/docs/kernel/configuration/arch.md
/DragonOS/docs/kernel/configuration/index.rst
/DragonOS/env.mk
/DragonOS/kernel/.cargo/config.toml
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/Makefile
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/arch/arch.h
/DragonOS/kernel/src/arch/mod.rs
/DragonOS/kernel/src/arch/riscv64/asm/bitops.rs
/DragonOS/kernel/src/arch/riscv64/asm/irqflags.h
/DragonOS/kernel/src/arch/riscv64/asm/mod.rs
/DragonOS/kernel/src/arch/riscv64/asm/spinlock.c
/DragonOS/kernel/src/arch/riscv64/boot/bootscript.cmd
/DragonOS/kernel/src/arch/riscv64/boot/head.S
/DragonOS/kernel/src/arch/riscv64/cpu.rs
/DragonOS/kernel/src/arch/riscv64/include/asm/asm.h
/DragonOS/kernel/src/arch/riscv64/include/asm/irqflags.h
/DragonOS/kernel/src/arch/riscv64/interrupt/ipi.rs
/DragonOS/kernel/src/arch/riscv64/interrupt/mod.rs
/DragonOS/kernel/src/arch/riscv64/ipc/mod.rs
/DragonOS/kernel/src/arch/riscv64/ipc/signal.rs
/DragonOS/kernel/src/arch/riscv64/kvm/mod.rs
/DragonOS/kernel/src/arch/riscv64/link.ld
/DragonOS/kernel/src/arch/riscv64/mm/bump.rs
/DragonOS/kernel/src/arch/riscv64/mm/mod.rs
/DragonOS/kernel/src/arch/riscv64/mod.rs
/DragonOS/kernel/src/arch/riscv64/msi.rs
/DragonOS/kernel/src/arch/riscv64/pci/mod.rs
/DragonOS/kernel/src/arch/riscv64/pio.rs
/DragonOS/kernel/src/arch/riscv64/process/kthread.rs
/DragonOS/kernel/src/arch/riscv64/process/mod.rs
/DragonOS/kernel/src/arch/riscv64/process/syscall.rs
/DragonOS/kernel/src/arch/riscv64/rand.rs
/DragonOS/kernel/src/arch/riscv64/sched.rs
/DragonOS/kernel/src/arch/riscv64/syscall/mod.rs
/DragonOS/kernel/src/arch/riscv64/syscall/nr.rs
/DragonOS/kernel/src/arch/riscv64/time.rs
/DragonOS/kernel/src/arch/x86_64/cpu.rs
/DragonOS/kernel/src/arch/x86_64/driver/apic/apic.h
/DragonOS/kernel/src/arch/x86_64/include/asm/asm.h
/DragonOS/kernel/src/arch/x86_64/link.lds
/DragonOS/kernel/src/arch/x86_64/mm/bump.rs
/DragonOS/kernel/src/arch/x86_64/mm/c_adapter.rs
/DragonOS/kernel/src/arch/x86_64/mm/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/process/c_adapter.rs
/DragonOS/kernel/src/arch/x86_64/process/mod.rs
/DragonOS/kernel/src/arch/x86_64/rand.rs
/DragonOS/kernel/src/arch/x86_64/syscall/mod.rs
/DragonOS/kernel/src/arch/x86_64/syscall/nr.rs
/DragonOS/kernel/src/common/asm.h
/DragonOS/kernel/src/common/atomic.h
/DragonOS/kernel/src/common/idr.h
/DragonOS/kernel/src/common/math.h
/DragonOS/kernel/src/common/stddef.h
/DragonOS/kernel/src/common/string.h
/DragonOS/kernel/src/driver/acpi/acpi.c
/DragonOS/kernel/src/driver/acpi/acpi.h
/DragonOS/kernel/src/driver/acpi/c_adapter.rs
/DragonOS/kernel/src/driver/acpi/mod.rs
/DragonOS/kernel/src/driver/disk/ahci/ahcidisk.rs
/DragonOS/kernel/src/driver/multiboot2/multiboot2.c
/DragonOS/kernel/src/driver/multiboot2/multiboot2.h
/DragonOS/kernel/src/driver/pci/pci_irq.c
/DragonOS/kernel/src/driver/pci/pci_irq.rs
/DragonOS/kernel/src/driver/timers/rtc/rtc.rs
/DragonOS/kernel/src/exception/gate.h
/DragonOS/kernel/src/exception/irq.c
/DragonOS/kernel/src/exception/trap.c
/DragonOS/kernel/src/filesystem/procfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/file.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
/DragonOS/kernel/src/include/DragonOS/refcount.h
/DragonOS/kernel/src/include/bindings/wrapper.h
/DragonOS/kernel/src/ktest/test-idr.c
/DragonOS/kernel/src/lib.rs
cpu.c
elf.rs
idr.c
lock_free_flags.rs
lockref.c
lz4.c
mod.rs
rwlock.rs
string.c
/DragonOS/kernel/src/mm/allocator/buddy.rs
/DragonOS/kernel/src/mm/allocator/bump.rs
/DragonOS/kernel/src/mm/c_adapter.rs
/DragonOS/kernel/src/mm/mm.h
/DragonOS/kernel/src/mm/mmio_buddy.rs
/DragonOS/kernel/src/mm/mod.rs
/DragonOS/kernel/src/mm/ucontext.rs
/DragonOS/kernel/src/net/syscall.rs
/DragonOS/kernel/src/process/c_adapter.rs
/DragonOS/kernel/src/process/fork.rs
/DragonOS/kernel/src/process/idle.rs
/DragonOS/kernel/src/process/kthread.rs
/DragonOS/kernel/src/process/mod.rs
/DragonOS/kernel/src/process/syscall.rs
/DragonOS/kernel/src/sched/syscall.rs
/DragonOS/kernel/src/smp/ipi.h
/DragonOS/kernel/src/smp/smp.c
/DragonOS/kernel/src/syscall/misc.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/syscall/syscall.c
/DragonOS/kernel/src/time/sleep.rs
/DragonOS/kernel/src/virt/kvm/vm.rs
/DragonOS/tools/.gdbinit
/DragonOS/tools/arch/riscv64/.gitignore
/DragonOS/tools/bootstrap.sh
/DragonOS/tools/build_gcc_toolchain.sh
/DragonOS/tools/create_hdd_image.sh
/DragonOS/tools/grub_auto_install.sh
/DragonOS/tools/install_musl_gcc.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/dadk/config/tar_1_35.dadk
/DragonOS/user/libs/libc/src/Makefile
46e234ae17-Nov-2023 LoGin <longjin@DragonOS.org>

使用cargo管理一些C文件的编译,并且移动部分汇编到arch目录 (#447)

* 使用cargo管理main.c的编译

* 使用build-scripts编译架构相关的c代码

* 删除elf.h


/DragonOS/.vscode/settings.json
/DragonOS/Makefile
/DragonOS/README.md
/DragonOS/README_EN.md
/DragonOS/build-scripts/Cargo.toml
/DragonOS/build-scripts/Makefile
/DragonOS/build-scripts/kernel_build/Cargo.toml
/DragonOS/build-scripts/kernel_build/src/bindgen/arch/mod.rs
/DragonOS/build-scripts/kernel_build/src/bindgen/arch/x86_64.rs
/DragonOS/build-scripts/kernel_build/src/bindgen/mod.rs
/DragonOS/build-scripts/kernel_build/src/cfiles/arch/mod.rs
/DragonOS/build-scripts/kernel_build/src/cfiles/arch/x86_64.rs
/DragonOS/build-scripts/kernel_build/src/cfiles/mod.rs
/DragonOS/build-scripts/kernel_build/src/constant/mod.rs
/DragonOS/build-scripts/kernel_build/src/kconfig/mod.rs
/DragonOS/build-scripts/kernel_build/src/lib.rs
/DragonOS/build-scripts/kernel_build/src/utils/cargo_handler.rs
/DragonOS/build-scripts/kernel_build/src/utils/mod.rs
/DragonOS/docs/_static/dragonos-logo.svg
/DragonOS/docs/index.rst
/DragonOS/docs/kernel/configuration/config.md
/DragonOS/docs/kernel/configuration/index.rst
/DragonOS/kernel/.gitignore
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/build.rs
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/arch/x86_64/asm/apu_boot.S
/DragonOS/kernel/src/arch/x86_64/asm/entry.S
/DragonOS/kernel/src/arch/x86_64/asm/head.S
/DragonOS/kernel/src/arch/x86_64/include/asm/asm.h
/DragonOS/kernel/src/arch/x86_64/include/x86_64_ipi.h
/DragonOS/kernel/src/arch/x86_64/init/main.c
/DragonOS/kernel/src/arch/x86_64/interrupt/x86_64_ipi.c
/DragonOS/kernel/src/common/glib.h
/DragonOS/kernel/src/common/unistd.h
/DragonOS/kernel/src/driver/base/block/disk_info.rs
/DragonOS/kernel/src/driver/keyboard/ps2_keyboard.c
/DragonOS/kernel/src/driver/keyboard/ps2_keyboard.rs
/DragonOS/kernel/src/exception/Makefile
/DragonOS/kernel/src/exception/softirq.rs
/DragonOS/kernel/src/filesystem/vfs/VFS.h
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
/DragonOS/kernel/src/include/bindings/wrapper.h
glib.c
unistd.c
/DragonOS/kernel/src/link.lds
/DragonOS/kernel/src/mm/c_adapter.rs
/DragonOS/kernel/src/mm/mm.h
/DragonOS/kernel/src/process/preempt.h
/DragonOS/kernel/src/process/process.h
/DragonOS/kernel/src/smp/Makefile
/DragonOS/kernel/src/smp/ipi.h
a0c98cd416-Nov-2023 Jomo <xuzihao@dragonos.org>

解决textui framework初始化成功后串口无法正常换行 (#443)


/DragonOS/.readthedocs.yaml
/DragonOS/docs/index.rst
/DragonOS/docs/userland/appdev/c-cpp-quick-start.md
/DragonOS/docs/userland/appdev/index.rst
/DragonOS/docs/userland/appdev/rust-quick-start.md
/DragonOS/kernel/src/arch/x86_64/driver/apic/apic_timer.rs
/DragonOS/kernel/src/arch/x86_64/ipc/signal.rs
/DragonOS/kernel/src/arch/x86_64/process/syscall.rs
/DragonOS/kernel/src/arch/x86_64/syscall.rs
/DragonOS/kernel/src/common/time.h
/DragonOS/kernel/src/driver/base/block/block_device.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/open.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
/DragonOS/kernel/src/filesystem/vfs/utils.rs
/DragonOS/kernel/src/ipc/pipe.rs
/DragonOS/kernel/src/ipc/signal_types.rs
/DragonOS/kernel/src/lib.rs
lib_ui/textui.rs
/DragonOS/kernel/src/mm/ucontext.rs
/DragonOS/kernel/src/net/mod.rs
/DragonOS/kernel/src/net/syscall.rs
/DragonOS/kernel/src/process/exit.rs
/DragonOS/kernel/src/process/fork.rs
/DragonOS/kernel/src/process/mod.rs
/DragonOS/kernel/src/process/resource.rs
/DragonOS/kernel/src/process/syscall.rs
/DragonOS/kernel/src/syscall/misc.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/syscall/user_access.rs
/DragonOS/kernel/src/time/clocksource.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/tools/bootstrap.sh
/DragonOS/tools/create_hdd_image.sh
/DragonOS/tools/run-qemu.sh
/DragonOS/user/Makefile
/DragonOS/user/apps/shell/cmd.c
/DragonOS/user/dadk/config/tar_1_35.dadk
7b32f50807-Nov-2023 LoGin <longjin@DragonOS.org>

增加内存分配日志监视器 (#424)

* 完成内存日志监视,并输出日志到文件
* 修复进程退出后,procfs查看进程status文件会崩溃的问题
* 修复signal唤醒进程的判断条件问题


/DragonOS/.gitignore
/DragonOS/.vscode/settings.json
/DragonOS/Makefile
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/build.rs
/DragonOS/kernel/crates/crc/src/lib.rs
/DragonOS/kernel/crates/kdepends/Cargo.toml
/DragonOS/kernel/crates/kdepends/src/lib.rs
/DragonOS/kernel/crates/klog_types/Cargo.toml
/DragonOS/kernel/crates/klog_types/src/lib.rs
/DragonOS/kernel/src/arch/x86_64/process/mod.rs
/DragonOS/kernel/src/arch/x86_64/smp/mod.rs
/DragonOS/kernel/src/debug/klog/mm.rs
/DragonOS/kernel/src/debug/klog/mod.rs
/DragonOS/kernel/src/debug/mod.rs
/DragonOS/kernel/src/driver/base/platform/platform_device.rs
/DragonOS/kernel/src/driver/tty/mod.rs
/DragonOS/kernel/src/filesystem/procfs/mod.rs
/DragonOS/kernel/src/ipc/signal.rs
/DragonOS/kernel/src/lib.rs
ida/src/lib.rs
/DragonOS/kernel/src/mm/allocator/kernel_allocator.rs
/DragonOS/kernel/src/process/mod.rs
/DragonOS/tools/Cargo.toml
/DragonOS/tools/Makefile
/DragonOS/tools/debugging/logmonitor/.gitignore
/DragonOS/tools/debugging/logmonitor/Cargo.toml
/DragonOS/tools/debugging/logmonitor/README.md
/DragonOS/tools/debugging/logmonitor/src/app.rs
/DragonOS/tools/debugging/logmonitor/src/backend/error.rs
/DragonOS/tools/debugging/logmonitor/src/backend/event.rs
/DragonOS/tools/debugging/logmonitor/src/backend/loader.rs
/DragonOS/tools/debugging/logmonitor/src/backend/mod.rs
/DragonOS/tools/debugging/logmonitor/src/backend/monitor/logset.rs
/DragonOS/tools/debugging/logmonitor/src/backend/monitor/mm.rs
/DragonOS/tools/debugging/logmonitor/src/backend/monitor/mod.rs
/DragonOS/tools/debugging/logmonitor/src/command.rs
/DragonOS/tools/debugging/logmonitor/src/constant/mod.rs
/DragonOS/tools/debugging/logmonitor/src/event.rs
/DragonOS/tools/debugging/logmonitor/src/handler.rs
/DragonOS/tools/debugging/logmonitor/src/lib.rs
/DragonOS/tools/debugging/logmonitor/src/logging.rs
/DragonOS/tools/debugging/logmonitor/src/main.rs
/DragonOS/tools/debugging/logmonitor/src/tui.rs
/DragonOS/tools/debugging/logmonitor/src/ui.rs
/DragonOS/tools/run-qemu.sh
70a4e55507-Nov-2023 LoGin <longjin@DragonOS.org>

使用rust重写了apic的驱动 (#425)

* 使用rust重写了apic的驱动。

* 修正signal和调度器的部分加锁逻辑,增加回退策略。

* 把pcb的flags字段替换为无锁的

* 使用cargo管理apic的编译

* 删除makefile中指定PIC的变量

---------

Co-authored-by: Gou Ngai <ymd7823@

使用rust重写了apic的驱动 (#425)

* 使用rust重写了apic的驱动。

* 修正signal和调度器的部分加锁逻辑,增加回退策略。

* 把pcb的flags字段替换为无锁的

* 使用cargo管理apic的编译

* 删除makefile中指定PIC的变量

---------

Co-authored-by: Gou Ngai <ymd7823@outlook.com>
Co-authored-by: 櫻井桃華 <89176634+TihayaKousaka@users.noreply.github.com>

show more ...


/DragonOS/.gitignore
/DragonOS/.vscode/settings.json
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/Makefile
/DragonOS/kernel/build.rs
/DragonOS/kernel/crates/crc/Cargo.toml
/DragonOS/kernel/crates/crc/src/crc64.rs
/DragonOS/kernel/crates/crc/src/lib.rs
/DragonOS/kernel/crates/crc/src/tables/crc64.rs
/DragonOS/kernel/crates/crc/src/tables/mod.rs
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/arch/Makefile
/DragonOS/kernel/src/arch/x86_64/Makefile
/DragonOS/kernel/src/arch/x86_64/asm/Makefile
/DragonOS/kernel/src/arch/x86_64/c_adapter.rs
/DragonOS/kernel/src/arch/x86_64/driver/apic/apic.c
/DragonOS/kernel/src/arch/x86_64/driver/apic/apic.h
/DragonOS/kernel/src/arch/x86_64/driver/apic/apic_timer.c
/DragonOS/kernel/src/arch/x86_64/driver/apic/apic_timer.h
/DragonOS/kernel/src/arch/x86_64/driver/apic/apic_timer.rs
/DragonOS/kernel/src/arch/x86_64/driver/apic/c_adapter.rs
/DragonOS/kernel/src/arch/x86_64/driver/apic/ioapic.rs
/DragonOS/kernel/src/arch/x86_64/driver/apic/mod.rs
/DragonOS/kernel/src/arch/x86_64/driver/apic/x2apic.rs
/DragonOS/kernel/src/arch/x86_64/driver/apic/xapic.rs
/DragonOS/kernel/src/arch/x86_64/driver/hpet.c
/DragonOS/kernel/src/arch/x86_64/driver/mod.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/c_adapter.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/ipc/signal.rs
/DragonOS/kernel/src/arch/x86_64/process/mod.rs
/DragonOS/kernel/src/arch/x86_64/process/table.rs
/DragonOS/kernel/src/arch/x86_64/syscall.rs
/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/driver/Makefile
/DragonOS/kernel/src/driver/base/block/block_device.rs
/DragonOS/kernel/src/driver/hid/Makefile
/DragonOS/kernel/src/driver/keyboard/ps2_keyboard.c
/DragonOS/kernel/src/driver/mouse/ps2_mouse.c
/DragonOS/kernel/src/exception/entry.S
/DragonOS/kernel/src/exception/irq.c
/DragonOS/kernel/src/exception/irq.h
/DragonOS/kernel/src/filesystem/fat/fs.rs
/DragonOS/kernel/src/filesystem/vfs/file.rs
/DragonOS/kernel/src/head.S
/DragonOS/kernel/src/include/bindings/wrapper.h
/DragonOS/kernel/src/lib.rs
Makefile
lock_free_flags.rs
mod.rs
rwlock.rs
/DragonOS/kernel/src/main.c
/DragonOS/kernel/src/process/fork.rs
/DragonOS/kernel/src/process/kthread.rs
/DragonOS/kernel/src/process/mod.rs
/DragonOS/kernel/src/sched/cfs.rs
/DragonOS/kernel/src/sched/core.rs
/DragonOS/kernel/src/sched/sched.h
/DragonOS/kernel/src/smp/cpu/c_adapter.rs
/DragonOS/kernel/src/smp/cpu/mod.rs
/DragonOS/kernel/src/smp/mod.rs
/DragonOS/kernel/src/smp/smp.c
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/tools/run-qemu.sh
/DragonOS/user/apps/shell/cmd.c
/DragonOS/user/dadk/config/dragon_reach-0.1.0.dadk
/DragonOS/user/dadk/config/relibc-0.1.0.dadk
/DragonOS/user/libs/libc/src/Makefile
2f6f547a04-Nov-2023 GnoCiYeH <heyicong@dragonos.org>

Patch fix sched (#419)

1.解决waitqueue sleep的时候,由于preempt count不为0,导致sched失败,从而导致该waitqueue下一次wakeup时,会把pcb多次加入调度队列的bug
2.修复socket inode 的read和write方法里面没有使用no_preempt的问题
3. 修复cpu0的内核栈由于脏数据导致new_idle

Patch fix sched (#419)

1.解决waitqueue sleep的时候,由于preempt count不为0,导致sched失败,从而导致该waitqueue下一次wakeup时,会把pcb多次加入调度队列的bug
2.修复socket inode 的read和write方法里面没有使用no_preempt的问题
3. 修复cpu0的内核栈由于脏数据导致new_idle的时候set pcb报错的问题

---------

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

show more ...

971462be01-Nov-2023 GnoCiYeH <heyicong@dragonos.org>

添加thread和futex机制 (#411)

* 初步实现clone系统调用

* 实现了线程,初步实现futex机制,添加了几个小的系统调用

* 更改pcb引用计数问题

* 解决死锁bug

---------

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

fbe6becd26-Oct-2023 LoGin <longjin@DragonOS.org>

添加rust重构版本的HPET驱动和tsc驱动,并使用HPET校准tsc频率和cpu总线频率 (#412)

* 添加rust重构版本的HPET驱动和tsc驱动,并使用HPET校准tsc频率和cpu总线频率

* 把hpet.c移动到arch文件夹下


/DragonOS/.vscode/settings.json
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/build.rs
/DragonOS/kernel/src/arch/x86_64/acpi.rs
/DragonOS/kernel/src/arch/x86_64/c_adapter.rs
/DragonOS/kernel/src/arch/x86_64/driver/c_adapter.rs
/DragonOS/kernel/src/arch/x86_64/driver/hpet.c
/DragonOS/kernel/src/arch/x86_64/driver/hpet.rs
/DragonOS/kernel/src/arch/x86_64/driver/mod.rs
/DragonOS/kernel/src/arch/x86_64/driver/tsc.rs
/DragonOS/kernel/src/arch/x86_64/fpu.rs
/DragonOS/kernel/src/arch/x86_64/ipc/mod.rs
/DragonOS/kernel/src/arch/x86_64/ipc/signal.rs
/DragonOS/kernel/src/arch/x86_64/kvm/mod.rs
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/ept.rs
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/kvm_emulation.rs
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/mmu.rs
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/mod.rs
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/seg.rs
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/vcpu.rs
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/vmcs.rs
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/vmexit.rs
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/vmx_asm_wrapper.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/mod.rs
/DragonOS/kernel/src/arch/x86_64/setup.rs
/DragonOS/kernel/src/arch/x86_64/smp/mod.rs
/DragonOS/kernel/src/arch/x86_64/syscall.rs
/DragonOS/kernel/src/arch/x86_64/time.rs
/DragonOS/kernel/src/common/cpu.h
/DragonOS/kernel/src/common/glib.h
/DragonOS/kernel/src/debug/kallsyms.c
/DragonOS/kernel/src/driver/acpi/acpi.c
/DragonOS/kernel/src/driver/acpi/bus.rs
/DragonOS/kernel/src/driver/acpi/c_adapter.rs
/DragonOS/kernel/src/driver/acpi/mod.rs
/DragonOS/kernel/src/driver/acpi/pmtmr.rs
/DragonOS/kernel/src/driver/acpi/sysfs.rs
/DragonOS/kernel/src/driver/base/cpu.rs
/DragonOS/kernel/src/driver/base/device/bus.rs
/DragonOS/kernel/src/driver/base/device/mod.rs
/DragonOS/kernel/src/driver/base/init.rs
/DragonOS/kernel/src/driver/base/kobject.rs
/DragonOS/kernel/src/driver/base/kset.rs
/DragonOS/kernel/src/driver/base/mod.rs
/DragonOS/kernel/src/driver/base/platform/platform_device.rs
/DragonOS/kernel/src/driver/disk/ahci/ahcidisk.rs
/DragonOS/kernel/src/driver/interrupt/apic/apic_timer.c
/DragonOS/kernel/src/driver/multiboot2/multiboot2.c
/DragonOS/kernel/src/driver/multiboot2/multiboot2.h
/DragonOS/kernel/src/driver/pci/pci_irq.rs
/DragonOS/kernel/src/driver/timers/Makefile
/DragonOS/kernel/src/driver/timers/hpet/mod.rs
/DragonOS/kernel/src/driver/timers/mod.rs
/DragonOS/kernel/src/driver/tty/mod.rs
/DragonOS/kernel/src/filesystem/devfs/mod.rs
/DragonOS/kernel/src/filesystem/kernfs/mod.rs
/DragonOS/kernel/src/filesystem/sysfs/file.rs
/DragonOS/kernel/src/filesystem/sysfs/mod.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/include/bindings/wrapper.h
/DragonOS/kernel/src/ipc/mod.rs
/DragonOS/kernel/src/ipc/signal.rs
/DragonOS/kernel/src/ipc/signal_types.rs
/DragonOS/kernel/src/ipc/syscall.rs
/DragonOS/kernel/src/ktest/ktest.h
/DragonOS/kernel/src/ktest/test-kvm.c
/DragonOS/kernel/src/lib.rs
cpu.c
lib_ui/textui.rs
printk.rs
volatile.rs
/DragonOS/kernel/src/main.c
/DragonOS/kernel/src/mm/allocator/kernel_allocator.rs
/DragonOS/kernel/src/mm/c_adapter.rs
/DragonOS/kernel/src/mm/mmio.h
/DragonOS/kernel/src/mm/mmio_buddy.rs
/DragonOS/kernel/src/mm/mod.rs
/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/syscall.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/syscall/syscall_num.h
/DragonOS/kernel/src/syscall/user_access.rs
/DragonOS/kernel/src/time/mod.rs
/DragonOS/kernel/src/time/timer.h
/DragonOS/kernel/src/virt/kvm/host_mem.rs
/DragonOS/kernel/src/virt/kvm/kvm.h
/DragonOS/kernel/src/virt/kvm/kvm_dev.rs
/DragonOS/kernel/src/virt/kvm/mod.rs
/DragonOS/kernel/src/virt/kvm/vcpu.rs
/DragonOS/kernel/src/virt/kvm/vcpu_dev.rs
/DragonOS/kernel/src/virt/kvm/vm.rs
/DragonOS/kernel/src/virt/kvm/vm_dev.rs
/DragonOS/kernel/src/virt/mod.rs
/DragonOS/tools/.gdbinit
/DragonOS/tools/bootstrap.sh
/DragonOS/tools/run-qemu.sh
/DragonOS/tools/write_disk_image.sh
/DragonOS/user/apps/Makefile
/DragonOS/user/apps/shell/cmd.c
/DragonOS/user/apps/test_kvm/Makefile
/DragonOS/user/apps/test_kvm/bootstrap/Makefile
/DragonOS/user/apps/test_kvm/bootstrap/boot.bin
/DragonOS/user/apps/test_kvm/bootstrap/boot.hex
/DragonOS/user/apps/test_kvm/link.lds
/DragonOS/user/apps/test_kvm/main.c
/DragonOS/user/apps/test_signal/Makefile
/DragonOS/user/apps/test_signal/link.lds
/DragonOS/user/apps/test_signal/main.c
/DragonOS/user/apps/test_uart/Makefile
/DragonOS/user/dadk/config/dragon_reach-0.1.0.dadk
/DragonOS/user/dadk/config/relibc-0.1.0.dadk
/DragonOS/user/dadk/config/test_signal-0.1.0.dadk
/DragonOS/user/libs/libc/src/dirent.c
/DragonOS/user/libs/libc/src/fcntl.c
/DragonOS/user/libs/libc/src/include/export/fcntl.h
/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/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
01bd525822-Oct-2023 LoGin <longjin@DragonOS.org>

解决shell无法输入大写字母'P'的问题 (#404)

a03c4f9d20-Oct-2023 LoGin <longjin@DragonOS.org>

设备驱动模型:完善platform bus相关内容。并注册串口到sysfs (#403)

* 完成初始化platform bus
* 删除旧的sysfs
* 把uart驱动移动到tty/serial文件夹下
* 完成将串口挂载到sysfs
* 修复vfs系统调用未能follow symlink的问题
* 修复shell未能正确获取pwd的问题


/DragonOS/.vscode/settings.json
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/src/arch/io.rs
/DragonOS/kernel/src/arch/mod.rs
/DragonOS/kernel/src/arch/x86_64/asm/mod.rs
/DragonOS/kernel/src/arch/x86_64/asm/pio.rs
/DragonOS/kernel/src/arch/x86_64/mm/mod.rs
/DragonOS/kernel/src/arch/x86_64/mod.rs
/DragonOS/kernel/src/driver/acpi/bus.rs
/DragonOS/kernel/src/driver/acpi/mod.rs
/DragonOS/kernel/src/driver/base/device/bus.rs
/DragonOS/kernel/src/driver/base/device/dd.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/init.rs
/DragonOS/kernel/src/driver/base/kobject.rs
/DragonOS/kernel/src/driver/base/kset.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/base/platform/subsys.rs
/DragonOS/kernel/src/driver/base/subsys.rs
/DragonOS/kernel/src/driver/disk/ahci/ahcidisk.rs
/DragonOS/kernel/src/driver/interrupt/apic/apic.c
/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/tty/init.rs
/DragonOS/kernel/src/driver/tty/mod.rs
/DragonOS/kernel/src/driver/tty/serial/mod.rs
/DragonOS/kernel/src/driver/tty/serial/serial8250/mod.rs
/DragonOS/kernel/src/driver/tty/serial/serial8250/serial8250_pio.rs
/DragonOS/kernel/src/driver/tty/tty_device.rs
/DragonOS/kernel/src/driver/tty/tty_driver.rs
/DragonOS/kernel/src/driver/video/mod.rs
/DragonOS/kernel/src/filesystem/kernfs/mod.rs
/DragonOS/kernel/src/filesystem/sysfs/group.rs
/DragonOS/kernel/src/filesystem/sysfs/symlink.rs
/DragonOS/kernel/src/filesystem/vfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
/DragonOS/kernel/src/init/c_adapter.rs
/DragonOS/kernel/src/init/mod.rs
/DragonOS/kernel/src/lib.rs
ida/Cargo.toml
ida/src/lib.rs
int_like.rs
lib_ui/screen_manager.h
lib_ui/screen_manager.rs
lib_ui/textui.rs
lib_ui/textui_no_alloc.rs
wait_queue.rs
/DragonOS/kernel/src/main.c
/DragonOS/user/apps/shell/cmd.c
/DragonOS/user/libs/libc/src/include/export/unistd.h
/DragonOS/user/libs/libc/src/unistd.c
/DragonOS/user/libs/libsystem/syscall.h
06d5e24710-Oct-2023 LoGin <longjin@DragonOS.org>

完善设备驱动模型,基于kset、kobj来维护对象之间的关系 (#401)

* 使用kobj和kset管理/sys文件夹下的对象

* 修改notifier,把action从u64换为泛型。

* 完善设备驱动模型,基于kset、kobj来维护对象之间的关系


/DragonOS/.github/workflows/cache-toolchain.yml
/DragonOS/docs/userland/libc/apis/api-list/string.md
/DragonOS/kernel/src/arch/x86_64/mm/mod.rs
/DragonOS/kernel/src/arch/x86_64/process/syscall.rs
/DragonOS/kernel/src/arch/x86_64/syscall.rs
/DragonOS/kernel/src/driver/acpi/acpi.c
/DragonOS/kernel/src/driver/acpi/glue.rs
/DragonOS/kernel/src/driver/acpi/mod.rs
/DragonOS/kernel/src/driver/base/block/block_device.rs
/DragonOS/kernel/src/driver/base/c_adapter.rs
/DragonOS/kernel/src/driver/base/char/mod.rs
/DragonOS/kernel/src/driver/base/class.rs
/DragonOS/kernel/src/driver/base/device/bus.rs
/DragonOS/kernel/src/driver/base/device/dd.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/firmware.rs
/DragonOS/kernel/src/driver/base/hypervisor.rs
/DragonOS/kernel/src/driver/base/init.rs
/DragonOS/kernel/src/driver/base/kobject.rs
/DragonOS/kernel/src/driver/base/kset.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/subsys.rs
/DragonOS/kernel/src/driver/base/subsys.rs
/DragonOS/kernel/src/driver/base/swnode.rs
/DragonOS/kernel/src/driver/disk/ahci/ahcidisk.rs
/DragonOS/kernel/src/driver/mod.rs
/DragonOS/kernel/src/driver/net/virtio_net.rs
/DragonOS/kernel/src/driver/pci/pci.rs
/DragonOS/kernel/src/driver/pci/pci_irq.rs
/DragonOS/kernel/src/driver/uart/uart_device.rs
/DragonOS/kernel/src/driver/uart/uart_driver.rs
/DragonOS/kernel/src/driver/virtio/transport_pci.rs
/DragonOS/kernel/src/filesystem/devfs/mod.rs
/DragonOS/kernel/src/filesystem/fat/fs.rs
/DragonOS/kernel/src/filesystem/kernfs/callback.rs
/DragonOS/kernel/src/filesystem/kernfs/mod.rs
/DragonOS/kernel/src/filesystem/procfs/mod.rs
/DragonOS/kernel/src/filesystem/ramfs/mod.rs
/DragonOS/kernel/src/filesystem/sysfs/dir.rs
/DragonOS/kernel/src/filesystem/sysfs/file.rs
/DragonOS/kernel/src/filesystem/sysfs/group.rs
/DragonOS/kernel/src/filesystem/sysfs/mod.rs
/DragonOS/kernel/src/filesystem/sysfs/symlink.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/ipc/pipe.rs
/DragonOS/kernel/src/ipc/syscall.rs
/DragonOS/kernel/src/lib.rs
notifier.rs
/DragonOS/kernel/src/main.c
/DragonOS/kernel/src/mm/allocator/buddy.rs
/DragonOS/kernel/src/mm/allocator/page_frame.rs
/DragonOS/kernel/src/net/net_core.rs
/DragonOS/kernel/src/process/abi.rs
/DragonOS/kernel/src/process/exec.rs
/DragonOS/kernel/src/process/mod.rs
/DragonOS/kernel/src/process/syscall.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/user/apps/shell/cmd.c
/DragonOS/user/apps/test_mkfifo/Makefile
/DragonOS/user/apps/test_mkfifo/link.lds
/DragonOS/user/apps/test_mkfifo/main.c
/DragonOS/user/dadk/config/relibc-0.1.0.dadk
/DragonOS/user/dadk/config/test_mkfifo-0.1.0.dadk
/DragonOS/user/libs/libc/src/include/export/string.h
/DragonOS/user/libs/libc/src/include/export/sys/stat.h
/DragonOS/user/libs/libc/src/string.c
/DragonOS/user/libs/libc/src/sys/stat.c
/DragonOS/user/libs/libsystem/syscall.h
fba5623102-Oct-2023 LoGin <longjin@DragonOS.org>

引入intertrait库,支持trait之间的互相转换 (#395)

* 能过编译(test还没法跑)

* 初始化intertrait转换库

* update license of intertrait


/DragonOS/.vscode/settings.json
/DragonOS/docs/kernel/filesystem/index.rst
/DragonOS/docs/kernel/filesystem/kernfs.md
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/src/arch/x86_64/msi.rs
/DragonOS/kernel/src/driver/base/block/block_device.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/map/mod.rs
/DragonOS/kernel/src/driver/disk/ahci/ahci_inode.rs
/DragonOS/kernel/src/driver/interrupt/apic/apic.c
/DragonOS/kernel/src/driver/keyboard/ps2_keyboard.rs
/DragonOS/kernel/src/driver/pci/pci_irq.c
/DragonOS/kernel/src/driver/pci/pci_irq.rs
/DragonOS/kernel/src/driver/tty/tty_device.rs
/DragonOS/kernel/src/driver/uart/uart_device.rs
/DragonOS/kernel/src/driver/uart/uart_driver.rs
/DragonOS/kernel/src/driver/virtio/transport_pci.rs
/DragonOS/kernel/src/exception/irq.c
/DragonOS/kernel/src/exception/irq.h
/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/kernfs/callback.rs
/DragonOS/kernel/src/filesystem/kernfs/mod.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/dir.rs
/DragonOS/kernel/src/filesystem/sysfs/file.rs
/DragonOS/kernel/src/filesystem/sysfs/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/init/c_adapter.rs
/DragonOS/kernel/src/init/mod.rs
/DragonOS/kernel/src/ipc/pipe.rs
/DragonOS/kernel/src/lib.rs
intertrait/.gitignore
intertrait/Cargo.toml
intertrait/LICENSE-MIT
intertrait/README.md
intertrait/macros/Cargo.toml
intertrait/macros/LICENSE-APACHE
intertrait/macros/LICENSE-MIT
intertrait/macros/src/args.rs
intertrait/macros/src/gen_caster.rs
intertrait/macros/src/item_impl.rs
intertrait/macros/src/item_type.rs
intertrait/macros/src/lib.rs
intertrait/src/cast.rs
intertrait/src/cast/cast_arc.rs
intertrait/src/cast/cast_box.rs
intertrait/src/cast/cast_mut.rs
intertrait/src/cast/cast_rc.rs
intertrait/src/cast/cast_ref.rs
intertrait/src/hasher.rs
intertrait/src/lib.rs
intertrait/tests/castable_to.rs
intertrait/tests/on-enum.rs
intertrait/tests/on-struct.rs
intertrait/tests/on-trait-impl-assoc-type1.rs
intertrait/tests/on-trait-impl-assoc-type2.rs
intertrait/tests/on-trait-impl-assoc-type3.rs
intertrait/tests/on-trait-impl.rs
intertrait/tests/on-type-multi-traits.rs
intertrait/tests/run.rs
intertrait/tests/ui/duplicate-flags.rs
intertrait/tests/ui/duplicate-flags.stderr
intertrait/tests/ui/on-generic-type.rs
intertrait/tests/ui/on-generic-type.stderr
intertrait/tests/ui/on-type-impl.rs
intertrait/tests/ui/on-type-impl.stderr
intertrait/tests/ui/unknown-flag.rs
intertrait/tests/ui/unknown-flag.stderr
mod.rs
rbtree.rs
/DragonOS/kernel/src/main.c
/DragonOS/kernel/src/mm/allocator/kernel_allocator.rs
/DragonOS/kernel/src/net/net_core.rs
/DragonOS/kernel/src/net/socket.rs
/DragonOS/kernel/src/process/fork.rs
/DragonOS/kernel/src/process/init.rs
/DragonOS/tools/run-qemu.sh
/DragonOS/user/Makefile
/DragonOS/user/dadk/config/dragon_reach-0.1.0.dadk
/DragonOS/user/dadk/config/relibc-0.1.0.dadk
/DragonOS/user/dadk/target/x86_64-unknown-dragonos.json
7ae679dd17-Sep-2023 LoGin <longjin@DragonOS.org>

ahci内存越界问题修复+ mm的bug修复+在rust中解析acpi table (#384)

* bugfix: 修复了Flusher Drop的时候没有自动刷新TLB的bug

* 解决进程管理未初始化时,trap.c尝试打印pid导致错误的问题

* 设置kmalloc默认强制清0

* 修复ahci驱动的内存越界问题
* 修复mmio buddy忘记归还buddy bl

ahci内存越界问题修复+ mm的bug修复+在rust中解析acpi table (#384)

* bugfix: 修复了Flusher Drop的时候没有自动刷新TLB的bug

* 解决进程管理未初始化时,trap.c尝试打印pid导致错误的问题

* 设置kmalloc默认强制清0

* 修复ahci驱动的内存越界问题
* 修复mmio buddy忘记归还buddy block的问题
* 新增acpi模块,暂时能解析acpi tables

show more ...

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/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/traceback/traceback.c
/DragonOS/kernel/src/driver/Makefile
/DragonOS/kernel/src/driver/base/device/mod.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/timers/HPET/HPET.c
/DragonOS/kernel/src/driver/video/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/procfs/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/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
align.rs
elf.rs
int_like.rs
lib_ui/screen_manager.h
lib_ui/screen_manager.rs
lib_ui/textui.rs
lib_ui/textui_no_alloc.rs
mod.rs
mutex.rs
printk.rs
rwlock.rs
semaphore.rs
spinlock.rs
wait_queue.rs
/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/syscall.rs
/DragonOS/kernel/src/process/c_adapter.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/user/libs/libc/src/malloc.c
b087521e13-Sep-2023 Chiichen <39649411+Chiichen@users.noreply.github.com>

完善设备驱动模型&调试串口驱动 (#379)

* 完成了基本架构重构,正在进行兼容

* 重构了所有 Device Driver ,还没有接上具体设备

* 基本把 Uart 接上了,还没有测试

* 初步完成系统设备初始化

* 初步重构 BlockDevice ,使其兼容新的 Device 结构

* 修改文件系统内的部分函数调用以满足重构后的接口

* 测试完 U

完善设备驱动模型&调试串口驱动 (#379)

* 完成了基本架构重构,正在进行兼容

* 重构了所有 Device Driver ,还没有接上具体设备

* 基本把 Uart 接上了,还没有测试

* 初步完成系统设备初始化

* 初步重构 BlockDevice ,使其兼容新的 Device 结构

* 修改文件系统内的部分函数调用以满足重构后的接口

* 测试完 Uart 设备的功能

* 移除了自动添加的文件

* 修复了 warning 和部分格式

* 解决warning,并且修正sysfs初始化的位置

* Patch fix

* 删除了 sysinfo 的默认实现

* 删除了字符设备读写的 offset 参数

* 修复了 warning 和一些小逻辑错误

---------

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

show more ...


/DragonOS/docs/introduction/build_system.md
/DragonOS/docs/kernel/debug/debug-kernel-with-gdb.md
/DragonOS/docs/kernel/debug/index.rst
/DragonOS/kernel/src/arch/x86_64/mm/mod.rs
/DragonOS/kernel/src/debug/Makefile
/DragonOS/kernel/src/debug/kallsyms.c
/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/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
/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/sysfs/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/syscall.rs
/DragonOS/kernel/src/ipc/pipe.rs
/DragonOS/kernel/src/ipc/syscall.rs
elf.rs
lib_ui/screen_manager.rs
lib_ui/textui.rs
lib_ui/textui_no_alloc.rs
vec_cursor.rs
/DragonOS/kernel/src/link.lds
/DragonOS/kernel/src/main.c
/DragonOS/kernel/src/net/socket.rs
/DragonOS/kernel/src/process/exec.rs
/DragonOS/kernel/src/syscall/mod.rs
/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/unistd.c
863a3cff31-Aug-2023 LoGin <longjin@DragonOS.org>

添加与rust std接口相同的once库 (#353)

ddb9d91727-Aug-2023 Xshine <gshine@m.scnu.edu.cn>

将 io 移动至 vfs 目录,并修正引用路径 (#339)

* 将 io 移动至 vfs 目录,并修正引用路径

* fix bug in makefile


/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/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/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/lib.rs
elf.rs
vec_cursor.rs
/DragonOS/kernel/src/process/exec.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/syscall/user_access.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/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/libs/index.rst
/DragonOS/docs/kernel/libs/lib_ui/scm.md
/DragonOS/docs/kernel/libs/lib_ui/textui.md
/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/tty/tty_device.rs
/DragonOS/kernel/src/driver/video/video.c
/DragonOS/kernel/src/driver/video/video.h
/DragonOS/kernel/src/filesystem/mod.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
/DragonOS/kernel/src/head.S
/DragonOS/kernel/src/include/bindings/wrapper.h
/DragonOS/kernel/src/lib.rs
Makefile
lib_ui/font/binaries/spleen-8x16.raw_bytes
lib_ui/font/mod.rs
lib_ui/font/spleen_font.rs
lib_ui/mod.rs
lib_ui/screen_manager.h
lib_ui/screen_manager.rs
lib_ui/textui.h
lib_ui/textui.rs
lib_ui/textui_no_alloc.rs
mod.rs
printk.c
printk.rs
spinlock.rs
/DragonOS/kernel/src/main.c
/DragonOS/kernel/src/mm/mm.h
/DragonOS/kernel/src/mm/mod.rs
/DragonOS/kernel/src/mm/no_init.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/tools/.gdbinit
/DragonOS/tools/bootstrap.sh
/DragonOS/user/apps/about/about.c
/DragonOS/user/apps/shell/cmd.c
/DragonOS/user/apps/shell/shell.c
/DragonOS/user/libs/libc/src/unistd.c

123456