History log of /DragonOS/kernel/src/arch/riscv64/ (Results 1 – 25 of 43)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
f5b2038830-Oct-2024 codeironman <1553389239@qq.com>

ospp project (feature) add namespace overlayfs cgroup (#949)

## 开发进展:
## namespace
- pid_namespace 基本实现,基于pid_struct等数据结构实现隔离
- mnt_namespace 基本实现,挂载点的隔离通过不同的挂载树来实现
- usernamespace 作为支持性的namesp

ospp project (feature) add namespace overlayfs cgroup (#949)

## 开发进展:
## namespace
- pid_namespace 基本实现,基于pid_struct等数据结构实现隔离
- mnt_namespace 基本实现,挂载点的隔离通过不同的挂载树来实现
- usernamespace 作为支持性的namespace,目前受限实现全局静态
## overlayfs
- 实现若干个文件系统的叠加,在mount中传入多个路径作为多个fs的mount路径以及最后merge层的fs路径
- copy-up机制的,除最上层外其他层为只读层,满足写时拷贝,需要修改的时候copy到上层修改
- whiteout特殊文件,用于标记在下层需要被删除的文件用来掩盖需要删除的文件
## cgroups
- 目前cgroups还处于框架阶段,之后具体实现具体的内存、CPU等子系统

show more ...


/DragonOS/docs/index.rst
/DragonOS/docs/kernel/container/index.rst
/DragonOS/docs/kernel/container/namespaces/index.rst
/DragonOS/docs/kernel/container/namespaces/mnt_namespace.md
/DragonOS/docs/kernel/container/namespaces/pid_namespace.md
/DragonOS/docs/kernel/filesystem/index.rst
/DragonOS/docs/kernel/filesystem/unionfs/index.rst
/DragonOS/docs/kernel/filesystem/unionfs/overlayfs.md
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/crates/ida/src/lib.rs
process/mod.rs
/DragonOS/kernel/src/arch/x86_64/asm/entry.S
/DragonOS/kernel/src/arch/x86_64/process/mod.rs
/DragonOS/kernel/src/cgroup/mem_cgroup.rs
/DragonOS/kernel/src/cgroup/mod.rs
/DragonOS/kernel/src/driver/block/virtio_blk.rs
/DragonOS/kernel/src/driver/input/mod.rs
/DragonOS/kernel/src/driver/input/serio/i8042/mod.rs
/DragonOS/kernel/src/driver/keyboard/ps2_keyboard.rs
/DragonOS/kernel/src/driver/net/virtio_net.rs
/DragonOS/kernel/src/driver/tty/kthread.rs
/DragonOS/kernel/src/driver/tty/virtual_terminal/virtual_console.rs
/DragonOS/kernel/src/driver/virtio/transport.rs
/DragonOS/kernel/src/driver/virtio/transport_pci.rs
/DragonOS/kernel/src/filesystem/mod.rs
/DragonOS/kernel/src/filesystem/overlayfs/copy_up.rs
/DragonOS/kernel/src/filesystem/overlayfs/entry.rs
/DragonOS/kernel/src/filesystem/overlayfs/mod.rs
/DragonOS/kernel/src/filesystem/ramfs/mod.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/init/initial_kthread.rs
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/libs/font/mod.rs
/DragonOS/kernel/src/libs/ida/src/lib.rs
/DragonOS/kernel/src/namespaces/mnt_namespace.rs
/DragonOS/kernel/src/namespaces/mod.rs
/DragonOS/kernel/src/namespaces/namespace.rs
/DragonOS/kernel/src/namespaces/pid_namespace.rs
/DragonOS/kernel/src/namespaces/syscall.rs
/DragonOS/kernel/src/namespaces/ucount.rs
/DragonOS/kernel/src/namespaces/user_namespace.rs
/DragonOS/kernel/src/net/net_core.rs
/DragonOS/kernel/src/process/cred.rs
/DragonOS/kernel/src/process/fork.rs
/DragonOS/kernel/src/process/mod.rs
/DragonOS/kernel/src/process/syscall.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/triagebot.toml
/DragonOS/user/apps/test-chown/.gitignore
/DragonOS/user/apps/test-chown/Cargo.toml
/DragonOS/user/apps/test-chown/Makefile
/DragonOS/user/apps/test-chown/README.md
/DragonOS/user/apps/test-chown/src/main.rs
/DragonOS/user/apps/test_namespace/Cargo.toml
/DragonOS/user/apps/test_namespace/Makefile
/DragonOS/user/apps/test_namespace/makefile.toml
/DragonOS/user/apps/test_namespace/src/main.rs
/DragonOS/user/apps/test_overlayfs/.gitignore
/DragonOS/user/apps/test_overlayfs/Makefile
/DragonOS/user/apps/test_overlayfs/main.c
/DragonOS/user/dadk/config/test_chown_0_1_0.dadk
/DragonOS/user/dadk/config/test_namespace.dadk
/DragonOS/user/dadk/config/test_overlayfs.dadk
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
interrupt/handle.rs
interrupt/mod.rs
kprobe.rs
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
/DragonOS/kernel/src/include/bindings/linux_bpf.rs
/DragonOS/kernel/src/include/bindings/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能运行

cf7f801e04-Sep-2024 MemoryShore <1353318529@qq.com>

feat(mm): 简单实现fat文件系统的文件映射 (#840)

- 添加文件映射相关接口,目前已简单实现fat文件系统的私有映射和共享映射
- 添加msync系统调用(由于当前未实现脏页自动回写,需要手动调用msync进行同步)
- 简单实现PageCache(暂时使用HashMap进行文件页号与页的映射)
- 添加新的PageFlags标志结构,原PageFlags改名为Entry

feat(mm): 简单实现fat文件系统的文件映射 (#840)

- 添加文件映射相关接口,目前已简单实现fat文件系统的私有映射和共享映射
- 添加msync系统调用(由于当前未实现脏页自动回写,需要手动调用msync进行同步)
- 简单实现PageCache(暂时使用HashMap进行文件页号与页的映射)
- 添加新的PageFlags标志结构,原PageFlags改名为EntryFlags
- 参考linux使用protection_map映射表进行页面标志的获取
- 添加页面回收机制
- 添加页面回收内核线程
- 缺页中断使用的锁修改为irq_save; 添加脏页回写机制
- 修复do_cow_page死锁问题
- 访问非法地址时发送信号终止进程
- 修复重复插入反向vma表的错误
- 添加test_filemap文件映射测试程序

show more ...


/DragonOS/.github/workflows/makefile.yml
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/crates/wait_queue_macros/Cargo.toml
/DragonOS/kernel/crates/wait_queue_macros/src/lib.rs
mm/mod.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/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/mm/fault.rs
/DragonOS/kernel/src/arch/x86_64/mm/mod.rs
/DragonOS/kernel/src/arch/x86_64/mm/pkru.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/block/virtio_blk.rs
/DragonOS/kernel/src/driver/disk/ahci/ahcidisk.rs
/DragonOS/kernel/src/driver/disk/ahci/mod.rs
/DragonOS/kernel/src/driver/mod.rs
/DragonOS/kernel/src/driver/net/dma.rs
/DragonOS/kernel/src/driver/pci/pci_irq.rs
/DragonOS/kernel/src/driver/scsi/mod.rs
/DragonOS/kernel/src/driver/tty/tty_ldisc/ntty.rs
/DragonOS/kernel/src/driver/video/mod.rs
/DragonOS/kernel/src/driver/virtio/irq.rs
/DragonOS/kernel/src/driver/virtio/virtio_impl.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/mbr.rs
/DragonOS/kernel/src/filesystem/vfs/core.rs
/DragonOS/kernel/src/filesystem/vfs/file.rs
/DragonOS/kernel/src/filesystem/vfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/mount.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
/DragonOS/kernel/src/init/initial_kthread.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/keyboard_parser.rs
/DragonOS/kernel/src/libs/mod.rs
/DragonOS/kernel/src/libs/name.rs
/DragonOS/kernel/src/libs/wait_queue.rs
/DragonOS/kernel/src/mm/allocator/page_frame.rs
/DragonOS/kernel/src/mm/c_adapter.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/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/syscall.rs
/DragonOS/kernel/src/process/cred.rs
/DragonOS/kernel/src/process/kthread.rs
/DragonOS/kernel/src/process/mod.rs
/DragonOS/kernel/src/process/syscall.rs
/DragonOS/kernel/src/sched/fair.rs
/DragonOS/kernel/src/sched/mod.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/virt/kvm/host_mem.rs
/DragonOS/user/apps/test_cred/.gitignore
/DragonOS/user/apps/test_cred/Makefile
/DragonOS/user/apps/test_cred/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_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/dadk/config/test_cred-0.1.0.dadk
/DragonOS/user/dadk/config/test_filemap-0.1.0.dadk
/DragonOS/user/dadk/config/test_tokio-0.1.0.dadk
/DragonOS/user/sysconfig/etc/group
/DragonOS/user/sysconfig/etc/gshadow
/DragonOS/user/sysconfig/etc/passwd
/DragonOS/user/sysconfig/etc/shadow
703ce5a727-Jul-2024 LoGin <longjin@DragonOS.org>

fix: 修复由于升级到2024-07-23工具链之后,某些机器上面内核运行一直fault的问题。 (#870)

* fix: 修复由于升级到2024-07-23工具链之后,某些机器上面内核运行一直fault的问题。


/DragonOS/.github/workflows/cache-toolchain.yml
/DragonOS/Makefile
/DragonOS/README.md
/DragonOS/README_EN.md
/DragonOS/build-scripts/.gitignore
/DragonOS/build-scripts/Makefile
/DragonOS/build-scripts/kernel_build/src/lib.rs
/DragonOS/docs/conf.py
/DragonOS/kernel/.cargo/config.toml
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/Makefile
/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/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/src/pages.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/env.mk
/DragonOS/kernel/rust-toolchain.toml
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/arch/io.rs
process/syscall.rs
/DragonOS/kernel/src/arch/x86_64/driver/apic/apic_timer.rs
/DragonOS/kernel/src/arch/x86_64/driver/apic/lapic_vector.rs
/DragonOS/kernel/src/arch/x86_64/driver/hpet.rs
/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/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/vmx/vcpu.rs
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/vmx_asm_wrapper.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/kthread.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/x86_64-unknown-none.json
/DragonOS/kernel/src/driver/acpi/bus.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/mod.rs
/DragonOS/kernel/src/driver/base/platform/platform_device.rs
/DragonOS/kernel/src/driver/base/platform/platform_driver.rs
/DragonOS/kernel/src/driver/block/cache/cached_block_device.rs
/DragonOS/kernel/src/driver/clocksource/acpi_pm.rs
/DragonOS/kernel/src/driver/clocksource/timer_riscv.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/init.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/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/net/e1000e/e1000e.rs
/DragonOS/kernel/src/driver/net/loopback.rs
/DragonOS/kernel/src/driver/net/mod.rs
/DragonOS/kernel/src/driver/open_firmware/fdt.rs
/DragonOS/kernel/src/driver/pci/driver.rs
/DragonOS/kernel/src/driver/pci/ecam.rs
/DragonOS/kernel/src/driver/pci/pci.rs
/DragonOS/kernel/src/driver/pci/root.rs
/DragonOS/kernel/src/driver/rtc/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/tty/console.rs
/DragonOS/kernel/src/driver/tty/tty_core.rs
/DragonOS/kernel/src/driver/tty/tty_device.rs
/DragonOS/kernel/src/driver/tty/tty_ldisc/ntty.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/mod.rs
/DragonOS/kernel/src/driver/virtio/mod.rs
/DragonOS/kernel/src/exception/irqchip.rs
/DragonOS/kernel/src/exception/irqdomain.rs
/DragonOS/kernel/src/exception/msi.rs
/DragonOS/kernel/src/filesystem/eventfd.rs
/DragonOS/kernel/src/filesystem/fat/entry.rs
/DragonOS/kernel/src/filesystem/fat/fs.rs
/DragonOS/kernel/src/filesystem/mbr.rs
/DragonOS/kernel/src/filesystem/mod.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/group.rs
/DragonOS/kernel/src/filesystem/vfs/file.rs
/DragonOS/kernel/src/filesystem/vfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/mount.rs
/DragonOS/kernel/src/filesystem/vfs/open.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
/DragonOS/kernel/src/filesystem/vfs/utils.rs
/DragonOS/kernel/src/init/initial_kthread.rs
/DragonOS/kernel/src/init/mod.rs
/DragonOS/kernel/src/ipc/signal_types.rs
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/libs/font/mod.rs
/DragonOS/kernel/src/libs/ida/src/lib.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/rwlock.rs
/DragonOS/kernel/src/mm/allocator/kernel_allocator.rs
/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/event_poll/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/process/exec.rs
/DragonOS/kernel/src/process/exit.rs
/DragonOS/kernel/src/process/fork.rs
/DragonOS/kernel/src/process/mod.rs
/DragonOS/kernel/src/process/syscall.rs
/DragonOS/kernel/src/sched/completion.rs
/DragonOS/kernel/src/sched/fair.rs
/DragonOS/kernel/src/sched/mod.rs
/DragonOS/kernel/src/syscall/mod.rs
/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/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/vcpu.rs
/DragonOS/kernel/src/virt/kvm/vm.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/triagebot.toml
/DragonOS/user/apps/clear/Makefile
/DragonOS/user/apps/test-backlog/Makefile
/DragonOS/user/apps/test-blockcache/Makefile
/DragonOS/user/apps/test-for-robustfutex/Makefile
/DragonOS/user/apps/test-mount/Makefile
/DragonOS/user/apps/test_alarm/Makefile
/DragonOS/user/apps/test_eventfd/.gitignore
/DragonOS/user/apps/test_eventfd/Makefile
/DragonOS/user/apps/test_eventfd/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_socket/Makefile
/DragonOS/user/apps/test_statx/Makefile
/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/test_eventfd_0_1_0.dadk
/DragonOS/user/dadk/config/test_lo_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
2eab6dd716-May-2024 曾俊 <110876916+ZZJJWarth@users.noreply.github.com>

feat(log): 将内核日志统一为新的logger (#814)


/DragonOS/docs/community/ChangeLog/V0.1.x/V0.1.10.md
/DragonOS/docs/community/ChangeLog/index.rst
/DragonOS/docs/introduction/build_system.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/kernel/Cargo.toml
/DragonOS/kernel/crates/unified-init/src/lib.rs
driver/of.rs
init/mod.rs
interrupt/handle.rs
ipc/signal.rs
mm/init.rs
pci/pci_host_ecam.rs
process/idle.rs
process/mod.rs
process/syscall.rs
smp/mod.rs
syscall/mod.rs
time.rs
/DragonOS/kernel/src/arch/x86_64/acpi.rs
/DragonOS/kernel/src/arch/x86_64/driver/apic/apic_timer.rs
/DragonOS/kernel/src/arch/x86_64/driver/apic/ioapic.rs
/DragonOS/kernel/src/arch/x86_64/driver/apic/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/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/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/vmexit.rs
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/vmx_asm_wrapper.rs
/DragonOS/kernel/src/arch/x86_64/mm/fault.rs
/DragonOS/kernel/src/arch/x86_64/mm/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/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/mod.rs
/DragonOS/kernel/src/debug/klog/mm.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/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/subsys.rs
/DragonOS/kernel/src/driver/block/cache/cached_block_device.rs
/DragonOS/kernel/src/driver/block/virtio_blk.rs
/DragonOS/kernel/src/driver/clocksource/acpi_pm.rs
/DragonOS/kernel/src/driver/clocksource/timer_riscv.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/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/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/subsys.rs
/DragonOS/kernel/src/driver/irqchip/riscv_intc.rs
/DragonOS/kernel/src/driver/irqchip/riscv_sifive_plic.rs
/DragonOS/kernel/src/driver/net/e1000e/e1000e.rs
/DragonOS/kernel/src/driver/net/e1000e/e1000e_driver.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/serial/serial8250/mod.rs
/DragonOS/kernel/src/driver/tty/tty_driver.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/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/sysfs.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/irqdomain.rs
/DragonOS/kernel/src/exception/manage.rs
/DragonOS/kernel/src/exception/softirq.rs
/DragonOS/kernel/src/exception/sysfs.rs
/DragonOS/kernel/src/filesystem/devfs/mod.rs
/DragonOS/kernel/src/filesystem/devpts/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/kernfs/mod.rs
/DragonOS/kernel/src/filesystem/mbr.rs
/DragonOS/kernel/src/filesystem/procfs/kmsg.rs
/DragonOS/kernel/src/filesystem/procfs/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/init/init.rs
/DragonOS/kernel/src/init/initial_kthread.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/elf.rs
/DragonOS/kernel/src/libs/futex/futex.rs
/DragonOS/kernel/src/libs/keyboard_parser.rs
/DragonOS/kernel/src/libs/lib_ui/textui.rs
/DragonOS/kernel/src/libs/notifier.rs
/DragonOS/kernel/src/libs/printk.rs
/DragonOS/kernel/src/libs/rbtree.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/slab.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/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/net_core.rs
/DragonOS/kernel/src/net/socket/inet.rs
/DragonOS/kernel/src/net/socket/mod.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/kthread.rs
/DragonOS/kernel/src/process/mod.rs
/DragonOS/kernel/src/process/syscall.rs
/DragonOS/kernel/src/process/timer.rs
/DragonOS/kernel/src/sched/fair.rs
/DragonOS/kernel/src/sched/mod.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/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.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_dev.rs
/DragonOS/kernel/src/virt/kvm/vm.rs
/DragonOS/kernel/src/virt/kvm/vm_dev.rs
/DragonOS/tools/bootstrap.sh
/DragonOS/user/apps/about/about.c
/DragonOS/user/apps/http_server/main.c
/DragonOS/user/dadk/config/held-0.1.0.dadk
0102d69f01-May-2024 LoGin <longjin@DragonOS.org>

feat:(riscv/intr) 实现riscv plic驱动,能处理外部中断 (#799)

* feat:(riscv/intr) 实现riscv plic驱动,能处理外部中断

- 实现riscv plic驱动,能处理外部中断
- 能收到virtio-blk的中断
- 实现fasteoi interrupt handler


/DragonOS/.github/issue-checker.yml
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/crates/bitmap/src/alloc_bitmap.rs
/DragonOS/kernel/crates/bitmap/tests/alloc-bitmap.rs
/DragonOS/kernel/crates/rust-slabmalloc/src/zone.rs
asm/bitops.rs
driver/of.rs
interrupt/entry.rs
interrupt/handle.rs
interrupt/mod.rs
mm/mod.rs
/DragonOS/kernel/src/arch/x86_64/driver/apic/lapic_vector.rs
/DragonOS/kernel/src/arch/x86_64/driver/hpet.rs
/DragonOS/kernel/src/driver/block/virtio_blk.rs
/DragonOS/kernel/src/driver/clocksource/timer_riscv.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/net/virtio_net.rs
/DragonOS/kernel/src/driver/virtio/irq.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_pci.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/libs/cpumask.rs
/DragonOS/kernel/src/libs/lib_ui/textui_no_alloc.rs
/DragonOS/kernel/src/mm/allocator/slab.rs
/DragonOS/kernel/src/mm/fault.rs
/DragonOS/kernel/src/mm/mmio_buddy.rs
/DragonOS/kernel/src/mm/ucontext.rs
/DragonOS/kernel/src/smp/cpu/mod.rs
/DragonOS/kernel/src/syscall/misc.rs
/DragonOS/kernel/src/time/timer.rs
/DragonOS/user/apps/test-backlog/Makefile
942cf26b28-Apr-2024 LoGin <longjin@DragonOS.org>

fix(riscv/process): 把riscv的调度时钟节拍率与HZ同步,并且修复切换到用户态的时候忘了在内核态关中断的bug (#780)


/DragonOS/.github/actions/import-toolchain/action.yml
/DragonOS/.github/workflows/cache-toolchain.yml
/DragonOS/docs/introduction/build_system.md
/DragonOS/docs/userland/appdev/rust-quick-start.md
asm/csr.rs
cpu.rs
process/mod.rs
process/syscall.rs
smp/mod.rs
/DragonOS/kernel/src/arch/x86_64/acpi.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/driver/acpi/pmtmr.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/mod.rs
/DragonOS/kernel/src/driver/pci/pci.rs
/DragonOS/kernel/src/filesystem/vfs/core.rs
/DragonOS/kernel/src/init/initial_kthread.rs
/DragonOS/kernel/src/libs/lib_ui/textui.rs
/DragonOS/kernel/src/sched/mod.rs
/DragonOS/kernel/src/time/clocksource.rs
/DragonOS/kernel/src/time/jiffies.rs
/DragonOS/kernel/src/time/mod.rs
/DragonOS/user/Makefile
/DragonOS/user/apps/riscv_init/Makefile
/DragonOS/user/apps/riscv_init/main.c
/DragonOS/user/apps/test-blockcache/Makefile
/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_dup3_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_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_uart-0.1.0.dadk
f75cb0f827-Apr-2024 LoGin <longjin@DragonOS.org>

refactor(process): 调整arch_switch_to_user函数,把riscv和x86_64的共用逻辑抽取出来。 (#773)

* refactor(process): Extract common logic for riscv and x86_64 in arch_switch_to_user to run_init_process

调整arch_switch_t

refactor(process): 调整arch_switch_to_user函数,把riscv和x86_64的共用逻辑抽取出来。 (#773)

* refactor(process): Extract common logic for riscv and x86_64 in arch_switch_to_user to run_init_process

调整arch_switch_to_user函数,把riscv和x86_64的共用逻辑抽取出来。写成run_init_process函数,并且能够尝试运行多个不同的init程序,直到某个运行成功

show more ...

471d65cf26-Apr-2024 LoGin <longjin@DragonOS.org>

feat(riscv): riscv下能够运行hello world用户程序 (#770)

* feat(riscv): riscv下能够运行hello world用户程序

731bc2b323-Apr-2024 LoGin <longjin@DragonOS.org>

feat(virtio): riscv: 添加virtio-blk driver,并在riscv下能够正确挂载FAT32 (#761)


/DragonOS/docs/community/code_contribution/conventional-commit.md
/DragonOS/docs/community/code_contribution/index.rst
/DragonOS/kernel/Cargo.toml
mm/mod.rs
pci/mod.rs
/DragonOS/kernel/src/arch/x86_64/driver/apic/x2apic.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/mod.rs
/DragonOS/kernel/src/driver/base/subsys.rs
/DragonOS/kernel/src/driver/block/mod.rs
/DragonOS/kernel/src/driver/block/virtio_blk.rs
/DragonOS/kernel/src/driver/disk/ahci/ahcidisk.rs
/DragonOS/kernel/src/driver/input/serio/serio_driver.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/pci/pci.rs
/DragonOS/kernel/src/driver/serial/serial8250/mod.rs
/DragonOS/kernel/src/driver/timers/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.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/filesystem/mbr.rs
/DragonOS/kernel/src/filesystem/sysfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/core.rs
/DragonOS/kernel/src/init/init.rs
/DragonOS/kernel/src/init/initial_kthread.rs
/DragonOS/kernel/src/libs/printk.rs
/DragonOS/kernel/src/mm/mmio_buddy.rs
/DragonOS/kernel/src/mm/page.rs
/DragonOS/kernel/src/net/mod.rs
/DragonOS/kernel/src/net/net_core.rs
/DragonOS/kernel/src/net/socket/inet.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/tools/run-qemu.sh
/DragonOS/user/apps/test-backlog/Makefile
a17651b122-Apr-2024 MemoryShore <105195940+MemoryShore@users.noreply.github.com>

feat(mm): 实现缺页中断处理,支持页面延迟分配和写时拷贝,以及用户栈自动拓展 (#715)

* 实现缺页中断处理

* 完善页表拷贝逻辑

* 优化代码结构

* 完善缺页异常信息

* 修改大页映射逻辑

* 修正大页映射错误

* 添加缺页中断支持标志

* 实现用户栈自动拓展功能

370472f721-Apr-2024 LoGin <longjin@DragonOS.org>

pci: 添加pci root manager来管理pci root,并使得riscv能够正常扫描pci设备. (#745)

* pci: 添加pci root manager来管理pci root.
pci: 使得riscv能够正常扫描pci设备.

* doc: 添加注释

2709e01720-Apr-2024 LoGin <longjin@DragonOS.org>

pci: 统一使用ecam root (#744)


/DragonOS/README.md
/DragonOS/README_EN.md
/DragonOS/docs/introduction/build_system.md
/DragonOS/docs/kernel/libs/lib_ui/scm.md
/DragonOS/kernel/Cargo.toml
/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
pci/mod.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/vcpu.rs
/DragonOS/kernel/src/arch/x86_64/pci/pci.rs
/DragonOS/kernel/src/arch/x86_64/syscall/mod.rs
/DragonOS/kernel/src/driver/Makefile
/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/base/kobject.rs
/DragonOS/kernel/src/driver/base/subsys.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/pci/pci.rs
/DragonOS/kernel/src/driver/pci/pci_irq.rs
/DragonOS/kernel/src/driver/tty/termios.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/mod.rs
/DragonOS/kernel/src/driver/virtio/transport_pci.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/callback.rs
/DragonOS/kernel/src/filesystem/kernfs/mod.rs
/DragonOS/kernel/src/filesystem/procfs/mod.rs
/DragonOS/kernel/src/filesystem/ramfs/mod.rs
/DragonOS/kernel/src/filesystem/sysfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/core.rs
/DragonOS/kernel/src/filesystem/vfs/file.rs
/DragonOS/kernel/src/filesystem/vfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/mount.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
/DragonOS/kernel/src/filesystem/vfs/utils.rs
/DragonOS/kernel/src/init/initial_kthread.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/libs/lib_ui/screen_manager.rs
/DragonOS/kernel/src/mm/allocator/kernel_allocator.rs
/DragonOS/kernel/src/mm/allocator/slab.rs
/DragonOS/kernel/src/mm/init.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/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/mod.rs
/DragonOS/kernel/src/process/timer.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/syscall/syscall_num.h
/DragonOS/kernel/src/time/clocksource.rs
/DragonOS/kernel/src/time/syscall.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/http_server/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_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_ramfs/.gitignore
/DragonOS/user/apps/test_ramfs/Makefile
/DragonOS/user/apps/test_ramfs/main.c
/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_ramfs-0.1.0.dadk
9621ab1614-Apr-2024 LoGin <longjin@DragonOS.org>

让riscv64能正常切换进程,并运行完所有的initcall (#721)

f049d1af12-Apr-2024 LoGin <longjin@DragonOS.org>

初始化riscv-sbi-timer (#716)


/DragonOS/docs/community/ChangeLog/V0.1.x/V0.1.9.md
interrupt/handle.rs
process/idle.rs
process/mod.rs
sched.rs
time.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/include/asm/apu_boot.h
/DragonOS/kernel/src/arch/x86_64/interrupt/trap.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/smp/mod.rs
/DragonOS/kernel/src/driver/base/block/block_device.rs
/DragonOS/kernel/src/driver/base/block/mod.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/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/mod.rs
/DragonOS/kernel/src/driver/input/ps2_mouse/ps_mouse_device.rs
/DragonOS/kernel/src/driver/irqchip/riscv_intc.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/rtc/class.rs
/DragonOS/kernel/src/driver/rtc/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_ldisc/ntty.rs
/DragonOS/kernel/src/driver/tty/virtual_terminal/mod.rs
/DragonOS/kernel/src/driver/virtio/virtio_impl.rs
/DragonOS/kernel/src/exception/irqdata.rs
/DragonOS/kernel/src/exception/irqdesc.rs
/DragonOS/kernel/src/exception/irqdomain.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/bpb.rs
/DragonOS/kernel/src/filesystem/fat/fs.rs
/DragonOS/kernel/src/filesystem/kernfs/mod.rs
/DragonOS/kernel/src/filesystem/procfs/log.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/syscall.rs
/DragonOS/kernel/src/init/initial_kthread.rs
/DragonOS/kernel/src/ipc/mod.rs
/DragonOS/kernel/src/ipc/pipe.rs
/DragonOS/kernel/src/ipc/shm.rs
/DragonOS/kernel/src/ipc/syscall.rs
/DragonOS/kernel/src/libs/futex/futex.rs
/DragonOS/kernel/src/libs/futex/syscall.rs
/DragonOS/kernel/src/libs/lib_ui/textui.rs
/DragonOS/kernel/src/libs/printk.rs
/DragonOS/kernel/src/libs/rwlock.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/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/process/mod.rs
/DragonOS/kernel/src/process/resource.rs
/DragonOS/kernel/src/sched/mod.rs
/DragonOS/kernel/src/smp/cpu/mod.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/time/mod.rs
/DragonOS/kernel/src/time/sleep.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/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/grub_auto_install.sh
/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_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/dadk/config/test_blockcache_0_1_0.dadk
/DragonOS/user/dadk/config/test_for_robustfutex_0_1_0.dadk
/DragonOS/user/dadk/config/test_shm-0.1.0.dadk
23ef2b3306-Apr-2024 LoGin <longjin@DragonOS.org>

riscv: 把内核编译target改为riscv64gc & 获取time csr的频率 & 修正浮点保存与恢复的汇编的问题 (#699)

* 1. 把内核编译target改为riscv64gc
2. fix: 修正浮点保存与恢复的汇编的问题

* riscv: 获取time csr的频率


/DragonOS/.gitignore
/DragonOS/.vscode/settings.json
/DragonOS/build-scripts/kernel_build/src/cfiles/arch/riscv64.rs
/DragonOS/build-scripts/kernel_build/src/lib.rs
/DragonOS/docs/kernel/configuration/arch.md
/DragonOS/kernel/Makefile
/DragonOS/kernel/env.mk
/DragonOS/kernel/src/Makefile
cpu.rs
driver/mod.rs
driver/of.rs
init/mod.rs
interrupt/handle.rs
mm/mod.rs
process/mod.rs
syscall/mod.rs
time.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/mm/mod.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/arch/x86_64/time.rs
/DragonOS/kernel/src/driver/open_firmware/fdt.rs
/DragonOS/kernel/src/driver/tty/kthread.rs
/DragonOS/kernel/src/exception/ipi.rs
/DragonOS/kernel/src/exception/softirq.rs
/DragonOS/kernel/src/filesystem/procfs/mod.rs
/DragonOS/kernel/src/include/bindings/wrapper.h
/DragonOS/kernel/src/init/init.rs
/DragonOS/kernel/src/ipc/pipe.rs
/DragonOS/kernel/src/libs/futex/futex.rs
/DragonOS/kernel/src/libs/mutex.rs
/DragonOS/kernel/src/libs/rbtree.rs
/DragonOS/kernel/src/libs/spinlock.rs
/DragonOS/kernel/src/libs/wait_queue.rs
/DragonOS/kernel/src/mm/init.rs
/DragonOS/kernel/src/mm/mmio_buddy.rs
/DragonOS/kernel/src/mm/mod.rs
/DragonOS/kernel/src/mm/page.rs
/DragonOS/kernel/src/net/event_poll/mod.rs
/DragonOS/kernel/src/net/socket/mod.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
e8eab1ac05-Apr-2024 LoGin <longjin@DragonOS.org>

riscv: copy-thread (#696)


/DragonOS/kernel/Cargo.toml
interrupt/entry.rs
interrupt/mod.rs
process/kthread.rs
process/mod.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/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
/DragonOS/kernel/src/ipc/pipe.rs
/DragonOS/kernel/src/ipc/syscall.rs
/DragonOS/kernel/src/libs/lib_ui/textui.rs
/DragonOS/kernel/src/libs/printk.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/mod.rs
/DragonOS/kernel/src/syscall/mod.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>

9b96c5b531-Mar-2024 LoGin <longjin@DragonOS.org>

riscv64: switch process (#678)

* riscv64: switch process

* fixname


/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
cpu.rs
interrupt/mod.rs
process/mod.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/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/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/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/mod.rs
/DragonOS/kernel/src/filesystem/vfs/mount.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
/DragonOS/kernel/src/lib.rs
/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/socket/inet.rs
/DragonOS/kernel/src/syscall/misc.rs
/DragonOS/kernel/src/syscall/mod.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/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_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_statfs_0_1_0.dadk
/DragonOS/user/sysconfig/etc/reach/system/shell.service
/DragonOS/user/sysconfig/etc/resolv.conf
4016997323-Mar-2024 LoGin <longjin@DragonOS.org>

riscv: 进程管理初始化 (#654)

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
interrupt/handle.rs
interrupt/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
/DragonOS/kernel/src/include/bindings/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
70f159a321-Mar-2024 LoGin <longjin@DragonOS.org>

riscv64: 添加flush tlb的ipi (#636)

* riscv64: 添加flush tlb的ipi

* update triagebot

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
smp/mod.rs
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/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
/DragonOS/kernel/src/include/bindings/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/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
5c4224e508-Mar-2024 LoGin <longjin@DragonOS.org>

在riscv上实现异常处理,能够进入异常处理程序 (#564)

12