History log of /DragonOS/kernel/src/include/bindings/ (Results 1 – 25 of 45)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
fae6e9ad25-Oct-2024 linfeng <chenlinfeng25@outlook.com>

feat(ebpf):[WIP] add eBPF support (#948)

* feat(kprobe): Add basic kprobe support for x86_64

* feat: add ebpf support (#912)

- 实现bpf()一部分命令,包括几种基本map,相关的helper函数
- 实现部分perf相关的数据结构
- 暂时为文件实现简

feat(ebpf):[WIP] add eBPF support (#948)

* feat(kprobe): Add basic kprobe support for x86_64

* feat: add ebpf support (#912)

- 实现bpf()一部分命令,包括几种基本map,相关的helper函数
- 实现部分perf相关的数据结构
- 暂时为文件实现简单mmap
- 实现一个使用kprobe统计syscall 调用次数的ebpf程序

对eBPF支持程度(基本):

- 简单的eBPF程序(没有指定特殊的Map)
- 使用内核已经实现的Map的eBPF程序
- 可以和kprobe配合使用
- 内核Map相关的接口定义已经实现,添加新的Map较为简单

不支持的功能:
- 区分不同的eBPF程序类型(Network/Cgroup)并限定可调用的helper函数集
- 与内核其它跟踪机制配合(tracepoint)
- 其它helper和Map


todo

- [ ] 修改mmap,需要讨论,因为这个和块缓存层相关
- [x] 添加文档
- [x] 修复可能的错误
- [x] 增加rbpf版本信息

* feat: add /sys/devices/system/cpu/possible file

* feat: add /sys/devices/system/cpu/online

show more ...


/DragonOS/.github/workflows/cache-toolchain.yml
/DragonOS/.github/workflows/docs-multiversion.yml
/DragonOS/.github/workflows/docs.yml
/DragonOS/.github/workflows/makefile.yml
/DragonOS/.github/workflows/publish-dragonos-docker-image.yml
/DragonOS/.vscode/settings.json
/DragonOS/Makefile
/DragonOS/build-scripts/Cargo.toml
/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/common.rs
/DragonOS/build-scripts/kernel_build/src/cfiles/mod.rs
/DragonOS/docs/Makefile
/DragonOS/docs/_templates/footer.html
/DragonOS/docs/_templates/versions.html
/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/kernel/boot/bootloader.md
/DragonOS/docs/kernel/boot/cmdline.md
/DragonOS/docs/kernel/boot/index.rst
/DragonOS/docs/kernel/libs/id-allocation.md
/DragonOS/docs/kernel/libs/index.rst
/DragonOS/docs/kernel/trace/eBPF.md
/DragonOS/docs/kernel/trace/ebpf_flow.png
/DragonOS/docs/kernel/trace/index.rst
/DragonOS/docs/kernel/trace/kprobe.md
/DragonOS/docs/kernel/trace/kprobe_flow.png
/DragonOS/docs/requirements.txt
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/Makefile
/DragonOS/kernel/crates/ida/Cargo.toml
/DragonOS/kernel/crates/ida/README.md
/DragonOS/kernel/crates/ida/src/lib.rs
/DragonOS/kernel/crates/kcmdline_macros/Cargo.toml
/DragonOS/kernel/crates/kcmdline_macros/src/lib.rs
/DragonOS/kernel/crates/kdepends/Cargo.toml
/DragonOS/kernel/crates/kdepends/src/lib.rs
/DragonOS/kernel/crates/kprobe/Cargo.toml
/DragonOS/kernel/crates/kprobe/src/arch/loongarch64/mod.rs
/DragonOS/kernel/crates/kprobe/src/arch/mod.rs
/DragonOS/kernel/crates/kprobe/src/arch/rv64/mod.rs
/DragonOS/kernel/crates/kprobe/src/arch/x86/mod.rs
/DragonOS/kernel/crates/kprobe/src/lib.rs
/DragonOS/kernel/crates/rbpf/.appveyor.yml
/DragonOS/kernel/crates/rbpf/.gitignore
/DragonOS/kernel/crates/rbpf/Cargo.toml
/DragonOS/kernel/crates/rbpf/LICENSE-APACHE
/DragonOS/kernel/crates/rbpf/LICENSE-MIT
/DragonOS/kernel/crates/rbpf/README.md
/DragonOS/kernel/crates/rbpf/clippy.toml
/DragonOS/kernel/crates/rbpf/examples/disassemble.rs
/DragonOS/kernel/crates/rbpf/examples/helper.rs
/DragonOS/kernel/crates/rbpf/examples/load_elf.rs
/DragonOS/kernel/crates/rbpf/examples/load_elf__block_a_port.c
/DragonOS/kernel/crates/rbpf/examples/rbpf_plugin.rs
/DragonOS/kernel/crates/rbpf/examples/to_json.rs
/DragonOS/kernel/crates/rbpf/examples/uptime.rs
/DragonOS/kernel/crates/rbpf/mk/appveyor.bat
/DragonOS/kernel/crates/rbpf/rustfmt.toml
/DragonOS/kernel/crates/rbpf/src/asm_parser.rs
/DragonOS/kernel/crates/rbpf/src/assembler.rs
/DragonOS/kernel/crates/rbpf/src/cranelift.rs
/DragonOS/kernel/crates/rbpf/src/disassembler.rs
/DragonOS/kernel/crates/rbpf/src/ebpf.rs
/DragonOS/kernel/crates/rbpf/src/helpers.rs
/DragonOS/kernel/crates/rbpf/src/insn_builder.rs
/DragonOS/kernel/crates/rbpf/src/interpreter.rs
/DragonOS/kernel/crates/rbpf/src/jit.rs
/DragonOS/kernel/crates/rbpf/src/lib.rs
/DragonOS/kernel/crates/rbpf/src/no_std_error.rs
/DragonOS/kernel/crates/rbpf/src/stack.rs
/DragonOS/kernel/crates/rbpf/src/verifier.rs
/DragonOS/kernel/crates/rbpf/tests/assembler.rs
/DragonOS/kernel/crates/rbpf/tests/common.rs
/DragonOS/kernel/crates/rbpf/tests/cranelift.rs
/DragonOS/kernel/crates/rbpf/tests/disassembler.rs
/DragonOS/kernel/crates/rbpf/tests/misc.rs
/DragonOS/kernel/crates/rbpf/tests/ubpf_jit_x86_64.rs
/DragonOS/kernel/crates/rbpf/tests/ubpf_verifier.rs
/DragonOS/kernel/crates/rbpf/tests/ubpf_vm.rs
/DragonOS/kernel/crates/rust-slabmalloc/src/lib.rs
/DragonOS/kernel/crates/rust-slabmalloc/src/pages.rs
/DragonOS/kernel/crates/rust-slabmalloc/src/sc.rs
/DragonOS/kernel/crates/rust-slabmalloc/src/zone.rs
/DragonOS/kernel/env.mk
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/arch/riscv64/interrupt/handle.rs
/DragonOS/kernel/src/arch/riscv64/interrupt/mod.rs
/DragonOS/kernel/src/arch/riscv64/kprobe.rs
/DragonOS/kernel/src/arch/riscv64/mod.rs
/DragonOS/kernel/src/arch/x86_64/asm/head.S
/DragonOS/kernel/src/arch/x86_64/driver/apic/ioapic.rs
/DragonOS/kernel/src/arch/x86_64/driver/rtc.rs
/DragonOS/kernel/src/arch/x86_64/init/boot.rs
/DragonOS/kernel/src/arch/x86_64/init/mod.rs
/DragonOS/kernel/src/arch/x86_64/init/multiboot2.rs
/DragonOS/kernel/src/arch/x86_64/init/pvh/mod.rs
/DragonOS/kernel/src/arch/x86_64/init/pvh/param.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/entry.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/mod.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/trap.rs
/DragonOS/kernel/src/arch/x86_64/kprobe.rs
/DragonOS/kernel/src/arch/x86_64/link.lds
/DragonOS/kernel/src/arch/x86_64/mm/mod.rs
/DragonOS/kernel/src/arch/x86_64/mod.rs
/DragonOS/kernel/src/arch/x86_64/sched.rs
/DragonOS/kernel/src/bpf/helper/consts.rs
/DragonOS/kernel/src/bpf/helper/mod.rs
/DragonOS/kernel/src/bpf/helper/print.rs
/DragonOS/kernel/src/bpf/map/array_map.rs
/DragonOS/kernel/src/bpf/map/hash_map.rs
/DragonOS/kernel/src/bpf/map/lru.rs
/DragonOS/kernel/src/bpf/map/mod.rs
/DragonOS/kernel/src/bpf/map/queue.rs
/DragonOS/kernel/src/bpf/map/util.rs
/DragonOS/kernel/src/bpf/mod.rs
/DragonOS/kernel/src/bpf/prog/mod.rs
/DragonOS/kernel/src/bpf/prog/util.rs
/DragonOS/kernel/src/bpf/prog/verifier.rs
/DragonOS/kernel/src/common/glib.h
/DragonOS/kernel/src/common/string.h
/DragonOS/kernel/src/debug/Makefile
/DragonOS/kernel/src/debug/klog/mm.rs
/DragonOS/kernel/src/debug/kprobe/args.rs
/DragonOS/kernel/src/debug/kprobe/mod.rs
/DragonOS/kernel/src/debug/kprobe/test.rs
/DragonOS/kernel/src/debug/mod.rs
/DragonOS/kernel/src/debug/traceback/traceback.c
/DragonOS/kernel/src/debug/traceback/traceback.h
/DragonOS/kernel/src/driver/acpi/mod.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/platform/platform_device.rs
/DragonOS/kernel/src/driver/base/platform/subsys.rs
/DragonOS/kernel/src/driver/block/virtio_blk.rs
/DragonOS/kernel/src/driver/disk/ahci/ahcidisk.rs
/DragonOS/kernel/src/driver/input/ps2_mouse/ps_mouse_device.rs
/DragonOS/kernel/src/driver/input/serio/i8042/i8042_device.rs
/DragonOS/kernel/src/driver/input/serio/i8042/i8042_ports.rs
/DragonOS/kernel/src/driver/input/serio/i8042/mod.rs
/DragonOS/kernel/src/driver/net/class.rs
/DragonOS/kernel/src/driver/net/e1000e/e1000e_driver.rs
/DragonOS/kernel/src/driver/net/loopback.rs
/DragonOS/kernel/src/driver/net/mod.rs
/DragonOS/kernel/src/driver/net/sysfs.rs
/DragonOS/kernel/src/driver/net/virtio_net.rs
/DragonOS/kernel/src/driver/pci/device.rs
/DragonOS/kernel/src/driver/pci/raw_device.rs
/DragonOS/kernel/src/driver/pci/subsys.rs
/DragonOS/kernel/src/driver/pci/test/pt_device.rs
/DragonOS/kernel/src/driver/rtc/sysfs.rs
/DragonOS/kernel/src/driver/serial/mod.rs
/DragonOS/kernel/src/driver/serial/serial8250/mod.rs
/DragonOS/kernel/src/driver/serial/serial8250/serial8250_pio.rs
/DragonOS/kernel/src/driver/tty/console.rs
/DragonOS/kernel/src/driver/tty/kthread.rs
/DragonOS/kernel/src/driver/tty/pty/mod.rs
/DragonOS/kernel/src/driver/tty/pty/unix98pty.rs
/DragonOS/kernel/src/driver/tty/termios.rs
/DragonOS/kernel/src/driver/tty/tty_core.rs
/DragonOS/kernel/src/driver/tty/tty_device.rs
/DragonOS/kernel/src/driver/tty/tty_driver.rs
/DragonOS/kernel/src/driver/tty/tty_job_control.rs
/DragonOS/kernel/src/driver/tty/tty_ldisc/ntty.rs
/DragonOS/kernel/src/driver/tty/tty_port.rs
/DragonOS/kernel/src/driver/tty/virtual_terminal/mod.rs
/DragonOS/kernel/src/driver/tty/virtual_terminal/virtual_console.rs
/DragonOS/kernel/src/driver/video/console/dummycon.rs
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/framebuffer_console.rs
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/mod.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/vesafb.rs
/DragonOS/kernel/src/driver/video/mod.rs
/DragonOS/kernel/src/driver/virtio/mmio.rs
/DragonOS/kernel/src/driver/virtio/mod.rs
/DragonOS/kernel/src/driver/virtio/sysfs.rs
/DragonOS/kernel/src/driver/virtio/transport_pci.rs
/DragonOS/kernel/src/driver/virtio/virtio.rs
/DragonOS/kernel/src/exception/debug.rs
/DragonOS/kernel/src/exception/ebreak.rs
/DragonOS/kernel/src/exception/manage.rs
/DragonOS/kernel/src/exception/mod.rs
/DragonOS/kernel/src/filesystem/devpts/mod.rs
/DragonOS/kernel/src/filesystem/eventfd.rs
/DragonOS/kernel/src/filesystem/fat/fs.rs
/DragonOS/kernel/src/filesystem/fat/utils.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
linux_bpf.rs
mod.rs
/DragonOS/kernel/src/init/boot.rs
/DragonOS/kernel/src/init/cmdline.rs
/DragonOS/kernel/src/init/init.rs
/DragonOS/kernel/src/init/initial_kthread.rs
/DragonOS/kernel/src/init/mod.rs
/DragonOS/kernel/src/ipc/pipe.rs
/DragonOS/kernel/src/ipc/shm.rs
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/libs/keyboard_parser.rs
/DragonOS/kernel/src/libs/lib_ui/screen_manager.rs
/DragonOS/kernel/src/libs/lib_ui/textui.rs
/DragonOS/kernel/src/libs/printk.rs
/DragonOS/kernel/src/mm/allocator/kernel_allocator.rs
/DragonOS/kernel/src/mm/allocator/slab.rs
/DragonOS/kernel/src/mm/fault.rs
/DragonOS/kernel/src/mm/page.rs
/DragonOS/kernel/src/mm/ucontext.rs
/DragonOS/kernel/src/net/event_poll/mod.rs
/DragonOS/kernel/src/net/net_core.rs
/DragonOS/kernel/src/net/socket/handle.rs
/DragonOS/kernel/src/perf/bpf.rs
/DragonOS/kernel/src/perf/kprobe.rs
/DragonOS/kernel/src/perf/mod.rs
/DragonOS/kernel/src/perf/util.rs
/DragonOS/kernel/src/process/fork.rs
/DragonOS/kernel/src/process/mod.rs
/DragonOS/kernel/src/process/process.h
/DragonOS/kernel/src/process/stdio.rs
/DragonOS/kernel/src/smp/cpu/mod.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/time/syscall.rs
/DragonOS/tools/BUILD_CONTAINER_VERSION
/DragonOS/tools/Dockerfile
/DragonOS/tools/bootstrap.sh
/DragonOS/tools/change_rust_src.sh
/DragonOS/tools/docker-entrypoint.sh
/DragonOS/tools/install_musl_gcc.sh
/DragonOS/tools/run-qemu.sh
/DragonOS/tools/write_disk_image.sh
/DragonOS/triagebot.toml
/DragonOS/user/apps/test-mount/Cargo.toml
/DragonOS/user/apps/test-mount/src/main.rs
/DragonOS/user/apps/test-symlink/.gitignore
/DragonOS/user/apps/test-symlink/Cargo.toml
/DragonOS/user/apps/test-symlink/Makefile
/DragonOS/user/apps/test-symlink/README.md
/DragonOS/user/apps/test-symlink/src/main.rs
/DragonOS/user/apps/test_ebpf/.gitignore
/DragonOS/user/apps/test_ebpf/Cargo.toml
/DragonOS/user/apps/test_ebpf/Makefile
/DragonOS/user/apps/test_ebpf/src/main.rs
/DragonOS/user/apps/test_ebpf/syscall_ebpf/.cargo/config.toml
/DragonOS/user/apps/test_ebpf/syscall_ebpf/.gitignore
/DragonOS/user/apps/test_ebpf/syscall_ebpf/.vscode/settings.json
/DragonOS/user/apps/test_ebpf/syscall_ebpf/Cargo.toml
/DragonOS/user/apps/test_ebpf/syscall_ebpf/README.md
/DragonOS/user/apps/test_ebpf/syscall_ebpf/syscall_ebpf-common/Cargo.toml
/DragonOS/user/apps/test_ebpf/syscall_ebpf/syscall_ebpf-common/src/lib.rs
/DragonOS/user/apps/test_ebpf/syscall_ebpf/syscall_ebpf-ebpf/.cargo/config.toml
/DragonOS/user/apps/test_ebpf/syscall_ebpf/syscall_ebpf-ebpf/.helix/config.toml
/DragonOS/user/apps/test_ebpf/syscall_ebpf/syscall_ebpf-ebpf/.vim/coc-settings.json
/DragonOS/user/apps/test_ebpf/syscall_ebpf/syscall_ebpf-ebpf/.vscode/settings.json
/DragonOS/user/apps/test_ebpf/syscall_ebpf/syscall_ebpf-ebpf/Cargo.toml
/DragonOS/user/apps/test_ebpf/syscall_ebpf/syscall_ebpf-ebpf/rust-toolchain.toml
/DragonOS/user/apps/test_ebpf/syscall_ebpf/syscall_ebpf-ebpf/src/main.rs
/DragonOS/user/apps/test_ebpf/syscall_ebpf/xtask/Cargo.toml
/DragonOS/user/apps/test_ebpf/syscall_ebpf/xtask/src/build.rs
/DragonOS/user/apps/test_ebpf/syscall_ebpf/xtask/src/build_ebpf.rs
/DragonOS/user/apps/test_ebpf/syscall_ebpf/xtask/src/main.rs
/DragonOS/user/apps/test_ebpf/syscall_ebpf/xtask/src/run.rs
/DragonOS/user/apps/test_sigint/.gitignore
/DragonOS/user/apps/test_sigint/Makefile
/DragonOS/user/apps/test_sigint/main.c
/DragonOS/user/apps/test_tokio/src/main.rs
/DragonOS/user/dadk/config/nova_shell-0.1.0.dadk
/DragonOS/user/dadk/config/test_ebpf_0_1_0.dadk
/DragonOS/user/dadk/config/test_sigint-0.1.0.dadk
/DragonOS/user/dadk/config/test_symlink_0_1_0.dadk
/DragonOS/user/sysconfig/etc/group
/DragonOS/user/sysconfig/etc/gshadow
/DragonOS/user/sysconfig/etc/passwd
/DragonOS/user/sysconfig/etc/shadow
2b7818e805-Sep-2024 LoGin <longjin@DragonOS.org>

feat: 添加对内核引导协议的抽象 (#913)

* 添加multiboot header

* head.S传参增加bootloader类型

* feat: 添加引导加载协议的抽象,并为multiboot2实现这个抽象.

* 把framebuffer的映射地址改为从early ioremap和mmio pool分配

* riscv64能运行


/DragonOS/.github/FUNDING.yml
/DragonOS/.github/actions/import-toolchain/action.yml
/DragonOS/.github/issue-checker.yml
/DragonOS/.github/workflows/cache-toolchain.yml
/DragonOS/.github/workflows/issue-checker.yml
/DragonOS/.github/workflows/makefile.yml
/DragonOS/.gitignore
/DragonOS/.vscode/settings.json
/DragonOS/Makefile
/DragonOS/README.md
/DragonOS/README_EN.md
/DragonOS/build-scripts/.gitignore
/DragonOS/build-scripts/Makefile
/DragonOS/build-scripts/kernel_build/src/cfiles/arch/riscv64.rs
/DragonOS/docs/community/ChangeLog/V0.1.x/V0.1.10.md
/DragonOS/docs/community/ChangeLog/V0.1.x/V0.1.9.md
/DragonOS/docs/community/ChangeLog/index.rst
/DragonOS/docs/community/code_contribution/conventional-commit.md
/DragonOS/docs/community/code_contribution/index.rst
/DragonOS/docs/conf.py
/DragonOS/docs/introduction/build_system.md
/DragonOS/docs/introduction/index.rst
/DragonOS/docs/kernel/boot/bootloader.md
/DragonOS/docs/kernel/boot/index.rst
/DragonOS/docs/kernel/configuration/arch.md
/DragonOS/docs/kernel/libs/lib_ui/scm.md
/DragonOS/docs/kernel/locking/mutex.md
/DragonOS/docs/kernel/locking/spinlock.md
/DragonOS/docs/kernel/sched/cfs.md
/DragonOS/docs/kernel/sched/core.md
/DragonOS/docs/userland/appdev/rust-quick-start.md
/DragonOS/kernel/.cargo/config.toml
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/Makefile
/DragonOS/kernel/crates/asm_macros/Cargo.toml
/DragonOS/kernel/crates/asm_macros/src/lib.rs
/DragonOS/kernel/crates/asm_macros/src/riscv64/context.rs
/DragonOS/kernel/crates/asm_macros/src/riscv64/mod.rs
/DragonOS/kernel/crates/asm_macros/src/x86_64/mod.rs
/DragonOS/kernel/crates/bitmap/src/alloc_bitmap.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/alloc-bitmap.rs
/DragonOS/kernel/crates/intertrait/.gitignore
/DragonOS/kernel/crates/intertrait/Cargo.toml
/DragonOS/kernel/crates/intertrait/LICENSE-MIT
/DragonOS/kernel/crates/intertrait/README.md
/DragonOS/kernel/crates/intertrait/macros/Cargo.toml
/DragonOS/kernel/crates/intertrait/macros/LICENSE-APACHE
/DragonOS/kernel/crates/intertrait/macros/LICENSE-MIT
/DragonOS/kernel/crates/intertrait/macros/src/args.rs
/DragonOS/kernel/crates/intertrait/macros/src/gen_caster.rs
/DragonOS/kernel/crates/intertrait/macros/src/item_impl.rs
/DragonOS/kernel/crates/intertrait/macros/src/item_type.rs
/DragonOS/kernel/crates/intertrait/macros/src/lib.rs
/DragonOS/kernel/crates/intertrait/src/cast.rs
/DragonOS/kernel/crates/intertrait/src/cast/cast_arc.rs
/DragonOS/kernel/crates/intertrait/src/cast/cast_box.rs
/DragonOS/kernel/crates/intertrait/src/cast/cast_mut.rs
/DragonOS/kernel/crates/intertrait/src/cast/cast_rc.rs
/DragonOS/kernel/crates/intertrait/src/cast/cast_ref.rs
/DragonOS/kernel/crates/intertrait/src/hasher.rs
/DragonOS/kernel/crates/intertrait/src/lib.rs
/DragonOS/kernel/crates/intertrait/tests/castable_to.rs
/DragonOS/kernel/crates/intertrait/tests/on-enum.rs
/DragonOS/kernel/crates/intertrait/tests/on-struct.rs
/DragonOS/kernel/crates/intertrait/tests/on-trait-impl-assoc-type1.rs
/DragonOS/kernel/crates/intertrait/tests/on-trait-impl-assoc-type2.rs
/DragonOS/kernel/crates/intertrait/tests/on-trait-impl-assoc-type3.rs
/DragonOS/kernel/crates/intertrait/tests/on-trait-impl.rs
/DragonOS/kernel/crates/intertrait/tests/on-type-multi-traits.rs
/DragonOS/kernel/crates/intertrait/tests/run.rs
/DragonOS/kernel/crates/intertrait/tests/ui/duplicate-flags.rs
/DragonOS/kernel/crates/intertrait/tests/ui/duplicate-flags.stderr
/DragonOS/kernel/crates/intertrait/tests/ui/on-generic-type.rs
/DragonOS/kernel/crates/intertrait/tests/ui/on-generic-type.stderr
/DragonOS/kernel/crates/intertrait/tests/ui/on-type-impl.rs
/DragonOS/kernel/crates/intertrait/tests/ui/on-type-impl.stderr
/DragonOS/kernel/crates/intertrait/tests/ui/unknown-flag.rs
/DragonOS/kernel/crates/intertrait/tests/ui/unknown-flag.stderr
/DragonOS/kernel/crates/klog_types/src/lib.rs
/DragonOS/kernel/crates/rust-slabmalloc/Cargo.toml
/DragonOS/kernel/crates/rust-slabmalloc/src/lib.rs
/DragonOS/kernel/crates/rust-slabmalloc/src/pages.rs
/DragonOS/kernel/crates/rust-slabmalloc/src/sc.rs
/DragonOS/kernel/crates/rust-slabmalloc/src/zone.rs
/DragonOS/kernel/crates/unified-init/Cargo.toml
/DragonOS/kernel/crates/unified-init/macros/Cargo.toml
/DragonOS/kernel/crates/unified-init/src/lib.rs
/DragonOS/kernel/crates/unified-init/src/main.rs
/DragonOS/kernel/crates/wait_queue_macros/Cargo.toml
/DragonOS/kernel/crates/wait_queue_macros/src/lib.rs
/DragonOS/kernel/env.mk
/DragonOS/kernel/rust-toolchain.toml
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/arch/io.rs
/DragonOS/kernel/src/arch/mod.rs
/DragonOS/kernel/src/arch/riscv64/asm/bitops.rs
/DragonOS/kernel/src/arch/riscv64/asm/csr.rs
/DragonOS/kernel/src/arch/riscv64/cpu.rs
/DragonOS/kernel/src/arch/riscv64/driver/mod.rs
/DragonOS/kernel/src/arch/riscv64/driver/of.rs
/DragonOS/kernel/src/arch/riscv64/driver/sbi.rs
/DragonOS/kernel/src/arch/riscv64/init/boot.rs
/DragonOS/kernel/src/arch/riscv64/init/dragonstub.rs
/DragonOS/kernel/src/arch/riscv64/init/mod.rs
/DragonOS/kernel/src/arch/riscv64/interrupt/entry.rs
/DragonOS/kernel/src/arch/riscv64/interrupt/handle.rs
/DragonOS/kernel/src/arch/riscv64/interrupt/mod.rs
/DragonOS/kernel/src/arch/riscv64/ipc/signal.rs
/DragonOS/kernel/src/arch/riscv64/mm/init.rs
/DragonOS/kernel/src/arch/riscv64/mm/mod.rs
/DragonOS/kernel/src/arch/riscv64/msi.rs
/DragonOS/kernel/src/arch/riscv64/pci/mod.rs
/DragonOS/kernel/src/arch/riscv64/pci/pci_host_ecam.rs
/DragonOS/kernel/src/arch/riscv64/pio.rs
/DragonOS/kernel/src/arch/riscv64/process/idle.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/smp/mod.rs
/DragonOS/kernel/src/arch/riscv64/syscall/mod.rs
/DragonOS/kernel/src/arch/riscv64/time.rs
/DragonOS/kernel/src/arch/x86_64/acpi.rs
/DragonOS/kernel/src/arch/x86_64/asm/apu_boot.S
/DragonOS/kernel/src/arch/x86_64/asm/head.S
/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/lapic_vector.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.rs
/DragonOS/kernel/src/arch/x86_64/driver/rtc.rs
/DragonOS/kernel/src/arch/x86_64/driver/tsc.rs
/DragonOS/kernel/src/arch/x86_64/include/asm/apu_boot.h
/DragonOS/kernel/src/arch/x86_64/init/boot.rs
/DragonOS/kernel/src/arch/x86_64/init/mod.rs
/DragonOS/kernel/src/arch/x86_64/init/multiboot2.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/entry.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/interrupt/msi.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/trap.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/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/link.lds
/DragonOS/kernel/src/arch/x86_64/mm/fault.rs
/DragonOS/kernel/src/arch/x86_64/mm/mod.rs
/DragonOS/kernel/src/arch/x86_64/mm/pkru.rs
/DragonOS/kernel/src/arch/x86_64/mod.rs
/DragonOS/kernel/src/arch/x86_64/pci/pci.rs
/DragonOS/kernel/src/arch/x86_64/process/idle.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/smp/mod.rs
/DragonOS/kernel/src/arch/x86_64/syscall/mod.rs
/DragonOS/kernel/src/arch/x86_64/time.rs
/DragonOS/kernel/src/arch/x86_64/x86_64-unknown-none.json
/DragonOS/kernel/src/debug/klog/mm.rs
/DragonOS/kernel/src/driver/Makefile
/DragonOS/kernel/src/driver/acpi/bus.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/block/block_device.rs
/DragonOS/kernel/src/driver/base/block/disk_info.rs
/DragonOS/kernel/src/driver/base/block/gendisk.rs
/DragonOS/kernel/src/driver/base/block/manager.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/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/kobject.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/block/cache/cache_block.rs
/DragonOS/kernel/src/driver/block/cache/cache_iter.rs
/DragonOS/kernel/src/driver/block/cache/cached_block_device.rs
/DragonOS/kernel/src/driver/block/cache/mod.rs
/DragonOS/kernel/src/driver/block/mod.rs
/DragonOS/kernel/src/driver/block/virtio_blk.rs
/DragonOS/kernel/src/driver/clocksource/acpi_pm.rs
/DragonOS/kernel/src/driver/clocksource/mod.rs
/DragonOS/kernel/src/driver/clocksource/timer_riscv.rs
/DragonOS/kernel/src/driver/disk/ahci/ahci_inode.rs
/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/firmware/efi/esrt.rs
/DragonOS/kernel/src/driver/firmware/efi/fdt.rs
/DragonOS/kernel/src/driver/firmware/efi/guid.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/efi/tables.rs
/DragonOS/kernel/src/driver/input/mod.rs
/DragonOS/kernel/src/driver/input/ps2_dev/ps2_device.rs
/DragonOS/kernel/src/driver/input/ps2_mouse/ps_mouse_device.rs
/DragonOS/kernel/src/driver/input/ps2_mouse/ps_mouse_driver.rs
/DragonOS/kernel/src/driver/input/serio/i8042/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/irqchip/mod.rs
/DragonOS/kernel/src/driver/irqchip/riscv_intc.rs
/DragonOS/kernel/src/driver/irqchip/riscv_sifive_plic.rs
/DragonOS/kernel/src/driver/keyboard/mod.rs
/DragonOS/kernel/src/driver/keyboard/ps2_keyboard.rs
/DragonOS/kernel/src/driver/mod.rs
/DragonOS/kernel/src/driver/net/dma.rs
/DragonOS/kernel/src/driver/net/e1000e/e1000e.rs
/DragonOS/kernel/src/driver/net/e1000e/e1000e_driver.rs
/DragonOS/kernel/src/driver/net/loopback.rs
/DragonOS/kernel/src/driver/net/mod.rs
/DragonOS/kernel/src/driver/net/virtio_net.rs
/DragonOS/kernel/src/driver/open_firmware/fdt.rs
/DragonOS/kernel/src/driver/pci/attr.rs
/DragonOS/kernel/src/driver/pci/dev_id.rs
/DragonOS/kernel/src/driver/pci/device.rs
/DragonOS/kernel/src/driver/pci/driver.rs
/DragonOS/kernel/src/driver/pci/ecam.rs
/DragonOS/kernel/src/driver/pci/mod.rs
/DragonOS/kernel/src/driver/pci/pci.rs
/DragonOS/kernel/src/driver/pci/pci_irq.rs
/DragonOS/kernel/src/driver/pci/raw_device.rs
/DragonOS/kernel/src/driver/pci/root.rs
/DragonOS/kernel/src/driver/pci/subsys.rs
/DragonOS/kernel/src/driver/pci/test/mod.rs
/DragonOS/kernel/src/driver/pci/test/pt_device.rs
/DragonOS/kernel/src/driver/pci/test/pt_driver.rs
/DragonOS/kernel/src/driver/rtc/class.rs
/DragonOS/kernel/src/driver/rtc/mod.rs
/DragonOS/kernel/src/driver/scsi/mod.rs
/DragonOS/kernel/src/driver/serial/mod.rs
/DragonOS/kernel/src/driver/serial/serial8250/mod.rs
/DragonOS/kernel/src/driver/serial/serial8250/serial8250_pio.rs
/DragonOS/kernel/src/driver/timers/mod.rs
/DragonOS/kernel/src/driver/tty/console.rs
/DragonOS/kernel/src/driver/tty/pty/unix98pty.rs
/DragonOS/kernel/src/driver/tty/termios.rs
/DragonOS/kernel/src/driver/tty/tty_core.rs
/DragonOS/kernel/src/driver/tty/tty_device.rs
/DragonOS/kernel/src/driver/tty/tty_driver.rs
/DragonOS/kernel/src/driver/tty/tty_ldisc/ntty.rs
/DragonOS/kernel/src/driver/tty/tty_port.rs
/DragonOS/kernel/src/driver/tty/virtual_terminal/mod.rs
/DragonOS/kernel/src/driver/tty/virtual_terminal/virtual_console.rs
/DragonOS/kernel/src/driver/video/console/dummycon.rs
/DragonOS/kernel/src/driver/video/console/mod.rs
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/framebuffer_console.rs
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/mod.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/vesafb.rs
/DragonOS/kernel/src/driver/video/mod.rs
/DragonOS/kernel/src/driver/virtio/irq.rs
/DragonOS/kernel/src/driver/virtio/mmio.rs
/DragonOS/kernel/src/driver/virtio/mod.rs
/DragonOS/kernel/src/driver/virtio/sysfs.rs
/DragonOS/kernel/src/driver/virtio/transport.rs
/DragonOS/kernel/src/driver/virtio/transport_mmio.rs
/DragonOS/kernel/src/driver/virtio/transport_pci.rs
/DragonOS/kernel/src/driver/virtio/virtio.rs
/DragonOS/kernel/src/driver/virtio/virtio_impl.rs
/DragonOS/kernel/src/exception/handle.rs
/DragonOS/kernel/src/exception/irqchip.rs
/DragonOS/kernel/src/exception/irqdata.rs
/DragonOS/kernel/src/exception/irqdesc.rs
/DragonOS/kernel/src/exception/irqdomain.rs
/DragonOS/kernel/src/exception/manage.rs
/DragonOS/kernel/src/exception/msi.rs
/DragonOS/kernel/src/exception/softirq.rs
/DragonOS/kernel/src/exception/sysfs.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/devpts/mod.rs
/DragonOS/kernel/src/filesystem/eventfd.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/mbr.rs
/DragonOS/kernel/src/filesystem/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/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
wrapper.h
/DragonOS/kernel/src/init/boot.rs
/DragonOS/kernel/src/init/init.rs
/DragonOS/kernel/src/init/initial_kthread.rs
/DragonOS/kernel/src/init/mod.rs
/DragonOS/kernel/src/ipc/mod.rs
/DragonOS/kernel/src/ipc/pipe.rs
/DragonOS/kernel/src/ipc/shm.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
/DragonOS/kernel/src/libs/cpumask.rs
/DragonOS/kernel/src/libs/elf.rs
/DragonOS/kernel/src/libs/font/mod.rs
/DragonOS/kernel/src/libs/futex/futex.rs
/DragonOS/kernel/src/libs/futex/syscall.rs
/DragonOS/kernel/src/libs/ida/src/lib.rs
/DragonOS/kernel/src/libs/keyboard_parser.rs
/DragonOS/kernel/src/libs/lib_ui/screen_manager.rs
/DragonOS/kernel/src/libs/lib_ui/textui.rs
/DragonOS/kernel/src/libs/lib_ui/textui_no_alloc.rs
/DragonOS/kernel/src/libs/mod.rs
/DragonOS/kernel/src/libs/name.rs
/DragonOS/kernel/src/libs/notifier.rs
/DragonOS/kernel/src/libs/printk.rs
/DragonOS/kernel/src/libs/rbtree.rs
/DragonOS/kernel/src/libs/rwlock.rs
/DragonOS/kernel/src/libs/semaphore.rs
/DragonOS/kernel/src/libs/wait_queue.rs
/DragonOS/kernel/src/misc/ksysfs.rs
/DragonOS/kernel/src/mm/allocator/buddy.rs
/DragonOS/kernel/src/mm/allocator/kernel_allocator.rs
/DragonOS/kernel/src/mm/allocator/page_frame.rs
/DragonOS/kernel/src/mm/allocator/slab.rs
/DragonOS/kernel/src/mm/c_adapter.rs
/DragonOS/kernel/src/mm/early_ioremap.rs
/DragonOS/kernel/src/mm/fault.rs
/DragonOS/kernel/src/mm/init.rs
/DragonOS/kernel/src/mm/kernel_mapper.rs
/DragonOS/kernel/src/mm/madvise.rs
/DragonOS/kernel/src/mm/memblock.rs
/DragonOS/kernel/src/mm/mm.h
/DragonOS/kernel/src/mm/mmio_buddy.rs
/DragonOS/kernel/src/mm/mod.rs
/DragonOS/kernel/src/mm/no_init.rs
/DragonOS/kernel/src/mm/page.rs
/DragonOS/kernel/src/mm/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/handle.rs
/DragonOS/kernel/src/net/socket/inet.rs
/DragonOS/kernel/src/net/socket/mod.rs
/DragonOS/kernel/src/net/socket/unix.rs
/DragonOS/kernel/src/net/syscall.rs
/DragonOS/kernel/src/process/cred.rs
/DragonOS/kernel/src/process/exec.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/process/resource.rs
/DragonOS/kernel/src/process/syscall.rs
/DragonOS/kernel/src/process/timer.rs
/DragonOS/kernel/src/sched/clock.rs
/DragonOS/kernel/src/sched/completion.rs
/DragonOS/kernel/src/sched/fair.rs
/DragonOS/kernel/src/sched/mod.rs
/DragonOS/kernel/src/sched/syscall.rs
/DragonOS/kernel/src/smp/cpu/mod.rs
/DragonOS/kernel/src/smp/init.rs
/DragonOS/kernel/src/syscall/misc.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/syscall/syscall.c
/DragonOS/kernel/src/syscall/syscall_num.h
/DragonOS/kernel/src/syscall/user_access.rs
/DragonOS/kernel/src/time/clocksource.rs
/DragonOS/kernel/src/time/jiffies.rs
/DragonOS/kernel/src/time/mod.rs
/DragonOS/kernel/src/time/sleep.rs
/DragonOS/kernel/src/time/syscall.rs
/DragonOS/kernel/src/time/tick_common.rs
/DragonOS/kernel/src/time/timekeep.rs
/DragonOS/kernel/src/time/timekeeping.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/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/tools/Makefile
/DragonOS/tools/bootstrap.sh
/DragonOS/tools/change_rust_src.sh
/DragonOS/tools/debugging/logmonitor/src/backend/monitor/mm.rs
/DragonOS/tools/grub_auto_install.sh
/DragonOS/tools/run-qemu.sh
/DragonOS/triagebot.toml
/DragonOS/user/Makefile
/DragonOS/user/apps/about/about.c
/DragonOS/user/apps/clear/Makefile
/DragonOS/user/apps/http_server/main.c
/DragonOS/user/apps/riscv_init/Makefile
/DragonOS/user/apps/riscv_init/main.c
/DragonOS/user/apps/test-backlog/.cargo/config.toml
/DragonOS/user/apps/test-backlog/.gitignore
/DragonOS/user/apps/test-backlog/Cargo.toml
/DragonOS/user/apps/test-backlog/Makefile
/DragonOS/user/apps/test-backlog/README.md
/DragonOS/user/apps/test-backlog/src/main.rs
/DragonOS/user/apps/test-blockcache/.cargo/config.toml
/DragonOS/user/apps/test-blockcache/.gitignore
/DragonOS/user/apps/test-blockcache/Cargo.toml
/DragonOS/user/apps/test-blockcache/Makefile
/DragonOS/user/apps/test-blockcache/README.md
/DragonOS/user/apps/test-blockcache/src/main.rs
/DragonOS/user/apps/test-for-robustfutex/.cargo/config.toml
/DragonOS/user/apps/test-for-robustfutex/.gitignore
/DragonOS/user/apps/test-for-robustfutex/Cargo.toml
/DragonOS/user/apps/test-for-robustfutex/Makefile
/DragonOS/user/apps/test-for-robustfutex/README.md
/DragonOS/user/apps/test-for-robustfutex/src/main.rs
/DragonOS/user/apps/test-mount/Makefile
/DragonOS/user/apps/test_alarm/.cargo/config.toml
/DragonOS/user/apps/test_alarm/.gitignore
/DragonOS/user/apps/test_alarm/Cargo.toml
/DragonOS/user/apps/test_alarm/Makefile
/DragonOS/user/apps/test_alarm/README.md
/DragonOS/user/apps/test_alarm/src/main.rs
/DragonOS/user/apps/test_cred/.gitignore
/DragonOS/user/apps/test_cred/Makefile
/DragonOS/user/apps/test_cred/main.c
/DragonOS/user/apps/test_dup3/.gitignore
/DragonOS/user/apps/test_dup3/Makefile
/DragonOS/user/apps/test_dup3/main.c
/DragonOS/user/apps/test_eventfd/.gitignore
/DragonOS/user/apps/test_eventfd/Makefile
/DragonOS/user/apps/test_eventfd/main.c
/DragonOS/user/apps/test_filemap/.gitignore
/DragonOS/user/apps/test_filemap/Makefile
/DragonOS/user/apps/test_filemap/main.c
/DragonOS/user/apps/test_gettimeofday/main.c
/DragonOS/user/apps/test_lo/.gitignore
/DragonOS/user/apps/test_lo/Cargo.toml
/DragonOS/user/apps/test_lo/Makefile
/DragonOS/user/apps/test_lo/README.md
/DragonOS/user/apps/test_lo/src/main.rs
/DragonOS/user/apps/test_ramfs/.gitignore
/DragonOS/user/apps/test_ramfs/Makefile
/DragonOS/user/apps/test_ramfs/main.c
/DragonOS/user/apps/test_shm/.gitignore
/DragonOS/user/apps/test_shm/Makefile
/DragonOS/user/apps/test_shm/receiver.c
/DragonOS/user/apps/test_shm/sender.c
/DragonOS/user/apps/test_shm/test_info.c
/DragonOS/user/apps/test_socket/Makefile
/DragonOS/user/apps/test_statx/Makefile
/DragonOS/user/apps/test_tokio/.gitignore
/DragonOS/user/apps/test_tokio/Cargo.toml
/DragonOS/user/apps/test_tokio/Makefile
/DragonOS/user/apps/test_tokio/src/main.rs
/DragonOS/user/apps/test_utimensat/.gitignore
/DragonOS/user/apps/test_utimensat/Makefile
/DragonOS/user/apps/test_utimensat/main.c
/DragonOS/user/apps/user-manage/.gitignore
/DragonOS/user/apps/user-manage/Cargo.toml
/DragonOS/user/apps/user-manage/Makefile
/DragonOS/user/apps/user-manage/README.md
/DragonOS/user/apps/user-manage/src/check/check.rs
/DragonOS/user/apps/user-manage/src/check/info.rs
/DragonOS/user/apps/user-manage/src/check/mod.rs
/DragonOS/user/apps/user-manage/src/cmd/groupadd.rs
/DragonOS/user/apps/user-manage/src/cmd/groupdel.rs
/DragonOS/user/apps/user-manage/src/cmd/groupmod.rs
/DragonOS/user/apps/user-manage/src/cmd/mod.rs
/DragonOS/user/apps/user-manage/src/cmd/passwd.rs
/DragonOS/user/apps/user-manage/src/cmd/useradd.rs
/DragonOS/user/apps/user-manage/src/cmd/userdel.rs
/DragonOS/user/apps/user-manage/src/cmd/usermod.rs
/DragonOS/user/apps/user-manage/src/error/error.rs
/DragonOS/user/apps/user-manage/src/error/mod.rs
/DragonOS/user/apps/user-manage/src/executor/executor.rs
/DragonOS/user/apps/user-manage/src/executor/mod.rs
/DragonOS/user/apps/user-manage/src/lib.rs
/DragonOS/user/apps/user-manage/src/parser/cmd.rs
/DragonOS/user/apps/user-manage/src/parser/mod.rs
/DragonOS/user/apps/user-manage/src/parser/parser.rs
/DragonOS/user/dadk/config/about.dadk
/DragonOS/user/dadk/config/clear-0.1.0.dadk
/DragonOS/user/dadk/config/core_utils-9.4.0.dadk
/DragonOS/user/dadk/config/dmesg-0.1.0.dadk
/DragonOS/user/dadk/config/dog_0_1_0.dadk
/DragonOS/user/dadk/config/dragon_reach-0.1.0.dadk
/DragonOS/user/dadk/config/held-0.1.0.dadk
/DragonOS/user/dadk/config/http_server-0.1.0.dadk
/DragonOS/user/dadk/config/musl_1_2_4.dadk
/DragonOS/user/dadk/config/nova_shell-0.1.0.dadk
/DragonOS/user/dadk/config/riscv_init-0.1.0.dadk
/DragonOS/user/dadk/config/tar_1_35.dadk
/DragonOS/user/dadk/config/test_alarm_0_1_0.dadk
/DragonOS/user/dadk/config/test_backlog_0_1_0.dadk
/DragonOS/user/dadk/config/test_bind-0.1.0.dadk
/DragonOS/user/dadk/config/test_blockcache_0_1_0.dadk
/DragonOS/user/dadk/config/test_cred-0.1.0.dadk
/DragonOS/user/dadk/config/test_dup3_0_1_0.dadk
/DragonOS/user/dadk/config/test_eventfd_0_1_0.dadk
/DragonOS/user/dadk/config/test_filemap-0.1.0.dadk
/DragonOS/user/dadk/config/test_for_robustfutex_0_1_0.dadk
/DragonOS/user/dadk/config/test_fstat-0.1.0.dadk
/DragonOS/user/dadk/config/test_fstatfs_0_1_0.dadk
/DragonOS/user/dadk/config/test_gettimeofday-0.1.0.dadk
/DragonOS/user/dadk/config/test_kvm_0_1_0.dadk
/DragonOS/user/dadk/config/test_lo_0_1_0.dadk
/DragonOS/user/dadk/config/test_mkfifo-0.1.0.dadk
/DragonOS/user/dadk/config/test_mount_1_0_0.dadk
/DragonOS/user/dadk/config/test_pty-0.1.0.dadk
/DragonOS/user/dadk/config/test_ramfs-0.1.0.dadk
/DragonOS/user/dadk/config/test_shm-0.1.0.dadk
/DragonOS/user/dadk/config/test_signal-0.1.0.dadk
/DragonOS/user/dadk/config/test_socket-0.1.0.dadk
/DragonOS/user/dadk/config/test_sqlite3-3.42.0.dadk
/DragonOS/user/dadk/config/test_statfs_0_1_0.dadk
/DragonOS/user/dadk/config/test_statx_0_1_0.dadk
/DragonOS/user/dadk/config/test_tokio-0.1.0.dadk
/DragonOS/user/dadk/config/test_uart-0.1.0.dadk
/DragonOS/user/dadk/config/test_utimensat_0_1_0.dadk
/DragonOS/user/dadk/config/user_manage-0.1.0.dadk
/DragonOS/user/sysconfig/etc/group
/DragonOS/user/sysconfig/etc/gshadow
/DragonOS/user/sysconfig/etc/passwd
/DragonOS/user/sysconfig/etc/shadow
/DragonOS/user/sysconfig/home/reach/system/shell.service
f0c87a8905-Apr-2024 GnoCiYeH <heyicong@dragonos.org>

重写调度模块 (#679)

## PR:重写调度模块
---
### 完成的部分
- 实现cfs调度策略
- 搭建框架,后续功能可以迭代开发
- 目前能跑,未测试性能

### 需要后续接力的部分
- 实现组内调度(task_group)
- 实现跨核负载均衡(pelt算法)
- 接入sysfs,实现参数动态调节(sched_stat等)
- nice值以及priori

重写调度模块 (#679)

## PR:重写调度模块
---
### 完成的部分
- 实现cfs调度策略
- 搭建框架,后续功能可以迭代开发
- 目前能跑,未测试性能

### 需要后续接力的部分
- 实现组内调度(task_group)
- 实现跨核负载均衡(pelt算法)
- 接入sysfs,实现参数动态调节(sched_stat等)
- nice值以及priority等参数的设置及调优

show more ...


/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/src/arch/riscv64/interrupt/entry.rs
/DragonOS/kernel/src/arch/riscv64/interrupt/mod.rs
/DragonOS/kernel/src/arch/riscv64/process/kthread.rs
/DragonOS/kernel/src/arch/riscv64/process/mod.rs
/DragonOS/kernel/src/arch/x86_64/driver/apic/apic_timer.rs
/DragonOS/kernel/src/arch/x86_64/driver/apic/x2apic.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/handle.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/process/idle.rs
/DragonOS/kernel/src/arch/x86_64/process/mod.rs
/DragonOS/kernel/src/arch/x86_64/sched.rs
/DragonOS/kernel/src/driver/base/device/device_number.rs
/DragonOS/kernel/src/driver/disk/ahci/ahci_inode.rs
/DragonOS/kernel/src/driver/input/ps2_mouse/ps_mouse_device.rs
/DragonOS/kernel/src/driver/keyboard/ps2_keyboard.rs
/DragonOS/kernel/src/driver/tty/kthread.rs
/DragonOS/kernel/src/driver/tty/mod.rs
/DragonOS/kernel/src/driver/tty/pty/mod.rs
/DragonOS/kernel/src/driver/tty/pty/unix98pty.rs
/DragonOS/kernel/src/driver/tty/tty_core.rs
/DragonOS/kernel/src/driver/tty/tty_device.rs
/DragonOS/kernel/src/driver/tty/tty_driver.rs
/DragonOS/kernel/src/driver/tty/tty_ldisc/mod.rs
/DragonOS/kernel/src/driver/tty/tty_ldisc/ntty.rs
/DragonOS/kernel/src/driver/tty/tty_port.rs
/DragonOS/kernel/src/driver/tty/virtual_terminal/mod.rs
/DragonOS/kernel/src/driver/tty/virtual_terminal/virtual_console.rs
/DragonOS/kernel/src/driver/video/fbdev/base/fbmem.rs
/DragonOS/kernel/src/exception/ipi.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/devpts/mod.rs
/DragonOS/kernel/src/filesystem/fat/fs.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/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
wrapper.h
/DragonOS/kernel/src/init/init.rs
/DragonOS/kernel/src/ipc/pipe.rs
/DragonOS/kernel/src/ipc/syscall.rs
/DragonOS/kernel/src/libs/futex/futex.rs
/DragonOS/kernel/src/libs/lib_ui/textui.rs
/DragonOS/kernel/src/libs/mutex.rs
/DragonOS/kernel/src/libs/printk.rs
/DragonOS/kernel/src/libs/rbtree.rs
/DragonOS/kernel/src/libs/spinlock.rs
/DragonOS/kernel/src/libs/wait_queue.rs
/DragonOS/kernel/src/net/event_poll/mod.rs
/DragonOS/kernel/src/net/socket/mod.rs
/DragonOS/kernel/src/net/syscall.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/sched/clock.rs
/DragonOS/kernel/src/sched/cputime.rs
/DragonOS/kernel/src/sched/fair.rs
/DragonOS/kernel/src/sched/idle.rs
/DragonOS/kernel/src/sched/mod.rs
/DragonOS/kernel/src/sched/pelt.rs
/DragonOS/kernel/src/sched/prio.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/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/user/apps/test_pty/Makefile
/DragonOS/user/apps/test_pty/test_pty.c
/DragonOS/user/dadk/config/test_pty-0.1.0.dadk
b8ed382504-Apr-2024 Donkey Kane <109840258+xiaolin2004@users.noreply.github.com>

修复jiffy时钟过快问题,启用gettimeofday测试,修改mount测试 (#680)

1. 把clock tick rate与hpet频率关联起来
2. 修复墙上时间同步错误的问题
3. 启用时间watch dog.
4. 修复时间流逝速度异常

---------

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


/DragonOS/.github/ISSUE_TEMPLATE/bug_report.md
/DragonOS/env.mk
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/Makefile
/DragonOS/kernel/crates/driver_base_macros/Cargo.toml
/DragonOS/kernel/crates/driver_base_macros/src/lib.rs
/DragonOS/kernel/env.mk
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/arch/riscv64/cpu.rs
/DragonOS/kernel/src/arch/riscv64/init/mod.rs
/DragonOS/kernel/src/arch/riscv64/interrupt/mod.rs
/DragonOS/kernel/src/arch/riscv64/process/mod.rs
/DragonOS/kernel/src/arch/riscv64/smp/mod.rs
/DragonOS/kernel/src/arch/riscv64/syscall/mod.rs
/DragonOS/kernel/src/arch/riscv64/time.rs
/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/rtc.rs
/DragonOS/kernel/src/arch/x86_64/mm/mod.rs
/DragonOS/kernel/src/arch/x86_64/process/mod.rs
/DragonOS/kernel/src/arch/x86_64/time.rs
/DragonOS/kernel/src/common/glib.h
/DragonOS/kernel/src/debug/klog/mm.rs
/DragonOS/kernel/src/driver/base/cpu.rs
/DragonOS/kernel/src/driver/base/device/dd.rs
/DragonOS/kernel/src/driver/base/device/driver.rs
/DragonOS/kernel/src/driver/base/device/mod.rs
/DragonOS/kernel/src/driver/base/kobject.rs
/DragonOS/kernel/src/driver/base/platform/platform_device.rs
/DragonOS/kernel/src/driver/base/subsys.rs
/DragonOS/kernel/src/driver/disk/ahci/ahcidisk.rs
/DragonOS/kernel/src/driver/hid/hidparse.c
/DragonOS/kernel/src/driver/input/ps2_mouse/ps_mouse_device.rs
/DragonOS/kernel/src/driver/input/serio/i8042/i8042_device.rs
/DragonOS/kernel/src/driver/input/serio/i8042/i8042_ports.rs
/DragonOS/kernel/src/driver/mod.rs
/DragonOS/kernel/src/driver/net/dma.rs
/DragonOS/kernel/src/driver/rtc/class.rs
/DragonOS/kernel/src/driver/rtc/interface.rs
/DragonOS/kernel/src/driver/rtc/mod.rs
/DragonOS/kernel/src/driver/rtc/rtc_cmos.rs
/DragonOS/kernel/src/driver/rtc/sysfs.rs
/DragonOS/kernel/src/driver/rtc/utils.rs
/DragonOS/kernel/src/driver/serial/serial8250/mod.rs
/DragonOS/kernel/src/driver/timers/mod.rs
/DragonOS/kernel/src/driver/tty/mod.rs
/DragonOS/kernel/src/driver/tty/sysfs.rs
/DragonOS/kernel/src/driver/tty/tty_device.rs
/DragonOS/kernel/src/driver/tty/virtual_terminal/virtual_console.rs
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/mod.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/base/render_helper.rs
/DragonOS/kernel/src/driver/video/fbdev/vesafb.rs
/DragonOS/kernel/src/driver/video/mod.rs
/DragonOS/kernel/src/driver/virtio/virtio_impl.rs
/DragonOS/kernel/src/filesystem/devfs/mod.rs
/DragonOS/kernel/src/filesystem/fat/entry.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/filesystem/vfs/open.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
wrapper.h
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/libs/cpumask.rs
/DragonOS/kernel/src/libs/glib.c
/DragonOS/kernel/src/libs/lib_ui/font/mod.rs
/DragonOS/kernel/src/libs/lib_ui/screen_manager.rs
/DragonOS/kernel/src/libs/lib_ui/textui.rs
/DragonOS/kernel/src/libs/lib_ui/textui_no_alloc.rs
/DragonOS/kernel/src/mm/allocator/page_frame.rs
/DragonOS/kernel/src/mm/init.rs
/DragonOS/kernel/src/mm/page.rs
/DragonOS/kernel/src/mm/ucontext.rs
/DragonOS/kernel/src/net/mod.rs
/DragonOS/kernel/src/net/net_core.rs
/DragonOS/kernel/src/net/socket/inet.rs
/DragonOS/kernel/src/net/socket/mod.rs
/DragonOS/kernel/src/net/socket/unix.rs
/DragonOS/kernel/src/net/syscall.rs
/DragonOS/kernel/src/process/idle.rs
/DragonOS/kernel/src/process/kthread.rs
/DragonOS/kernel/src/process/mod.rs
/DragonOS/kernel/src/sched/completion.rs
/DragonOS/kernel/src/smp/mod.rs
/DragonOS/kernel/src/smp/syscall.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/mod.rs
/DragonOS/kernel/src/time/syscall.rs
/DragonOS/kernel/src/time/timekeep.rs
/DragonOS/kernel/src/time/timekeeping.rs
/DragonOS/kernel/src/time/timer.rs
/DragonOS/triagebot.toml
/DragonOS/user/Makefile
/DragonOS/user/apps/test-mount/src/main.rs
/DragonOS/user/apps/test_fstatfs/.gitignore
/DragonOS/user/apps/test_fstatfs/Makefile
/DragonOS/user/apps/test_fstatfs/main.c
/DragonOS/user/apps/test_gettimeofday/main.c
/DragonOS/user/apps/test_socket/.gitignore
/DragonOS/user/apps/test_socket/Cargo.toml
/DragonOS/user/apps/test_socket/Makefile
/DragonOS/user/apps/test_socket/src/main.rs
/DragonOS/user/apps/test_socket/src/test_unix_stream.rs
/DragonOS/user/apps/test_socket/src/test_unix_stream_pair.rs
/DragonOS/user/apps/test_statfs/.gitignore
/DragonOS/user/apps/test_statfs/Makefile
/DragonOS/user/apps/test_statfs/main.c
/DragonOS/user/dadk/config/dog_0_1_0.dadk
/DragonOS/user/dadk/config/test_fstatfs_0_1_0.dadk
/DragonOS/user/dadk/config/test_mount_1_0_0.dadk
/DragonOS/user/dadk/config/test_socket-0.1.0.dadk
/DragonOS/user/dadk/config/test_statfs_0_1_0.dadk
/DragonOS/user/sysconfig/etc/reach/system/shell.service
/DragonOS/user/sysconfig/etc/resolv.conf
b5b571e022-Mar-2024 LoGin <longjin@DragonOS.org>

修复内核的clippy检查报错 (#637)

修复内核的clippy检查报错
---------

Co-authored-by: Samuel Dai <947309196@qq.com>
Co-authored-by: Donkey Kane <109840258+xiaolin2004@users.noreply.github.com>
Co-authored-by: them

修复内核的clippy检查报错 (#637)

修复内核的clippy检查报错
---------

Co-authored-by: Samuel Dai <947309196@qq.com>
Co-authored-by: Donkey Kane <109840258+xiaolin2004@users.noreply.github.com>
Co-authored-by: themildwind <107623059+themildwind@users.noreply.github.com>
Co-authored-by: GnoCiYeH <heyicong@dragonos.org>
Co-authored-by: MemoryShore <105195940+MemoryShore@users.noreply.github.com>
Co-authored-by: 曾俊 <110876916+ZZJJWarth@users.noreply.github.com>
Co-authored-by: sun5etop <146408999+sun5etop@users.noreply.github.com>
Co-authored-by: hmt <114841534+1037827920@users.noreply.github.com>
Co-authored-by: laokengwt <143977175+laokengwt@users.noreply.github.com>
Co-authored-by: TTaq <103996388+TTaq@users.noreply.github.com>
Co-authored-by: Jomo <2512364506@qq.com>
Co-authored-by: Samuel Dai <samuka007@qq.com>
Co-authored-by: sspphh <112558065+sspphh@users.noreply.github.com>

show more ...


/DragonOS/kernel/crates/bitmap/src/bitmap_core.rs
/DragonOS/kernel/crates/bitmap/src/traits.rs
/DragonOS/kernel/crates/unified-init/macros/src/lib.rs
/DragonOS/kernel/src/arch/riscv64/cpu.rs
/DragonOS/kernel/src/arch/riscv64/interrupt/handle.rs
/DragonOS/kernel/src/arch/riscv64/interrupt/ipi.rs
/DragonOS/kernel/src/arch/riscv64/interrupt/mod.rs
/DragonOS/kernel/src/arch/riscv64/mm/mod.rs
/DragonOS/kernel/src/arch/x86_64/cpu.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/lapic_vector.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.rs
/DragonOS/kernel/src/arch/x86_64/driver/tsc.rs
/DragonOS/kernel/src/arch/x86_64/init/mod.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/handle.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/interrupt/trap.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/mmu.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/mm/bump.rs
/DragonOS/kernel/src/arch/x86_64/mm/mod.rs
/DragonOS/kernel/src/arch/x86_64/pci/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/table.rs
/DragonOS/kernel/src/arch/x86_64/smp/mod.rs
/DragonOS/kernel/src/arch/x86_64/syscall/mod.rs
/DragonOS/kernel/src/driver/base/block/block_device.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/device_number.rs
/DragonOS/kernel/src/driver/base/device/driver.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/map/mod.rs
/DragonOS/kernel/src/driver/base/platform/platform_device.rs
/DragonOS/kernel/src/driver/disk/ahci/ahci_inode.rs
/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/firmware/efi/fdt.rs
/DragonOS/kernel/src/driver/firmware/efi/init.rs
/DragonOS/kernel/src/driver/firmware/efi/tables.rs
/DragonOS/kernel/src/driver/input/ps2_mouse/ps_mouse_device.rs
/DragonOS/kernel/src/driver/net/dma.rs
/DragonOS/kernel/src/driver/net/e1000e/e1000e.rs
/DragonOS/kernel/src/driver/net/e1000e/e1000e_driver.rs
/DragonOS/kernel/src/driver/net/e1000e/mod.rs
/DragonOS/kernel/src/driver/net/virtio_net.rs
/DragonOS/kernel/src/driver/open_firmware/fdt.rs
/DragonOS/kernel/src/driver/pci/mod.rs
/DragonOS/kernel/src/driver/pci/pci.rs
/DragonOS/kernel/src/driver/serial/serial8250/mod.rs
/DragonOS/kernel/src/driver/serial/serial8250/serial8250_pio.rs
/DragonOS/kernel/src/driver/timers/hpet/mod.rs
/DragonOS/kernel/src/driver/timers/rtc/mod.rs
/DragonOS/kernel/src/driver/timers/rtc/rtc.rs
/DragonOS/kernel/src/driver/tty/console.rs
/DragonOS/kernel/src/driver/tty/kthread.rs
/DragonOS/kernel/src/driver/tty/termios.rs
/DragonOS/kernel/src/driver/tty/tty_core.rs
/DragonOS/kernel/src/driver/tty/tty_device.rs
/DragonOS/kernel/src/driver/tty/tty_driver.rs
/DragonOS/kernel/src/driver/tty/tty_ldisc/mod.rs
/DragonOS/kernel/src/driver/tty/tty_ldisc/ntty.rs
/DragonOS/kernel/src/driver/tty/virtual_terminal/console_map.rs
/DragonOS/kernel/src/driver/tty/virtual_terminal/mod.rs
/DragonOS/kernel/src/driver/tty/virtual_terminal/virtual_console.rs
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/framebuffer_console.rs
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/mod.rs
/DragonOS/kernel/src/driver/video/fbdev/base/mod.rs
/DragonOS/kernel/src/driver/video/fbdev/vesafb.rs
/DragonOS/kernel/src/driver/video/mod.rs
/DragonOS/kernel/src/driver/virtio/irq.rs
/DragonOS/kernel/src/driver/virtio/mod.rs
/DragonOS/kernel/src/driver/virtio/transport_pci.rs
/DragonOS/kernel/src/driver/virtio/virtio_impl.rs
/DragonOS/kernel/src/exception/handle.rs
/DragonOS/kernel/src/exception/irqchip.rs
/DragonOS/kernel/src/exception/irqdata.rs
/DragonOS/kernel/src/exception/irqdesc.rs
/DragonOS/kernel/src/exception/irqdomain.rs
/DragonOS/kernel/src/exception/manage.rs
/DragonOS/kernel/src/exception/resend.rs
/DragonOS/kernel/src/exception/sysfs.rs
/DragonOS/kernel/src/filesystem/devfs/mod.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/mod.rs
/DragonOS/kernel/src/filesystem/mbr.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/sysfs/file.rs
/DragonOS/kernel/src/filesystem/sysfs/mod.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/mount.rs
/DragonOS/kernel/src/filesystem/vfs/open.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
mod.rs
/DragonOS/kernel/src/init/init.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
/DragonOS/kernel/src/libs/align.rs
/DragonOS/kernel/src/libs/elf.rs
/DragonOS/kernel/src/libs/futex/futex.rs
/DragonOS/kernel/src/libs/futex/mod.rs
/DragonOS/kernel/src/libs/keyboard_parser.rs
/DragonOS/kernel/src/libs/lib_ui/screen_manager.rs
/DragonOS/kernel/src/libs/lib_ui/textui.rs
/DragonOS/kernel/src/libs/lib_ui/textui_no_alloc.rs
/DragonOS/kernel/src/libs/lock_free_flags.rs
/DragonOS/kernel/src/libs/mutex.rs
/DragonOS/kernel/src/libs/notifier.rs
/DragonOS/kernel/src/libs/printk.rs
/DragonOS/kernel/src/libs/rbtree.rs
/DragonOS/kernel/src/libs/rwlock.rs
/DragonOS/kernel/src/libs/semaphore.rs
/DragonOS/kernel/src/libs/spinlock.rs
/DragonOS/kernel/src/libs/vec_cursor.rs
/DragonOS/kernel/src/libs/wait_queue.rs
/DragonOS/kernel/src/mm/allocator/buddy.rs
/DragonOS/kernel/src/mm/allocator/bump.rs
/DragonOS/kernel/src/mm/allocator/kernel_allocator.rs
/DragonOS/kernel/src/mm/allocator/slab.rs
/DragonOS/kernel/src/mm/c_adapter.rs
/DragonOS/kernel/src/mm/early_ioremap.rs
/DragonOS/kernel/src/mm/memblock.rs
/DragonOS/kernel/src/mm/mmio_buddy.rs
/DragonOS/kernel/src/mm/mod.rs
/DragonOS/kernel/src/mm/no_init.rs
/DragonOS/kernel/src/mm/page.rs
/DragonOS/kernel/src/mm/percpu.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/mod.rs
/DragonOS/kernel/src/net/socket/sockets.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/stdio.rs
/DragonOS/kernel/src/process/utils.rs
/DragonOS/kernel/src/sched/cfs.rs
/DragonOS/kernel/src/sched/completion.rs
/DragonOS/kernel/src/sched/rt.rs
/DragonOS/kernel/src/sched/syscall.rs
/DragonOS/kernel/src/smp/cpu/mod.rs
/DragonOS/kernel/src/smp/init.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/syscall/syscall_num.h
/DragonOS/kernel/src/syscall/user_access.rs
/DragonOS/triagebot.toml
/DragonOS/user/apps/test_statx/.gitignore
/DragonOS/user/apps/test_statx/Cargo.toml
/DragonOS/user/apps/test_statx/Makefile
/DragonOS/user/apps/test_statx/src/main.rs
/DragonOS/user/dadk/config/test_statx_0_1_0.dadk
8cb2e9b321-Mar-2024 LoGin <longjin@DragonOS.org>

重写SMP模块 (#633)

* 修复cpumask的迭代器的错误。

* 能进系统(AP核心还没有初始化自身)

* 初始化ap core

* 修改percpu

* 删除无用的cpu.c

* riscv64编译通过


/DragonOS/.gitignore
/DragonOS/.vscode/settings.json
/DragonOS/docs/community/ChangeLog/V0.1.x/V0.1.9.md
/DragonOS/docs/community/ChangeLog/index.rst
/DragonOS/docs/kernel/locking/locks.md
/DragonOS/env.mk
/DragonOS/kernel/.clippy.toml
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/crates/bitmap/src/lib.rs
/DragonOS/kernel/crates/crc/src/lib.rs
/DragonOS/kernel/crates/kdepends/src/lib.rs
/DragonOS/kernel/crates/klog_types/src/lib.rs
/DragonOS/kernel/crates/system_error/src/lib.rs
/DragonOS/kernel/crates/unified-init/src/lib.rs
/DragonOS/kernel/rust-toolchain.toml
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/arch/riscv64/asm/csr.rs
/DragonOS/kernel/src/arch/riscv64/asm/head.S
/DragonOS/kernel/src/arch/riscv64/asm/mod.rs
/DragonOS/kernel/src/arch/riscv64/cpu.rs
/DragonOS/kernel/src/arch/riscv64/include/asm/asm.h
/DragonOS/kernel/src/arch/riscv64/include/asm/csr.h
/DragonOS/kernel/src/arch/riscv64/init/mod.rs
/DragonOS/kernel/src/arch/riscv64/interrupt/entry.rs
/DragonOS/kernel/src/arch/riscv64/interrupt/handle.rs
/DragonOS/kernel/src/arch/riscv64/interrupt/mod.rs
/DragonOS/kernel/src/arch/riscv64/ipc/signal.rs
/DragonOS/kernel/src/arch/riscv64/smp/mod.rs
/DragonOS/kernel/src/arch/riscv64/time.rs
/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/cpu.rs
/DragonOS/kernel/src/arch/x86_64/init/mod.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/mm/mod.rs
/DragonOS/kernel/src/arch/x86_64/mod.rs
/DragonOS/kernel/src/arch/x86_64/smp/mod.rs
/DragonOS/kernel/src/arch/x86_64/time.rs
/DragonOS/kernel/src/common/sys/types.h
/DragonOS/kernel/src/driver/input/ps2_mouse/ps_mouse_driver.rs
/DragonOS/kernel/src/driver/keyboard/ps2_keyboard.rs
/DragonOS/kernel/src/driver/tty/kthread.rs
/DragonOS/kernel/src/driver/tty/mod.rs
/DragonOS/kernel/src/driver/tty/termios.rs
/DragonOS/kernel/src/driver/tty/tty_core.rs
/DragonOS/kernel/src/driver/tty/tty_device.rs
/DragonOS/kernel/src/driver/tty/tty_job_control.rs
/DragonOS/kernel/src/driver/tty/tty_ldisc/mod.rs
/DragonOS/kernel/src/driver/tty/tty_ldisc/ntty.rs
/DragonOS/kernel/src/driver/tty/tty_port.rs
/DragonOS/kernel/src/driver/tty/virtual_terminal/mod.rs
/DragonOS/kernel/src/driver/tty/virtual_terminal/virtual_console.rs
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/framebuffer_console.rs
/DragonOS/kernel/src/driver/video/fbdev/base/mod.rs
/DragonOS/kernel/src/driver/video/fbdev/vesafb.rs
/DragonOS/kernel/src/exception/mod.rs
/DragonOS/kernel/src/filesystem/devfs/mod.rs
/DragonOS/kernel/src/filesystem/fat/entry.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/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
wrapper.h
/DragonOS/kernel/src/init/init.rs
/DragonOS/kernel/src/init/initial_kthread.rs
/DragonOS/kernel/src/ipc/signal.rs
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/libs/align.rs
/DragonOS/kernel/src/libs/cpumask.rs
/DragonOS/kernel/src/libs/ida/src/lib.rs
/DragonOS/kernel/src/libs/keyboard_parser.rs
/DragonOS/kernel/src/libs/printk.c
/DragonOS/kernel/src/libs/rwlock.rs
/DragonOS/kernel/src/libs/wait_queue.rs
/DragonOS/kernel/src/mm/mod.rs
/DragonOS/kernel/src/mm/page.rs
/DragonOS/kernel/src/mm/percpu.rs
/DragonOS/kernel/src/mm/syscall.rs
/DragonOS/kernel/src/mm/ucontext.rs
/DragonOS/kernel/src/net/event_poll/mod.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.h
/DragonOS/kernel/src/process/syscall.rs
/DragonOS/kernel/src/sched/cfs.rs
/DragonOS/kernel/src/sched/core.rs
/DragonOS/kernel/src/sched/rt.rs
/DragonOS/kernel/src/smp/cpu/mod.rs
/DragonOS/kernel/src/smp/init.rs
/DragonOS/kernel/src/smp/mod.rs
/DragonOS/kernel/src/syscall/misc.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/clocksource.rs
/DragonOS/kernel/src/time/jiffies.rs
/DragonOS/kernel/src/time/mod.rs
/DragonOS/kernel/src/time/sleep.rs
/DragonOS/kernel/src/time/syscall.rs
/DragonOS/kernel/src/time/timeconv.rs
/DragonOS/kernel/src/time/timekeep.rs
/DragonOS/kernel/src/time/timer.rs
/DragonOS/kernel/src/virt/kvm/host_mem.rs
/DragonOS/kernel/src/virt/kvm/vm.rs
/DragonOS/tools/build_gcc_toolchain.sh
/DragonOS/triagebot.toml
/DragonOS/user/Makefile
/DragonOS/user/apps/about/about.c
/DragonOS/user/apps/test-mount/.gitignore
/DragonOS/user/apps/test-mount/Cargo.toml
/DragonOS/user/apps/test-mount/Makefile
/DragonOS/user/apps/test-mount/README.md
/DragonOS/user/apps/test-mount/src/main.rs
/DragonOS/user/dadk/config/core_utils-9.4.0.dadk
/DragonOS/user/dadk/config/held-0.1.0.dadk
/DragonOS/user/dadk/config/musl_1_2_4.dadk
/DragonOS/user/dadk/config/nova_shell-0.1.0.dadk
/DragonOS/user/dadk/config/test_mount_1_0_0.dadk
c3dc6f2f08-Mar-2024 LoGin <longjin@DragonOS.org>

删除一些过时的C代码 (#565)

* 删除C版本的crc库

* 删除lockref

* 删除过时的libc文档以及wait.c

* 删除过时的C版本kfifo代码及文档

* 移除未用到的lz4库

* 删除内核的stdlib.c

* 删除fabs.c

* fmt

* 使得put_string系统调用能够通过tty输出颜色
暂且这样改,这一部分应

删除一些过时的C代码 (#565)

* 删除C版本的crc库

* 删除lockref

* 删除过时的libc文档以及wait.c

* 删除过时的C版本kfifo代码及文档

* 移除未用到的lz4库

* 删除内核的stdlib.c

* 删除fabs.c

* fmt

* 使得put_string系统调用能够通过tty输出颜色
暂且这样改,这一部分应该是用户层面提供的功能,后续删除

---------

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

show more ...


/DragonOS/.github/workflows/makefile.yml
/DragonOS/.gitignore
/DragonOS/.vscode/settings.json
/DragonOS/docs/index.rst
/DragonOS/docs/introduction/features.md
/DragonOS/docs/kernel/core_api/index.rst
/DragonOS/docs/kernel/core_api/kernel_api.md
/DragonOS/docs/kernel/ktest/index.rst
/DragonOS/docs/kernel/locking/index.rst
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/src/arch/riscv64/cpu.rs
/DragonOS/kernel/src/arch/riscv64/init/mod.rs
/DragonOS/kernel/src/arch/riscv64/interrupt/mod.rs
/DragonOS/kernel/src/arch/x86_64/cpu.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/handle.rs
/DragonOS/kernel/src/driver/base/init.rs
/DragonOS/kernel/src/driver/irqchip/mod.rs
/DragonOS/kernel/src/driver/irqchip/riscv_intc.rs
/DragonOS/kernel/src/driver/mod.rs
/DragonOS/kernel/src/driver/tty/tty_core.rs
/DragonOS/kernel/src/exception/handle.rs
/DragonOS/kernel/src/exception/irqchip.rs
/DragonOS/kernel/src/exception/irqdata.rs
/DragonOS/kernel/src/exception/irqdesc.rs
/DragonOS/kernel/src/exception/irqdomain.rs
/DragonOS/kernel/src/exception/manage.rs
/DragonOS/kernel/src/filesystem/vfs/core.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
wrapper.h
/DragonOS/kernel/src/init/init.rs
/DragonOS/kernel/src/libs/Makefile
/DragonOS/kernel/src/libs/lib_ui/screen_manager.rs
/DragonOS/kernel/src/libs/lib_ui/textui.rs
/DragonOS/kernel/src/libs/printk.rs
/DragonOS/kernel/src/mm/percpu.rs
/DragonOS/kernel/src/smp/cpu/mod.rs
/DragonOS/kernel/src/smp/mod.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/syscall/syscall.c
/DragonOS/kernel/src/syscall/syscall_num.h
/DragonOS/tools/write_disk_image.sh
/DragonOS/user/.gitignore
/DragonOS/user/Makefile
/DragonOS/user/apps/Makefile
/DragonOS/user/apps/about/.gitignore
/DragonOS/user/apps/about/Makefile
/DragonOS/user/apps/about/about.c
/DragonOS/user/apps/dmesg/Makefile
/DragonOS/user/apps/dmesg/dmesg.c
/DragonOS/user/apps/dmesg/dmesg.h
/DragonOS/user/apps/dmesg/main.c
/DragonOS/user/apps/http_server/.gitignore
/DragonOS/user/apps/http_server/Makefile
/DragonOS/user/apps/test_bind/.gitignore
/DragonOS/user/apps/test_bind/Makefile
/DragonOS/user/apps/test_bind/main.c
/DragonOS/user/apps/test_fstat/.gitignore
/DragonOS/user/apps/test_fstat/Makefile
/DragonOS/user/apps/test_fstat/main.c
/DragonOS/user/apps/test_gettimeofday/.gitignore
/DragonOS/user/apps/test_gettimeofday/Makefile
/DragonOS/user/apps/test_kvm/.gitignore
/DragonOS/user/apps/test_kvm/Makefile
/DragonOS/user/apps/test_kvm/main.c
/DragonOS/user/apps/test_mkfifo/.gitignore
/DragonOS/user/apps/test_mkfifo/Makefile
/DragonOS/user/apps/test_mkfifo/main.c
/DragonOS/user/apps/test_signal/.gitignore
/DragonOS/user/apps/test_signal/Makefile
/DragonOS/user/apps/test_signal/main.c
/DragonOS/user/apps/test_sqlite3/.gitignore
/DragonOS/user/apps/test_sqlite3/Makefile
/DragonOS/user/apps/test_uart/Makefile
/DragonOS/user/apps/test_uart/main.c
/DragonOS/user/dadk/config/about.dadk
/DragonOS/user/dadk/config/dmesg-0.1.0.dadk
/DragonOS/user/dadk/config/dragon_reach-0.1.0.dadk
/DragonOS/user/dadk/config/http_server-0.1.0.dadk
/DragonOS/user/dadk/config/musl_1_2_4.dadk
/DragonOS/user/dadk/config/test_bind-0.1.0.dadk
/DragonOS/user/dadk/config/test_fstat-0.1.0.dadk
/DragonOS/user/dadk/config/test_gettimeofday-0.1.0.dadk
/DragonOS/user/dadk/config/test_kvm_0_1_0.dadk
/DragonOS/user/dadk/config/test_mkfifo-0.1.0.dadk
/DragonOS/user/dadk/config/test_signal-0.1.0.dadk
/DragonOS/user/dadk/config/test_sqlite3-3.42.0.dadk
/DragonOS/user/dadk/config/test_uart-0.1.0.dadk
/DragonOS/user/services/shell.service
e284117903-Mar-2024 LoGin <longjin@DragonOS.org>

完成中断管理模块重构 (#554)

- 支持中断共享
- 把现有驱动程序移植到新的irq模块
- 使用`ProcessorId`标识处理器id
- 尚未实现threaded_irq

性能上,edge irq flow handler里面,对于锁的使用,可能有点问题。为了获取/修改common data还有其他几个结构体的状态,进行了多次加锁和放锁,导致性能降低。这是接下来需要优化的

完成中断管理模块重构 (#554)

- 支持中断共享
- 把现有驱动程序移植到新的irq模块
- 使用`ProcessorId`标识处理器id
- 尚未实现threaded_irq

性能上,edge irq flow handler里面,对于锁的使用,可能有点问题。为了获取/修改common data还有其他几个结构体的状态,进行了多次加锁和放锁,导致性能降低。这是接下来需要优化的点。

show more ...


/DragonOS/.vscode/settings.json
/DragonOS/build-scripts/kernel_build/src/cfiles/arch/x86_64.rs
/DragonOS/docs/kernel/core_api/softirq.md
/DragonOS/kernel/crates/bitmap/src/alloc_bitmap.rs
/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/tests/alloc-bitmap.rs
/DragonOS/kernel/crates/bitmap/tests/static-bitmap.rs
/DragonOS/kernel/crates/system_error/src/lib.rs
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/arch/riscv64/cpu.rs
/DragonOS/kernel/src/arch/x86_64/acpi.rs
/DragonOS/kernel/src/arch/x86_64/c_adapter.rs
/DragonOS/kernel/src/arch/x86_64/cpu.rs
/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/hw_irq.rs
/DragonOS/kernel/src/arch/x86_64/driver/apic/ioapic.rs
/DragonOS/kernel/src/arch/x86_64/driver/apic/lapic_vector.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.rs
/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/entry.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/handle.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/interrupt/msi.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/trap.rs
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/ept.rs
/DragonOS/kernel/src/arch/x86_64/mm/mod.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/common/errno.h
/DragonOS/kernel/src/driver/Makefile
/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/input/ps2_dev/mod.rs
/DragonOS/kernel/src/driver/input/ps2_mouse/ps_mouse_device.rs
/DragonOS/kernel/src/driver/input/ps2_mouse/ps_mouse_driver.rs
/DragonOS/kernel/src/driver/input/serio/i8042/i8042_device.rs
/DragonOS/kernel/src/driver/input/serio/i8042/i8042_driver.rs
/DragonOS/kernel/src/driver/input/serio/i8042/i8042_ports.rs
/DragonOS/kernel/src/driver/input/serio/i8042/mod.rs
/DragonOS/kernel/src/driver/input/serio/mod.rs
/DragonOS/kernel/src/driver/keyboard/mod.rs
/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/net/irq_handle.rs
/DragonOS/kernel/src/driver/net/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/serial/mod.rs
/DragonOS/kernel/src/driver/serial/serial8250/mod.rs
/DragonOS/kernel/src/driver/serial/serial8250/serial8250_pio.rs
/DragonOS/kernel/src/driver/tty/console.rs
/DragonOS/kernel/src/driver/tty/mod.rs
/DragonOS/kernel/src/driver/tty/termios.rs
/DragonOS/kernel/src/driver/tty/tty_core.rs
/DragonOS/kernel/src/driver/tty/tty_device.rs
/DragonOS/kernel/src/driver/tty/tty_driver.rs
/DragonOS/kernel/src/driver/tty/tty_job_control.rs
/DragonOS/kernel/src/driver/tty/tty_ldisc/mod.rs
/DragonOS/kernel/src/driver/tty/tty_ldisc/ntty.rs
/DragonOS/kernel/src/driver/tty/tty_port.rs
/DragonOS/kernel/src/driver/tty/virtual_terminal/console_map.rs
/DragonOS/kernel/src/driver/tty/virtual_terminal/mod.rs
/DragonOS/kernel/src/driver/tty/virtual_terminal/virtual_console.rs
/DragonOS/kernel/src/driver/video/fbdev/base/fbcmap.rs
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/framebuffer_console.rs
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/mod.rs
/DragonOS/kernel/src/driver/video/fbdev/base/mod.rs
/DragonOS/kernel/src/driver/video/fbdev/vesafb.rs
/DragonOS/kernel/src/driver/video/mod.rs
/DragonOS/kernel/src/driver/virtio/irq.rs
/DragonOS/kernel/src/driver/virtio/mod.rs
/DragonOS/kernel/src/driver/virtio/transport_pci.rs
/DragonOS/kernel/src/driver/virtio/virtio.rs
/DragonOS/kernel/src/exception/dummychip.rs
/DragonOS/kernel/src/exception/handle.rs
/DragonOS/kernel/src/exception/init.rs
/DragonOS/kernel/src/exception/ipi.rs
/DragonOS/kernel/src/exception/irqchip.rs
/DragonOS/kernel/src/exception/irqdata.rs
/DragonOS/kernel/src/exception/irqdesc.rs
/DragonOS/kernel/src/exception/irqdomain.rs
/DragonOS/kernel/src/exception/manage.rs
/DragonOS/kernel/src/exception/mod.rs
/DragonOS/kernel/src/exception/msi.rs
/DragonOS/kernel/src/exception/resend.rs
/DragonOS/kernel/src/exception/softirq.rs
/DragonOS/kernel/src/exception/sysfs.rs
/DragonOS/kernel/src/filesystem/devfs/mod.rs
/DragonOS/kernel/src/filesystem/kernfs/mod.rs
/DragonOS/kernel/src/filesystem/procfs/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/filesystem/vfs/syscall.rs
wrapper.h
/DragonOS/kernel/src/init/init.rs
/DragonOS/kernel/src/libs/cpumask.rs
/DragonOS/kernel/src/libs/font/bin/VGA_8X16.bytes
/DragonOS/kernel/src/libs/font/bin/VGA_8X8.bytes
/DragonOS/kernel/src/libs/font/font_type/mod.rs
/DragonOS/kernel/src/libs/font/font_type/vga8x16.rs
/DragonOS/kernel/src/libs/font/font_type/vga8x8.rs
/DragonOS/kernel/src/libs/font/mod.rs
/DragonOS/kernel/src/libs/int_like.rs
/DragonOS/kernel/src/libs/keyboard_parser.rs
/DragonOS/kernel/src/libs/lib_ui/screen_manager.rs
/DragonOS/kernel/src/libs/lib_ui/textui.rs
/DragonOS/kernel/src/libs/lib_ui/textui_no_alloc.rs
/DragonOS/kernel/src/libs/mod.rs
/DragonOS/kernel/src/libs/printk.rs
/DragonOS/kernel/src/libs/wait_queue.rs
/DragonOS/kernel/src/mm/init.rs
/DragonOS/kernel/src/mm/kernel_mapper.rs
/DragonOS/kernel/src/mm/mod.rs
/DragonOS/kernel/src/mm/percpu.rs
/DragonOS/kernel/src/mm/syscall.rs
/DragonOS/kernel/src/mm/ucontext.rs
/DragonOS/kernel/src/process/c_adapter.rs
/DragonOS/kernel/src/process/idle.rs
/DragonOS/kernel/src/process/kthread.rs
/DragonOS/kernel/src/process/mod.rs
/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/c_adapter.rs
/DragonOS/kernel/src/smp/core.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/kernel/src/syscall/syscall.c
/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/tools/bootstrap.sh
/DragonOS/tools/build_gcc_toolchain.sh
/DragonOS/tools/grub_auto_install.sh
/DragonOS/user/apps/clear/.gitignore
/DragonOS/user/apps/clear/Cargo.toml
/DragonOS/user/apps/clear/Makefile
/DragonOS/user/apps/clear/README.md
/DragonOS/user/apps/clear/src/main.rs
/DragonOS/user/dadk/config/clear-0.1.0.dadk
/DragonOS/user/dadk/config/nova_shell-0.1.0.dadk
7015895519-Feb-2024 LoGin <longjin@DragonOS.org>

删除无用的C版本bitree和ida/idr. (#526)

这些数据结构不再使用,将其删除.


/DragonOS/docs/kernel/core_api/data_structures.md
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/arch/riscv64/driver/sbi.rs
/DragonOS/kernel/src/arch/riscv64/init/mod.rs
/DragonOS/kernel/src/arch/riscv64/interrupt/mod.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/mod.rs
/DragonOS/kernel/src/driver/acpi/sysfs.rs
/DragonOS/kernel/src/driver/base/device/bus.rs
/DragonOS/kernel/src/driver/base/device/dd.rs
/DragonOS/kernel/src/driver/base/device/mod.rs
/DragonOS/kernel/src/driver/keyboard/ps2_keyboard.rs
/DragonOS/kernel/src/driver/net/e1000e/e1000e.rs
/DragonOS/kernel/src/driver/open_firmware/device_node.rs
/DragonOS/kernel/src/driver/open_firmware/mod.rs
/DragonOS/kernel/src/driver/pci/pci_irq.rs
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon.rs
/DragonOS/kernel/src/driver/video/fbdev/base/fbsysfs.rs
/DragonOS/kernel/src/driver/video/fbdev/vesafb.rs
/DragonOS/kernel/src/driver/virtio/transport_pci.rs
/DragonOS/kernel/src/exception/dummychip.rs
/DragonOS/kernel/src/exception/handle.rs
/DragonOS/kernel/src/exception/init.rs
/DragonOS/kernel/src/exception/irqchip.rs
/DragonOS/kernel/src/exception/irqdata.rs
/DragonOS/kernel/src/exception/irqdesc.rs
/DragonOS/kernel/src/exception/irqdomain.rs
/DragonOS/kernel/src/exception/mod.rs
/DragonOS/kernel/src/exception/msi.rs
/DragonOS/kernel/src/exception/sysfs.rs
/DragonOS/kernel/src/filesystem/procfs/kmsg.rs
/DragonOS/kernel/src/filesystem/sysfs/file.rs
/DragonOS/kernel/src/filesystem/sysfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/file.rs
wrapper.h
/DragonOS/kernel/src/init/init.rs
/DragonOS/kernel/src/init/initial_kthread.rs
/DragonOS/kernel/src/ipc/pipe.rs
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/misc/ksysfs.rs
/DragonOS/kernel/src/misc/mod.rs
/DragonOS/kernel/src/net/mod.rs
/DragonOS/kernel/src/net/net_core.rs
/DragonOS/kernel/src/net/socket/mod.rs
/DragonOS/kernel/src/net/socket/sockets.rs
/DragonOS/kernel/src/net/syscall.rs
/DragonOS/kernel/src/process/mod.rs
/DragonOS/kernel/src/process/syscall.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/tools/bootstrap.sh
/DragonOS/tools/list_contributors.py
/DragonOS/user/dadk/config/dragon_reach-0.1.0.dadk
/DragonOS/user/dadk/config/relibc-0.1.0.dadk
f2022a8a07-Feb-2024 LoGin <longjin@DragonOS.org>

使用rust编写中断/异常的入口 (#509)

* 使用rust编写中断/异常的入口


/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/.gitmodules
/DragonOS/.vscode/settings.json
/DragonOS/Makefile
/DragonOS/README.md
/DragonOS/README_EN.md
/DragonOS/build-scripts/kernel_build/src/cfiles/arch/riscv64.rs
/DragonOS/build-scripts/kernel_build/src/cfiles/mod.rs
/DragonOS/docs/community/code_contribution/rust-coding-style.md
/DragonOS/docs/community/contact/index.rst
/DragonOS/docs/introduction/build_system.md
/DragonOS/docs/kernel/libs/index.rst
/DragonOS/docs/kernel/libs/unified-init.md
/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/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/rust-toolchain.toml
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/arch/riscv64/asm/head.S
/DragonOS/kernel/src/arch/riscv64/cpu.rs
/DragonOS/kernel/src/arch/riscv64/driver/mod.rs
/DragonOS/kernel/src/arch/riscv64/driver/sbi.rs
/DragonOS/kernel/src/arch/riscv64/elf.rs
/DragonOS/kernel/src/arch/riscv64/init/mod.rs
/DragonOS/kernel/src/arch/riscv64/interrupt/mod.rs
/DragonOS/kernel/src/arch/riscv64/kvm/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/riscv64/process/idle.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/riscv64imac-unknown-none-elf.json
/DragonOS/kernel/src/arch/riscv64/sched.rs
/DragonOS/kernel/src/arch/riscv64/smp/mod.rs
/DragonOS/kernel/src/arch/riscv64/syscall/mod.rs
/DragonOS/kernel/src/arch/riscv64/time.rs
/DragonOS/kernel/src/arch/x86_64/acpi.rs
/DragonOS/kernel/src/arch/x86_64/asm/entry.S
/DragonOS/kernel/src/arch/x86_64/asm/head.S
/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.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/c_adapter.rs
/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/driver/video/mod.rs
/DragonOS/kernel/src/arch/x86_64/elf.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/interrupt/entry.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/interrupt/trap.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/bump.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/idle.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/sched.rs
/DragonOS/kernel/src/arch/x86_64/smp/mod.rs
/DragonOS/kernel/src/arch/x86_64/syscall/mod.rs
/DragonOS/kernel/src/common/printk.h
/DragonOS/kernel/src/debug/klog/mm.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/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/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/ahci_inode.rs
/DragonOS/kernel/src/driver/disk/ahci/ahcidisk.rs
/DragonOS/kernel/src/driver/disk/ahci/mod.rs
/DragonOS/kernel/src/driver/firmware/efi/fdt.rs
/DragonOS/kernel/src/driver/firmware/efi/guid.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/efi/tables.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/ps2_mouse/mod.rs
/DragonOS/kernel/src/driver/input/ps2_mouse/ps_mouse_device.rs
/DragonOS/kernel/src/driver/input/ps2_mouse/ps_mouse_driver.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/mouse/ps2_mouse.c
/DragonOS/kernel/src/driver/mouse/ps2_mouse.h
/DragonOS/kernel/src/driver/net/e1000e/e1000e.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/open_firmware/fdt.rs
/DragonOS/kernel/src/driver/open_firmware/mod.rs
/DragonOS/kernel/src/driver/pci/pci.rs
/DragonOS/kernel/src/driver/timers/rtc/rtc.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/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/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/exception/Makefile
/DragonOS/kernel/src/exception/init.rs
/DragonOS/kernel/src/exception/irq.c
/DragonOS/kernel/src/exception/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/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/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/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/open.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
/DragonOS/kernel/src/filesystem/vfs/utils.rs
wrapper.h
/DragonOS/kernel/src/init/init.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
/DragonOS/kernel/src/libs/align.rs
/DragonOS/kernel/src/libs/elf.rs
/DragonOS/kernel/src/libs/futex/futex.rs
/DragonOS/kernel/src/libs/futex/syscall.rs
/DragonOS/kernel/src/libs/intertrait/src/lib.rs
/DragonOS/kernel/src/libs/lib_ui/screen_manager.rs
/DragonOS/kernel/src/libs/lib_ui/textui.h
/DragonOS/kernel/src/libs/lib_ui/textui.rs
/DragonOS/kernel/src/libs/lib_ui/textui_no_alloc.rs
/DragonOS/kernel/src/libs/mutex.rs
/DragonOS/kernel/src/libs/notifier.rs
/DragonOS/kernel/src/libs/printk.rs
/DragonOS/kernel/src/libs/rbtree.rs
/DragonOS/kernel/src/libs/rwlock.rs
/DragonOS/kernel/src/libs/semaphore.rs
/DragonOS/kernel/src/libs/spinlock.rs
/DragonOS/kernel/src/libs/sys/wait.c
/DragonOS/kernel/src/libs/vec_cursor.rs
/DragonOS/kernel/src/libs/wait_queue.rs
/DragonOS/kernel/src/mm/allocator/buddy.rs
/DragonOS/kernel/src/mm/allocator/bump.rs
/DragonOS/kernel/src/mm/allocator/kernel_allocator.rs
/DragonOS/kernel/src/mm/allocator/page_frame.rs
/DragonOS/kernel/src/mm/c_adapter.rs
/DragonOS/kernel/src/mm/early_ioremap.rs
/DragonOS/kernel/src/mm/init.rs
/DragonOS/kernel/src/mm/kernel_mapper.rs
/DragonOS/kernel/src/mm/memblock.rs
/DragonOS/kernel/src/mm/mmio_buddy.rs
/DragonOS/kernel/src/mm/mod.rs
/DragonOS/kernel/src/mm/no_init.rs
/DragonOS/kernel/src/mm/page.rs
/DragonOS/kernel/src/mm/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/c_adapter.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/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/syscall.rs
/DragonOS/kernel/src/smp/mod.rs
/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/syscall/syscall.h
/DragonOS/kernel/src/time/clocksource.h
/DragonOS/kernel/src/time/clocksource.rs
/DragonOS/kernel/src/time/jiffies.rs
/DragonOS/kernel/src/time/mod.rs
/DragonOS/kernel/src/time/sleep.rs
/DragonOS/kernel/src/time/syscall.rs
/DragonOS/kernel/src/time/timekeeping.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/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/submodules/DragonStub
/DragonOS/tools/bootstrap.sh
/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/grub_auto_install.sh
/DragonOS/tools/install_musl_gcc.sh
/DragonOS/tools/run-qemu.sh
/DragonOS/tools/write_disk_image.sh
/DragonOS/user/Makefile
/DragonOS/user/apps/about/about.c
/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/apps/test_sqlite3/Makefile
/DragonOS/user/dadk/config/dmesg-0.1.0.dadk
/DragonOS/user/dadk/config/dragon_reach-0.1.0.dadk
/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
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
wrapper.h
/DragonOS/kernel/src/ktest/test-idr.c
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/libs/cpu.c
/DragonOS/kernel/src/libs/elf.rs
/DragonOS/kernel/src/libs/idr.c
/DragonOS/kernel/src/libs/lock_free_flags.rs
/DragonOS/kernel/src/libs/lockref.c
/DragonOS/kernel/src/libs/lz4.c
/DragonOS/kernel/src/libs/mod.rs
/DragonOS/kernel/src/libs/rwlock.rs
/DragonOS/kernel/src/libs/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/.gitignore
/DragonOS/.readthedocs.yaml
/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/docs/userland/appdev/c-cpp-quick-start.md
/DragonOS/docs/userland/appdev/index.rst
/DragonOS/docs/userland/appdev/rust-quick-start.md
/DragonOS/kernel/.gitignore
/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/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/driver/apic/apic_timer.rs
/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/arch/x86_64/ipc/signal.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/smp/mod.rs
/DragonOS/kernel/src/arch/x86_64/syscall.rs
/DragonOS/kernel/src/common/glib.h
/DragonOS/kernel/src/common/time.h
/DragonOS/kernel/src/common/unistd.h
/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/block/block_device.rs
/DragonOS/kernel/src/driver/base/block/disk_info.rs
/DragonOS/kernel/src/driver/base/platform/platform_device.rs
/DragonOS/kernel/src/driver/keyboard/ps2_keyboard.c
/DragonOS/kernel/src/driver/keyboard/ps2_keyboard.rs
/DragonOS/kernel/src/driver/tty/mod.rs
/DragonOS/kernel/src/exception/Makefile
/DragonOS/kernel/src/exception/softirq.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/vfs/VFS.h
/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
wrapper.h
/DragonOS/kernel/src/ipc/pipe.rs
/DragonOS/kernel/src/ipc/signal.rs
/DragonOS/kernel/src/ipc/signal_types.rs
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/libs/glib.c
/DragonOS/kernel/src/libs/ida/src/lib.rs
/DragonOS/kernel/src/libs/lib_ui/textui.rs
/DragonOS/kernel/src/libs/unistd.c
/DragonOS/kernel/src/link.lds
/DragonOS/kernel/src/mm/allocator/kernel_allocator.rs
/DragonOS/kernel/src/mm/c_adapter.rs
/DragonOS/kernel/src/mm/mm.h
/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/preempt.h
/DragonOS/kernel/src/process/process.h
/DragonOS/kernel/src/process/resource.rs
/DragonOS/kernel/src/process/syscall.rs
/DragonOS/kernel/src/smp/Makefile
/DragonOS/kernel/src/smp/ipi.h
/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/Cargo.toml
/DragonOS/tools/Makefile
/DragonOS/tools/bootstrap.sh
/DragonOS/tools/create_hdd_image.sh
/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
/DragonOS/user/Makefile
/DragonOS/user/apps/shell/cmd.c
/DragonOS/user/dadk/config/tar_1_35.dadk
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/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/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/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/pci/pci.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/rand.rs
/DragonOS/kernel/src/arch/x86_64/syscall.rs
/DragonOS/kernel/src/arch/x86_64/time.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/common/cpu.h
/DragonOS/kernel/src/common/glib.h
/DragonOS/kernel/src/debug/traceback/traceback.c
/DragonOS/kernel/src/driver/Makefile
/DragonOS/kernel/src/driver/acpi/mod.rs
/DragonOS/kernel/src/driver/acpi/pmtmr.rs
/DragonOS/kernel/src/driver/base/block/block_device.rs
/DragonOS/kernel/src/driver/disk/ahci/ahcidisk.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/driver/net/dma.rs
/DragonOS/kernel/src/driver/net/e1000e/e1000e.rs
/DragonOS/kernel/src/driver/net/e1000e/e1000e_driver.rs
/DragonOS/kernel/src/driver/net/e1000e/mod.rs
/DragonOS/kernel/src/driver/net/mod.rs
/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/exception/entry.S
/DragonOS/kernel/src/exception/irq.c
/DragonOS/kernel/src/exception/irq.h
/DragonOS/kernel/src/filesystem/devfs/mod.rs
/DragonOS/kernel/src/filesystem/fat/fs.rs
/DragonOS/kernel/src/filesystem/vfs/file.rs
/DragonOS/kernel/src/filesystem/vfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
/DragonOS/kernel/src/head.S
wrapper.h
/DragonOS/kernel/src/ktest/ktest.h
/DragonOS/kernel/src/ktest/test-kvm.c
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/libs/Makefile
/DragonOS/kernel/src/libs/cpu.c
/DragonOS/kernel/src/libs/futex/constant.rs
/DragonOS/kernel/src/libs/futex/futex.rs
/DragonOS/kernel/src/libs/futex/mod.rs
/DragonOS/kernel/src/libs/futex/syscall.rs
/DragonOS/kernel/src/libs/lib_ui/textui.rs
/DragonOS/kernel/src/libs/lock_free_flags.rs
/DragonOS/kernel/src/libs/mod.rs
/DragonOS/kernel/src/libs/printk.rs
/DragonOS/kernel/src/libs/rand.rs
/DragonOS/kernel/src/libs/rwlock.rs
/DragonOS/kernel/src/libs/volatile.rs
/DragonOS/kernel/src/libs/wait_queue.rs
/DragonOS/kernel/src/link.lds
/DragonOS/kernel/src/main.c
/DragonOS/kernel/src/mm/allocator/kernel_allocator.rs
/DragonOS/kernel/src/mm/mod.rs
/DragonOS/kernel/src/mm/ucontext.rs
/DragonOS/kernel/src/net/socket.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/syscall.rs
/DragonOS/kernel/src/sched/cfs.rs
/DragonOS/kernel/src/sched/completion.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/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/time/timer.rs
/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/.gitignore
/DragonOS/tools/bootstrap.sh
/DragonOS/tools/create_hdd_image.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/dadk/config/dragon_reach-0.1.0.dadk
/DragonOS/user/dadk/config/relibc-0.1.0.dadk
/DragonOS/user/libs/libc/src/Makefile
/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
3c82aa5624-Oct-2023 Chiichen <39649411+Chiichen@users.noreply.github.com>

Signal refactor (#402)

* 初步完成对 signal_types 和 部分signal代码的初始化

* 重构了一部分架构相关代码进入 arch 中

* 基本修改完成,编译通过,后续补上系统调用

* signal基本完成,能实现 Sigaction 系统调用

* 增加了一组枚举抽象

* 进一步重构了一部分C风格的代码

* 继续重构了一部分

Signal refactor (#402)

* 初步完成对 signal_types 和 部分signal代码的初始化

* 重构了一部分架构相关代码进入 arch 中

* 基本修改完成,编译通过,后续补上系统调用

* signal基本完成,能实现 Sigaction 系统调用

* 增加了一组枚举抽象

* 进一步重构了一部分C风格的代码

* 继续重构了一部分C风格代码

* 继续完善了一部分逻辑

* 修改了部分代码逻辑

* 补充了 fork 中复制信号信息的逻辑

* 修复了 kallsysms 未转义引号的问题

* 修复了无法跳转到 sigreturn 的bug

* 调通了 signal

* 实现了 signal 架构抽象层的 trait

* 为信号提供了默认处理函数

* 基本完成了 signal 的大体逻辑

* 修复了 Sigreturn 的一个小错误,格式化

* 修复了一个编译器漏报错误

* 删除了多余的代码

* 修改测试程序为链接 relibc

* 修复了信号处理过程中浮点寄存器错误保存的问题

* 修复了一个结构体错误引起的无法在relibc下正确运行的错误

* 修复了链接 relibc 时无法正常从信号处理返回的 bug

* 修复了 signal 处理流程中 rsp 指针错误导致的浮点运算触发GP

* 修复了一个死锁问题,解决了默认处理函数无法进入调度导致的bug

* 修复了一些错误

* 修改了 relibc 依赖版本号

* 删除了多余的 imports

* 删除一些debug日志

* 删除内核 signal.h 文件

* 删除一个依赖项

* 删除了 binding 相关依赖项

show more ...


/DragonOS/.github/workflows/cache-toolchain.yml
/DragonOS/.vscode/settings.json
/DragonOS/docs/kernel/filesystem/index.rst
/DragonOS/docs/kernel/filesystem/kernfs.md
/DragonOS/docs/userland/libc/apis/api-list/string.md
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/src/arch/io.rs
/DragonOS/kernel/src/arch/mod.rs
/DragonOS/kernel/src/arch/x86_64/acpi.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/c_adapter.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/mm/mod.rs
/DragonOS/kernel/src/arch/x86_64/mod.rs
/DragonOS/kernel/src/arch/x86_64/msi.rs
/DragonOS/kernel/src/arch/x86_64/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.rs
/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/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/c_adapter.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/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/base/platform/subsys.rs
/DragonOS/kernel/src/driver/base/subsys.rs
/DragonOS/kernel/src/driver/base/swnode.rs
/DragonOS/kernel/src/driver/disk/ahci/ahci_inode.rs
/DragonOS/kernel/src/driver/disk/ahci/ahcidisk.rs
/DragonOS/kernel/src/driver/interrupt/apic/apic.c
/DragonOS/kernel/src/driver/keyboard/ps2_keyboard.rs
/DragonOS/kernel/src/driver/mod.rs
/DragonOS/kernel/src/driver/multiboot2/multiboot2.c
/DragonOS/kernel/src/driver/multiboot2/multiboot2.h
/DragonOS/kernel/src/driver/net/mod.rs
/DragonOS/kernel/src/driver/net/virtio_net.rs
/DragonOS/kernel/src/driver/pci/pci.rs
/DragonOS/kernel/src/driver/pci/pci_irq.c
/DragonOS/kernel/src/driver/pci/pci_irq.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/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/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
wrapper.h
/DragonOS/kernel/src/init/c_adapter.rs
/DragonOS/kernel/src/init/mod.rs
/DragonOS/kernel/src/ipc/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
/DragonOS/kernel/src/libs/ida/Cargo.toml
/DragonOS/kernel/src/libs/ida/src/lib.rs
/DragonOS/kernel/src/libs/int_like.rs
/DragonOS/kernel/src/libs/intertrait/.gitignore
/DragonOS/kernel/src/libs/intertrait/Cargo.toml
/DragonOS/kernel/src/libs/intertrait/LICENSE-MIT
/DragonOS/kernel/src/libs/intertrait/README.md
/DragonOS/kernel/src/libs/intertrait/macros/Cargo.toml
/DragonOS/kernel/src/libs/intertrait/macros/LICENSE-APACHE
/DragonOS/kernel/src/libs/intertrait/macros/LICENSE-MIT
/DragonOS/kernel/src/libs/intertrait/macros/src/args.rs
/DragonOS/kernel/src/libs/intertrait/macros/src/gen_caster.rs
/DragonOS/kernel/src/libs/intertrait/macros/src/item_impl.rs
/DragonOS/kernel/src/libs/intertrait/macros/src/item_type.rs
/DragonOS/kernel/src/libs/intertrait/macros/src/lib.rs
/DragonOS/kernel/src/libs/intertrait/src/cast.rs
/DragonOS/kernel/src/libs/intertrait/src/cast/cast_arc.rs
/DragonOS/kernel/src/libs/intertrait/src/cast/cast_box.rs
/DragonOS/kernel/src/libs/intertrait/src/cast/cast_mut.rs
/DragonOS/kernel/src/libs/intertrait/src/cast/cast_rc.rs
/DragonOS/kernel/src/libs/intertrait/src/cast/cast_ref.rs
/DragonOS/kernel/src/libs/intertrait/src/hasher.rs
/DragonOS/kernel/src/libs/intertrait/src/lib.rs
/DragonOS/kernel/src/libs/intertrait/tests/castable_to.rs
/DragonOS/kernel/src/libs/intertrait/tests/on-enum.rs
/DragonOS/kernel/src/libs/intertrait/tests/on-struct.rs
/DragonOS/kernel/src/libs/intertrait/tests/on-trait-impl-assoc-type1.rs
/DragonOS/kernel/src/libs/intertrait/tests/on-trait-impl-assoc-type2.rs
/DragonOS/kernel/src/libs/intertrait/tests/on-trait-impl-assoc-type3.rs
/DragonOS/kernel/src/libs/intertrait/tests/on-trait-impl.rs
/DragonOS/kernel/src/libs/intertrait/tests/on-type-multi-traits.rs
/DragonOS/kernel/src/libs/intertrait/tests/run.rs
/DragonOS/kernel/src/libs/intertrait/tests/ui/duplicate-flags.rs
/DragonOS/kernel/src/libs/intertrait/tests/ui/duplicate-flags.stderr
/DragonOS/kernel/src/libs/intertrait/tests/ui/on-generic-type.rs
/DragonOS/kernel/src/libs/intertrait/tests/ui/on-generic-type.stderr
/DragonOS/kernel/src/libs/intertrait/tests/ui/on-type-impl.rs
/DragonOS/kernel/src/libs/intertrait/tests/ui/on-type-impl.stderr
/DragonOS/kernel/src/libs/intertrait/tests/ui/unknown-flag.rs
/DragonOS/kernel/src/libs/intertrait/tests/ui/unknown-flag.stderr
/DragonOS/kernel/src/libs/keyboard_parser.rs
/DragonOS/kernel/src/libs/lib_ui/screen_manager.h
/DragonOS/kernel/src/libs/lib_ui/screen_manager.rs
/DragonOS/kernel/src/libs/lib_ui/textui.rs
/DragonOS/kernel/src/libs/lib_ui/textui_no_alloc.rs
/DragonOS/kernel/src/libs/mod.rs
/DragonOS/kernel/src/libs/notifier.rs
/DragonOS/kernel/src/libs/rbtree.rs
/DragonOS/kernel/src/libs/wait_queue.rs
/DragonOS/kernel/src/main.c
/DragonOS/kernel/src/mm/allocator/buddy.rs
/DragonOS/kernel/src/mm/allocator/kernel_allocator.rs
/DragonOS/kernel/src/mm/allocator/page_frame.rs
/DragonOS/kernel/src/mm/c_adapter.rs
/DragonOS/kernel/src/mm/mmio.h
/DragonOS/kernel/src/mm/mmio_buddy.rs
/DragonOS/kernel/src/net/net_core.rs
/DragonOS/kernel/src/net/socket.rs
/DragonOS/kernel/src/process/abi.rs
/DragonOS/kernel/src/process/exec.rs
/DragonOS/kernel/src/process/fork.rs
/DragonOS/kernel/src/process/init.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/user_access.rs
/DragonOS/tools/run-qemu.sh
/DragonOS/user/Makefile
/DragonOS/user/apps/Makefile
/DragonOS/user/apps/shell/cmd.c
/DragonOS/user/apps/shell/shell.c
/DragonOS/user/apps/test_mkfifo/Makefile
/DragonOS/user/apps/test_mkfifo/link.lds
/DragonOS/user/apps/test_mkfifo/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_mkfifo-0.1.0.dadk
/DragonOS/user/dadk/config/test_signal-0.1.0.dadk
/DragonOS/user/dadk/target/x86_64-unknown-dragonos.json
/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/unistd.h
/DragonOS/user/libs/libc/src/string.c
/DragonOS/user/libs/libc/src/sys/stat.c
/DragonOS/user/libs/libc/src/unistd.c
/DragonOS/user/libs/libsystem/syscall.h
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/introduction/build_system.md
/DragonOS/docs/kernel/debug/debug-kernel-with-gdb.md
/DragonOS/docs/kernel/debug/index.rst
/DragonOS/docs/kernel/process_management/index.rst
/DragonOS/docs/kernel/process_management/kthread.md
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/arch/mod.rs
/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/pci/pci.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/math/Makefile
/DragonOS/kernel/src/common/stddef.h
/DragonOS/kernel/src/debug/Makefile
/DragonOS/kernel/src/debug/kallsyms.c
/DragonOS/kernel/src/debug/traceback/traceback.c
/DragonOS/kernel/src/driver/Makefile
/DragonOS/kernel/src/driver/acpi/Makefile
/DragonOS/kernel/src/driver/base/block/block_device.rs
/DragonOS/kernel/src/driver/base/block/disk_info.rs
/DragonOS/kernel/src/driver/base/block/mod.rs
/DragonOS/kernel/src/driver/base/char/mod.rs
/DragonOS/kernel/src/driver/base/device/bus.rs
/DragonOS/kernel/src/driver/base/device/driver.rs
/DragonOS/kernel/src/driver/base/device/init.rs
/DragonOS/kernel/src/driver/base/device/mod.rs
/DragonOS/kernel/src/driver/base/map/mod.rs
/DragonOS/kernel/src/driver/base/mod.rs
/DragonOS/kernel/src/driver/base/platform/mod.rs
/DragonOS/kernel/src/driver/base/platform/platform_device.rs
/DragonOS/kernel/src/driver/base/platform/platform_driver.rs
/DragonOS/kernel/src/driver/disk/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/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/Makefile
/DragonOS/kernel/src/driver/keyboard/ps2_keyboard.c
/DragonOS/kernel/src/driver/mod.rs
/DragonOS/kernel/src/driver/mouse/Makefile
/DragonOS/kernel/src/driver/multiboot2/Makefile
/DragonOS/kernel/src/driver/net/virtio_net.rs
/DragonOS/kernel/src/driver/pci/Makefile
/DragonOS/kernel/src/driver/pci/pci.rs
/DragonOS/kernel/src/driver/pci/pci_irq.c
/DragonOS/kernel/src/driver/pci/pci_irq.rs
/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/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/devfs/mod.rs
/DragonOS/kernel/src/filesystem/fat/bpb.rs
/DragonOS/kernel/src/filesystem/fat/entry.rs
/DragonOS/kernel/src/filesystem/fat/fs.rs
/DragonOS/kernel/src/filesystem/procfs/mod.rs
/DragonOS/kernel/src/filesystem/ramfs/mod.rs
/DragonOS/kernel/src/filesystem/sysfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/VFS.h
/DragonOS/kernel/src/filesystem/vfs/core.rs
/DragonOS/kernel/src/filesystem/vfs/file.rs
/DragonOS/kernel/src/filesystem/vfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/mount.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
/DragonOS/kernel/src/head.S
/DragonOS/kernel/src/include/DragonOS/signal.h
wrapper.h
/DragonOS/kernel/src/ipc/mod.rs
/DragonOS/kernel/src/ipc/pipe.rs
/DragonOS/kernel/src/ipc/syscall.rs
/DragonOS/kernel/src/ktest/Makefile
/DragonOS/kernel/src/ktest/ktest.c
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/libs/align.rs
/DragonOS/kernel/src/libs/elf.rs
/DragonOS/kernel/src/libs/int_like.rs
/DragonOS/kernel/src/libs/lib_ui/screen_manager.h
/DragonOS/kernel/src/libs/lib_ui/screen_manager.rs
/DragonOS/kernel/src/libs/lib_ui/textui.rs
/DragonOS/kernel/src/libs/lib_ui/textui_no_alloc.rs
/DragonOS/kernel/src/libs/mod.rs
/DragonOS/kernel/src/libs/mutex.rs
/DragonOS/kernel/src/libs/once.rs
/DragonOS/kernel/src/libs/printk.rs
/DragonOS/kernel/src/libs/rwlock.rs
/DragonOS/kernel/src/libs/semaphore.rs
/DragonOS/kernel/src/libs/spinlock.rs
/DragonOS/kernel/src/libs/vec_cursor.rs
/DragonOS/kernel/src/libs/wait_queue.rs
/DragonOS/kernel/src/link.lds
/DragonOS/kernel/src/main.c
/DragonOS/kernel/src/mm/mm-types.h
/DragonOS/kernel/src/mm/mm.h
/DragonOS/kernel/src/mm/mmio_buddy.rs
/DragonOS/kernel/src/mm/mod.rs
/DragonOS/kernel/src/mm/page.rs
/DragonOS/kernel/src/mm/syscall.rs
/DragonOS/kernel/src/mm/ucontext.rs
/DragonOS/kernel/src/net/net_core.rs
/DragonOS/kernel/src/net/socket.rs
/DragonOS/kernel/src/net/syscall.rs
/DragonOS/kernel/src/process/c_adapter.rs
/DragonOS/kernel/src/process/exec.rs
/DragonOS/kernel/src/process/fork.rs
/DragonOS/kernel/src/process/idle.rs
/DragonOS/kernel/src/process/init.rs
/DragonOS/kernel/src/process/kthread.rs
/DragonOS/kernel/src/process/mod.rs
/DragonOS/kernel/src/process/preempt.h
/DragonOS/kernel/src/process/proc-types.h
/DragonOS/kernel/src/process/process.h
/DragonOS/kernel/src/process/process.rs
/DragonOS/kernel/src/process/syscall.rs
/DragonOS/kernel/src/sched/cfs.rs
/DragonOS/kernel/src/sched/completion.rs
/DragonOS/kernel/src/sched/core.rs
/DragonOS/kernel/src/sched/mod.rs
/DragonOS/kernel/src/sched/rt.rs
/DragonOS/kernel/src/sched/sched.h
/DragonOS/kernel/src/sched/syscall.rs
/DragonOS/kernel/src/smp/c_adapter.rs
/DragonOS/kernel/src/smp/core.rs
/DragonOS/kernel/src/smp/mod.rs
/DragonOS/kernel/src/smp/smp.c
/DragonOS/kernel/src/smp/smp.h
/DragonOS/kernel/src/syscall/Makefile
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/syscall/syscall.c
/DragonOS/kernel/src/time/clocksource.c
/DragonOS/kernel/src/time/clocksource.h
/DragonOS/kernel/src/time/sleep.h
/DragonOS/kernel/src/time/sleep.rs
/DragonOS/kernel/src/time/timer.h
/DragonOS/kernel/src/time/timer.rs
/DragonOS/tools/.gdbinit
/DragonOS/tools/bootstrap.sh
/DragonOS/tools/build_gcc_toolchain.sh
/DragonOS/tools/grub_auto_install.sh
/DragonOS/user/Makefile
/DragonOS/user/apps/about/about.c
/DragonOS/user/apps/shell/cmd.c
/DragonOS/user/apps/shell/cmd_test.c
/DragonOS/user/apps/shell/cmd_test.h
/DragonOS/user/apps/test_uart/Makefile
/DragonOS/user/apps/test_uart/link.lds
/DragonOS/user/apps/test_uart/main.c
/DragonOS/user/dadk/config/test_uart-0.1.0.dadk
/DragonOS/user/libs/libc/src/malloc.c
/DragonOS/user/libs/libc/src/unistd.c
8d94ea6628-Aug-2023 YJwu2023 <yujianwu2019@gmail.com>

Patch ahci (#348)

* Modify the ahci module and delete the useless c code

修改ahci使其不再依赖旧的pci函数
删除旧的pci、msi函数代码


/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/debug/traceback/traceback.h
/DragonOS/kernel/src/driver/disk/Makefile
/DragonOS/kernel/src/driver/disk/ahci/ahci.h
/DragonOS/kernel/src/driver/disk/ahci/ahci_inode.rs
/DragonOS/kernel/src/driver/disk/ahci/ahcidisk.rs
/DragonOS/kernel/src/driver/disk/ahci/mod.rs
/DragonOS/kernel/src/driver/pci/Makefile
/DragonOS/kernel/src/driver/virtio/virtio.rs
/DragonOS/kernel/src/filesystem/fat/bpb.rs
/DragonOS/kernel/src/filesystem/fat/entry.rs
/DragonOS/kernel/src/filesystem/fat/fs.rs
/DragonOS/kernel/src/filesystem/vfs/core.rs
/DragonOS/kernel/src/filesystem/vfs/file.rs
/DragonOS/kernel/src/filesystem/vfs/io/Makefile
/DragonOS/kernel/src/filesystem/vfs/io/block/Makefile
/DragonOS/kernel/src/filesystem/vfs/io/block/mod.rs
/DragonOS/kernel/src/filesystem/vfs/io/device.rs
/DragonOS/kernel/src/filesystem/vfs/io/disk_info.rs
/DragonOS/kernel/src/filesystem/vfs/io/mod.rs
/DragonOS/kernel/src/filesystem/vfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
wrapper.h
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/libs/elf.rs
/DragonOS/kernel/src/libs/vec_cursor.rs
/DragonOS/kernel/src/main.c
/DragonOS/kernel/src/process/exec.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/syscall/user_access.rs
/DragonOS/kernel/src/time/syscall.rs
/DragonOS/kernel/src/time/timekeeping.rs
/DragonOS/tools/bootstrap.sh
/DragonOS/user/Makefile
/DragonOS/user/apps/Makefile
/DragonOS/user/libs/Makefile
/DragonOS/user/libs/libc/Makefile
/DragonOS/user/libs/libc/build.rs
/DragonOS/user/libs/libc/src/Makefile
/DragonOS/user/libs/libc/src/include/internal/bindings/mod.rs
/DragonOS/user/libs/libc/src/include/internal/mod.rs
/DragonOS/user/libs/libc/src/include/mod.rs
abe3a6ea19-Aug-2023 hanjiezhou <zhouhanjie@dragonos.org>

Patch refactor scm and textui (#289)

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

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

* 修正文档

---------

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

5db5a56516-Aug-2023 LoGin <longjin@DragonOS.org>

Patch add 0.1.8 changelog (#334)

* 删除无用代码,并把about app的版本号更新为0.1.8

* v0.1.8 changelog

* 修正未安装rust-src的问题

* 完善文档


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

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

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

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

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

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

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

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

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


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

---------

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

show more ...


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

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

This reverts commit d8ad0a5e7724469abd5cc3cf271993538878033e.


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

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

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

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

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

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

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

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

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


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

show more ...


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

PCI设备中断重构,删去USB相关代码 (#285)

* 修复ecam无法获取MCFG table的问题

* 完善pcie

* 完善irq的错误检测机制

36fd013017-Jun-2023 houmkh <1119644616@qq.com>

实现gettimeofday()系统调用和clocksource+timekeeping子模块 (#278)

- 实现gettimeofday()系统调用
- 实现clocksource+timekeeping子模块部分功能
- 实现了timespec转换成日期时间


/DragonOS/.github/ISSUE_TEMPLATE/bug_report.md
/DragonOS/.github/ISSUE_TEMPLATE/请求新功能.md
/DragonOS/Makefile
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/arch/x86_64/asm/irqflags.rs
/DragonOS/kernel/src/arch/x86_64/fpu.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/ipi.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/mod.rs
/DragonOS/kernel/src/arch/x86_64/syscall.rs
/DragonOS/kernel/src/common/cpu.h
/DragonOS/kernel/src/driver/interrupt/apic/apic.c
/DragonOS/kernel/src/driver/interrupt/apic/apic.h
/DragonOS/kernel/src/driver/timers/HPET/HPET.c
/DragonOS/kernel/src/driver/timers/rtc/rtc.rs
/DragonOS/kernel/src/exception/ipi.rs
/DragonOS/kernel/src/exception/mod.rs
/DragonOS/kernel/src/exception/softirq.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
wrapper.h
/DragonOS/kernel/src/ipc/signal.rs
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/libs/align.rs
/DragonOS/kernel/src/libs/cpu.c
/DragonOS/kernel/src/libs/int_like.rs
/DragonOS/kernel/src/libs/mod.rs
/DragonOS/kernel/src/libs/spinlock.rs
/DragonOS/kernel/src/main.c
/DragonOS/kernel/src/net/net_core.rs
/DragonOS/kernel/src/process/pid.rs
/DragonOS/kernel/src/process/process.c
/DragonOS/kernel/src/process/syscall.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_num.h
/DragonOS/kernel/src/time/Makefile
/DragonOS/kernel/src/time/clocksource.c
/DragonOS/kernel/src/time/clocksource.h
/DragonOS/kernel/src/time/clocksource.rs
/DragonOS/kernel/src/time/jiffies.h
/DragonOS/kernel/src/time/jiffies.rs
/DragonOS/kernel/src/time/mod.rs
/DragonOS/kernel/src/time/sleep.rs
/DragonOS/kernel/src/time/syscall.rs
/DragonOS/kernel/src/time/timeconv.rs
/DragonOS/kernel/src/time/timekeeping.h
/DragonOS/kernel/src/time/timekeeping.rs
/DragonOS/kernel/src/time/timer.h
/DragonOS/kernel/src/time/timer.rs
/DragonOS/tools/bootstrap.sh
/DragonOS/user/apps/test_gettimeofday/Makefile
/DragonOS/user/apps/test_gettimeofday/link.lds
/DragonOS/user/apps/test_gettimeofday/main.c
/DragonOS/user/dadk/config/relibc-0.1.0.dadk
/DragonOS/user/dadk/config/test_gettimeofday-0.1.0.dadk
ab5c8ca424-May-2023 login <longjin@DragonOS.org>

重构系统调用模块 (#267)

* 完成系统调用模块重构

* 更新github workflow


/DragonOS/.github/workflows/makefile.yml
/DragonOS/.gitignore
/DragonOS/.vscode/settings.json
/DragonOS/README.md
/DragonOS/README_EN.md
/DragonOS/docs/community/ChangeLog/V0.1.x/V0.1.7.md
/DragonOS/docs/community/ChangeLog/index.rst
/DragonOS/docs/kernel/core_api/casting.md
/DragonOS/docs/kernel/core_api/index.rst
/DragonOS/docs/kernel/core_api/softirq.md
/DragonOS/docs/kernel/filesystem/index.rst
/DragonOS/docs/kernel/filesystem/sysfs.md
/DragonOS/docs/kernel/sched/cfs.md
/DragonOS/docs/kernel/sched/index.rst
/DragonOS/docs/kernel/sched/kernel_timer.md
/DragonOS/kernel/src/arch/mod.rs
/DragonOS/kernel/src/arch/x86_64/cpu.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/mod.rs
/DragonOS/kernel/src/arch/x86_64/mod.rs
/DragonOS/kernel/src/arch/x86_64/pci/pci.rs
/DragonOS/kernel/src/arch/x86_64/syscall.rs
/DragonOS/kernel/src/common/errno.h
/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/platform/mod.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/pci/pci.rs
/DragonOS/kernel/src/driver/tty/mod.rs
/DragonOS/kernel/src/driver/tty/tty_device.rs
/DragonOS/kernel/src/driver/uart/uart.rs
/DragonOS/kernel/src/driver/usb/xhci/xhci.c
/DragonOS/kernel/src/driver/virtio/virtio.rs
/DragonOS/kernel/src/exception/entry.S
/DragonOS/kernel/src/exception/mod.rs
/DragonOS/kernel/src/exception/softirq.h
/DragonOS/kernel/src/exception/softirq.rs
/DragonOS/kernel/src/exception/trap.c
/DragonOS/kernel/src/filesystem/devfs/mod.rs
/DragonOS/kernel/src/filesystem/devfs/null_dev.rs
/DragonOS/kernel/src/filesystem/devfs/zero_dev.rs
/DragonOS/kernel/src/filesystem/fat/fs.rs
/DragonOS/kernel/src/filesystem/mod.rs
/DragonOS/kernel/src/filesystem/procfs/mod.rs
/DragonOS/kernel/src/filesystem/ramfs/mod.rs
/DragonOS/kernel/src/filesystem/sysfs/bus.rs
/DragonOS/kernel/src/filesystem/sysfs/class.rs
/DragonOS/kernel/src/filesystem/sysfs/devices.rs
/DragonOS/kernel/src/filesystem/sysfs/fs.rs
/DragonOS/kernel/src/filesystem/sysfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/core.rs
/DragonOS/kernel/src/filesystem/vfs/file.rs
/DragonOS/kernel/src/filesystem/vfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
wrapper.h
/DragonOS/kernel/src/ipc/mod.rs
/DragonOS/kernel/src/ipc/pipe.rs
/DragonOS/kernel/src/ipc/signal.rs
/DragonOS/kernel/src/ipc/syscall.rs
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/libs/casting.rs
/DragonOS/kernel/src/libs/lockref.rs
/DragonOS/kernel/src/libs/mod.rs
/DragonOS/kernel/src/libs/spinlock.rs
/DragonOS/kernel/src/libs/wait_queue.rs
/DragonOS/kernel/src/mm/allocator.rs
/DragonOS/kernel/src/mm/mm-stat.c
/DragonOS/kernel/src/mm/mod.rs
/DragonOS/kernel/src/mm/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/mod.rs
/DragonOS/kernel/src/process/pid.rs
/DragonOS/kernel/src/process/process.c
/DragonOS/kernel/src/process/process.rs
/DragonOS/kernel/src/process/syscall.rs
/DragonOS/kernel/src/sched/cfs.rs
/DragonOS/kernel/src/sched/core.rs
/DragonOS/kernel/src/sched/mod.rs
/DragonOS/kernel/src/sched/rt.rs
/DragonOS/kernel/src/sched/syscall.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/syscall/syscall.c
/DragonOS/kernel/src/syscall/syscall.h
/DragonOS/kernel/src/syscall/syscall_num.h
/DragonOS/kernel/src/time/mod.rs
/DragonOS/kernel/src/time/sleep.h
/DragonOS/kernel/src/time/sleep.rs
/DragonOS/kernel/src/time/syscall.rs
/DragonOS/kernel/src/time/timer.rs
/DragonOS/rust-toolchain.toml
/DragonOS/tools/bootstrap.sh
/DragonOS/tools/build_gcc_toolchain.sh
/DragonOS/tools/change_rust_src.sh
/DragonOS/tools/qemu/ifdown-nat
/DragonOS/tools/qemu/ifup-nat
/DragonOS/tools/run-qemu.sh
/DragonOS/tools/write_disk_image.sh
/DragonOS/user/Makefile
/DragonOS/user/apps/about/Makefile
/DragonOS/user/apps/about/about.c
/DragonOS/user/apps/http_server/Makefile
/DragonOS/user/apps/http_server/link.lds
/DragonOS/user/apps/http_server/main.c
/DragonOS/user/apps/shell/Makefile
/DragonOS/user/apps/shell/cmd.c
/DragonOS/user/apps/shell/cmd_test.c
/DragonOS/user/apps/test_relibc/Makefile
/DragonOS/user/apps/test_relibc/link.lds
/DragonOS/user/apps/test_relibc/main.c
/DragonOS/user/apps/test_signal/Makefile
/DragonOS/user/dadk/config/.gitignore
/DragonOS/user/dadk/config/http_server-0.1.0.dadk
/DragonOS/user/dadk/config/relibc-0.1.0.dadk
/DragonOS/user/dadk/config/test_relibc-0.1.0.dadk
/DragonOS/user/libs/libc/src/include/export/errno.h
/DragonOS/user/libs/libc/src/malloc.c
/DragonOS/user/libs/libc/src/sys/stat.c
/DragonOS/user/libs/libc/src/unistd.c
/DragonOS/user/libs/libsystem/syscall.h

12