History log of /DragonOS/kernel/src/arch/x86_64/ (Results 1 – 25 of 128)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
081428c019-Nov-2024 linfeng <chenlinfeng25@outlook.com>

feat: update to new backtrace lib (#1049)

* feat: update to new backtrace lib

* feat: enable unwind for riscv64

---------

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

0f094e5012-Nov-2024 LoGin <longjin@DragonOS.org>

fix: 修复了do execve 加载程序失败时,没能正确返回错误码给用户态的问题 (#1042)

* fix: 修复了do execve 加载程序失败时,没能正确返回错误码给用户态的问题

7c28051e11-Nov-2024 linfeng <chenlinfeng25@outlook.com>

chore: update toolchain version to 2024-11-05 (#1031)

* chore: update toolchain version to 2024-11-05

* update dragon reach to e945c217b3

* update dog to 6f2c0c8f12

---------

Co-authored

chore: update toolchain version to 2024-11-05 (#1031)

* chore: update toolchain version to 2024-11-05

* update dragon reach to e945c217b3

* update dog to 6f2c0c8f12

---------

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

show more ...


/DragonOS/.github/workflows/makefile.yml
/DragonOS/build-scripts/Makefile
/DragonOS/kernel/Makefile
/DragonOS/kernel/crates/bitmap/src/alloc_bitmap.rs
/DragonOS/kernel/crates/bitmap/src/static_bitmap.rs
/DragonOS/kernel/crates/crc/src/lib.rs
/DragonOS/kernel/crates/ida/src/lib.rs
/DragonOS/kernel/crates/intertrait/macros/src/lib.rs
/DragonOS/kernel/crates/intertrait/src/lib.rs
/DragonOS/kernel/crates/klog_types/src/lib.rs
/DragonOS/kernel/crates/rbpf/src/insn_builder.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/system_error/Cargo.toml
/DragonOS/kernel/crates/system_error/src/lib.rs
/DragonOS/kernel/rust-toolchain.toml
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/arch/riscv64/interrupt/entry.rs
/DragonOS/kernel/src/arch/riscv64/process/kthread.rs
/DragonOS/kernel/src/arch/riscv64/process/mod.rs
interrupt/entry.rs
mm/mod.rs
process/kthread.rs
process/mod.rs
smp/mod.rs
/DragonOS/kernel/src/driver/base/block/block_device.rs
/DragonOS/kernel/src/driver/base/block/gendisk.rs
/DragonOS/kernel/src/driver/base/block/manager.rs
/DragonOS/kernel/src/driver/base/char/mod.rs
/DragonOS/kernel/src/driver/block/virtio_blk.rs
/DragonOS/kernel/src/driver/disk/ahci/hba.rs
/DragonOS/kernel/src/driver/disk/ahci/mod.rs
/DragonOS/kernel/src/driver/firmware/efi/memmap.rs
/DragonOS/kernel/src/driver/firmware/efi/tables.rs
/DragonOS/kernel/src/driver/input/serio/serio_driver.rs
/DragonOS/kernel/src/driver/net/dma.rs
/DragonOS/kernel/src/driver/net/e1000e/e1000e.rs
/DragonOS/kernel/src/driver/net/loopback.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/device.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/test/pt_device.rs
/DragonOS/kernel/src/driver/scsi/mod.rs
/DragonOS/kernel/src/driver/video/fbdev/base/fbmem.rs
/DragonOS/kernel/src/driver/virtio/irq.rs
/DragonOS/kernel/src/driver/virtio/transport.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/irqdata.rs
/DragonOS/kernel/src/exception/irqdesc.rs
/DragonOS/kernel/src/exception/irqdomain.rs
/DragonOS/kernel/src/exception/manage.rs
/DragonOS/kernel/src/exception/softirq.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/overlayfs/mod.rs
/DragonOS/kernel/src/filesystem/procfs/syscall.rs
/DragonOS/kernel/src/filesystem/vfs/file.rs
/DragonOS/kernel/src/init/boot.rs
/DragonOS/kernel/src/init/cmdline.rs
/DragonOS/kernel/src/ipc/signal_types.rs
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/libs/casting.rs
/DragonOS/kernel/src/libs/cpumask.rs
/DragonOS/kernel/src/libs/futex/futex.rs
/DragonOS/kernel/src/libs/lib_ui/screen_manager.rs
/DragonOS/kernel/src/libs/lib_ui/textui.rs
/DragonOS/kernel/src/libs/rbtree.rs
/DragonOS/kernel/src/libs/rwlock.rs
/DragonOS/kernel/src/libs/volatile.rs
/DragonOS/kernel/src/mm/memblock.rs
/DragonOS/kernel/src/perf/bpf.rs
/DragonOS/kernel/src/perf/util.rs
/DragonOS/kernel/src/process/exit.rs
/DragonOS/kernel/src/process/syscall.rs
/DragonOS/kernel/src/syscall/misc.rs
/DragonOS/kernel/src/syscall/user_access.rs
/DragonOS/tools/BUILD_CONTAINER_VERSION
/DragonOS/tools/Makefile
/DragonOS/tools/bootstrap.sh
/DragonOS/tools/debugging/logmonitor/src/app.rs
/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_ebpf/Makefile
/DragonOS/user/apps/test_ebpf/syscall_ebpf/syscall_ebpf-ebpf/rust-toolchain.toml
/DragonOS/user/apps/test_namespace/Makefile
/DragonOS/user/apps/test_namespace/makefile.toml
/DragonOS/user/apps/test_socket/Makefile
/DragonOS/user/apps/test_statx/Makefile
/DragonOS/user/apps/test_tokio/Makefile
/DragonOS/user/apps/user-manage/Makefile
/DragonOS/user/dadk/config/dog_0_1_0.dadk
/DragonOS/user/dadk/config/dragon_reach-0.1.0.dadk
20c5810111-Nov-2024 LoGin <longjin@DragonOS.org>

fix: do_signal函数在处理SIG_KILL时,有一处pcb强引用未归零的问题 (#1039)

Signed-off-by: longjin <longjin@DragonOS.org>

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/crates/ida/src/lib.rs
/DragonOS/kernel/src/arch/riscv64/process/mod.rs
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/net/virtio_net.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
a9e28e9c26-Oct-2024 LoGin <longjin@DragonOS.org>

fix: 临时修复键盘驱动与鼠标驱动冲突导致键盘无响应 (#1014)

暂时通过条件编译的方式解决. 目前认为是鼠标驱动问题,没有正确判断是不是自己的数据...
但是因为我们场景下,鼠标驱动几乎用不到,因此先条件编译屏蔽.

Signed-off-by: longjin <longjin@DragonOS.org>

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/makefile.yml
/DragonOS/.github/workflows/publish-dragonos-docker-image.yml
/DragonOS/docs/Makefile
/DragonOS/docs/community/code_contribution/index.rst
/DragonOS/docs/community/contact/index.rst
/DragonOS/docs/index.rst
/DragonOS/docs/kernel/boot/cmdline.md
/DragonOS/docs/kernel/boot/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/kernel/Cargo.toml
/DragonOS/kernel/Makefile
/DragonOS/kernel/crates/kcmdline_macros/Cargo.toml
/DragonOS/kernel/crates/kcmdline_macros/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/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
interrupt/mod.rs
interrupt/trap.rs
kprobe.rs
mod.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/string.h
/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/base/cpu.rs
/DragonOS/kernel/src/driver/base/init.rs
/DragonOS/kernel/src/driver/serial/serial8250/serial8250_pio.rs
/DragonOS/kernel/src/driver/tty/termios.rs
/DragonOS/kernel/src/driver/tty/tty_core.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/exception/debug.rs
/DragonOS/kernel/src/exception/ebreak.rs
/DragonOS/kernel/src/exception/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/lib.rs
/DragonOS/kernel/src/libs/lib_ui/textui.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/ucontext.rs
/DragonOS/kernel/src/net/event_poll/mod.rs
/DragonOS/kernel/src/net/net_core.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/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/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_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_symlink_0_1_0.dadk
415e46ea09-Oct-2024 LoGin <longjin@DragonOS.org>

build: Remove DragonOS_GCC And make CI use docker image (#954)

* build: 不再需要x86_64-elf-gcc的支持
* ci: 添加ci用的docker镜像
* 切换workflow到构建用的容器上

---------

Signed-off-by: longjin <longjin@DragonOS.org>

59a6bcf609-Oct-2024 LoGin <longjin@DragonOS.org>

feat: Add HVM boot support for x86_64 (#953)

Signed-off-by: longjin <longjin@DragonOS.org>

d031d46f01-Oct-2024 LoGin <longjin@DragonOS.org>

feat: 添加serial console,支持non-graphic启动 (#947)

Signed-off-by: longjin <longjin@dragonos.org>


/DragonOS/.github/workflows/docs-multiversion.yml
/DragonOS/.github/workflows/docs.yml
/DragonOS/Makefile
/DragonOS/docs/Makefile
/DragonOS/docs/_templates/footer.html
/DragonOS/docs/_templates/versions.html
/DragonOS/docs/conf.py
/DragonOS/docs/introduction/build_system.md
/DragonOS/docs/kernel/libs/id-allocation.md
/DragonOS/docs/kernel/libs/index.rst
/DragonOS/docs/requirements.txt
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/crates/ida/Cargo.toml
/DragonOS/kernel/crates/ida/README.md
/DragonOS/kernel/crates/ida/src/lib.rs
/DragonOS/kernel/crates/kdepends/Cargo.toml
/DragonOS/kernel/crates/kdepends/src/lib.rs
driver/apic/ioapic.rs
interrupt/entry.rs
/DragonOS/kernel/src/debug/klog/mm.rs
/DragonOS/kernel/src/driver/base/platform/platform_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/virtio/sysfs.rs
/DragonOS/kernel/src/exception/manage.rs
/DragonOS/kernel/src/filesystem/devpts/mod.rs
/DragonOS/kernel/src/filesystem/eventfd.rs
/DragonOS/kernel/src/filesystem/vfs/file.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/textui.rs
/DragonOS/kernel/src/libs/printk.rs
/DragonOS/kernel/src/mm/ucontext.rs
/DragonOS/kernel/src/net/socket/handle.rs
/DragonOS/kernel/src/process/stdio.rs
/DragonOS/tools/run-qemu.sh
/DragonOS/user/dadk/config/nova_shell-0.1.0.dadk
28fe4ad211-Sep-2024 黄铭涛 <114841534+1037827920@users.noreply.github.com>

feat(driver/net): 将网络设备注册到sysfs, 添加设备类属性文件 (#919)


driver/rtc.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/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/serial8250/mod.rs
/DragonOS/kernel/src/driver/tty/tty_device.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/vesafb.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/virtio.rs
/DragonOS/kernel/src/mm/page.rs
/DragonOS/kernel/src/mm/ucontext.rs
/DragonOS/kernel/src/net/net_core.rs
db7c782a06-Sep-2024 LoGin <longjin@DragonOS.org>

feat: 允许通过multiboot引导(直到acpi初始化报错) (#914)

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/kernel/Cargo.toml
/DragonOS/kernel/src/arch/riscv64/mm/mod.rs
kvm/vmx/ept.rs
kvm/vmx/mmu.rs
mm/fault.rs
mm/mod.rs
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/video/mod.rs
/DragonOS/kernel/src/driver/virtio/irq.rs
/DragonOS/kernel/src/driver/virtio/virtio_impl.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/init/initial_kthread.rs
/DragonOS/kernel/src/ipc/shm.rs
/DragonOS/kernel/src/ipc/syscall.rs
/DragonOS/kernel/src/libs/mod.rs
/DragonOS/kernel/src/libs/name.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/sched/mod.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/virt/kvm/host_mem.rs
/DragonOS/user/apps/test_filemap/.gitignore
/DragonOS/user/apps/test_filemap/Makefile
/DragonOS/user/apps/test_filemap/main.c
/DragonOS/user/dadk/config/test_filemap-0.1.0.dadk
dc9b4fea27-Aug-2024 LoGin <longjin@DragonOS.org>

fix: pipe 读取/写入阻塞时,无法kill进程的问题 (#889)

703ce5a727-Jul-2024 LoGin <longjin@DragonOS.org>

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

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

816ee5ae25-Jul-2024 LoGin <longjin@DragonOS.org>

refactor: 删除过时的va-pa转换函数,改为统一使用MMArch (#862)

bd70d2d124-Jul-2024 LoGin <longjin@DragonOS.org>

chore: 将工具链更新到2024-07-23 (#864)

* chore: 将工具链更新到2024-07-23


/DragonOS/.github/workflows/cache-toolchain.yml
/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/rust-toolchain.toml
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/arch/io.rs
driver/apic/apic_timer.rs
driver/apic/lapic_vector.rs
init/mod.rs
interrupt/entry.rs
interrupt/msi.rs
ipc/signal.rs
kvm/vmx/vcpu.rs
kvm/vmx/vmx_asm_wrapper.rs
mod.rs
process/kthread.rs
process/table.rs
smp/mod.rs
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/disk/ahci/ahcidisk.rs
/DragonOS/kernel/src/driver/disk/ahci/hba.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/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_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/fat/entry.rs
/DragonOS/kernel/src/filesystem/fat/fs.rs
/DragonOS/kernel/src/filesystem/mbr.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/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/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/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/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/sched/completion.rs
/DragonOS/kernel/src/sched/fair.rs
/DragonOS/kernel/src/sched/mod.rs
/DragonOS/kernel/src/time/clocksource.rs
/DragonOS/kernel/src/time/mod.rs
/DragonOS/kernel/src/time/timekeeping.rs
/DragonOS/kernel/src/virt/kvm/vcpu.rs
/DragonOS/kernel/src/virt/kvm/vm.rs
/DragonOS/tools/Makefile
/DragonOS/tools/bootstrap.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_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/user-manage/Makefile
/DragonOS/user/dadk/config/test_lo_0_1_0.dadk
af097f9f16-Jul-2024 黄铭涛 <114841534+1037827920@users.noreply.github.com>

fix(time): modify update wall time (#836)

更改了时间子系统的update_wall_time函数,通过读取当前周期数,计算delta值进行更新,而不是通过传入delta值进行更新

6f189d2727-Jun-2024 linfeng <chenlinfeng25@outlook.com>

feat(time): Add syscall support for utime* (#838)

* feat(vfs): Add syscall support for utime*

impl sys_utimensat
impl sys_utimes
add utimensat test
fix some warning

* fix(vfs): Verify point

feat(time): Add syscall support for utime* (#838)

* feat(vfs): Add syscall support for utime*

impl sys_utimensat
impl sys_utimes
add utimensat test
fix some warning

* fix(vfs): Verify pointer validity

* fix: remove bad cfg

show more ...


pci/pci.rs
/DragonOS/kernel/src/driver/tty/tty_device.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/open.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
/DragonOS/kernel/src/net/event_poll/mod.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/time/mod.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/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
de199e3c28-May-2024 MemoryShore <105195940+MemoryShore@users.noreply.github.com>

feat(mm): 修复mmap未延迟分配内存的问题 (#837)

* 20240524 3:40

* 20240527 0010

* 修复mmap未延迟分配内存的问题

* Revert "Merge branch 'patch-add-file-mapping' into patch-fix-mmap"

This reverts commit 8eb687c60b43

feat(mm): 修复mmap未延迟分配内存的问题 (#837)

* 20240524 3:40

* 20240527 0010

* 修复mmap未延迟分配内存的问题

* Revert "Merge branch 'patch-add-file-mapping' into patch-fix-mmap"

This reverts commit 8eb687c60b43831d7e9614bca0af41e8f2175ae8, reversing
changes made to 33e9f0b34f9dc35a47757137a29605e51052a26e.

show more ...

bde08cde16-May-2024 Mingtao Huang <114841534+1037827920@users.noreply.github.com>

feat(driver/pci): 完善pci root结构体,增加portio的pci配置空间访问 (#818)

* feat(driver/pci): 完善pci root结构体,增加portio的pci配置空间访问

2eab6dd716-May-2024 曾俊 <110876916+ZZJJWarth@users.noreply.github.com>

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


/DragonOS/docs/kernel/locking/mutex.md
/DragonOS/docs/kernel/locking/spinlock.md
/DragonOS/kernel/crates/unified-init/src/lib.rs
/DragonOS/kernel/src/arch/riscv64/driver/of.rs
/DragonOS/kernel/src/arch/riscv64/init/mod.rs
/DragonOS/kernel/src/arch/riscv64/interrupt/handle.rs
/DragonOS/kernel/src/arch/riscv64/ipc/signal.rs
/DragonOS/kernel/src/arch/riscv64/mm/init.rs
/DragonOS/kernel/src/arch/riscv64/pci/pci_host_ecam.rs
/DragonOS/kernel/src/arch/riscv64/process/idle.rs
/DragonOS/kernel/src/arch/riscv64/process/mod.rs
/DragonOS/kernel/src/arch/riscv64/process/syscall.rs
/DragonOS/kernel/src/arch/riscv64/smp/mod.rs
/DragonOS/kernel/src/arch/riscv64/syscall/mod.rs
/DragonOS/kernel/src/arch/riscv64/time.rs
acpi.rs
driver/apic/apic_timer.rs
driver/apic/ioapic.rs
driver/apic/lapic_vector.rs
driver/apic/mod.rs
driver/apic/x2apic.rs
driver/apic/xapic.rs
driver/hpet.rs
driver/rtc.rs
driver/tsc.rs
init/mod.rs
interrupt/ipi.rs
interrupt/mod.rs
interrupt/trap.rs
ipc/signal.rs
kvm/mod.rs
kvm/vmx/mmu.rs
kvm/vmx/vcpu.rs
kvm/vmx/vmexit.rs
kvm/vmx/vmx_asm_wrapper.rs
mm/fault.rs
mm/mod.rs
pci/pci.rs
process/idle.rs
process/mod.rs
process/syscall.rs
smp/mod.rs
syscall/mod.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/ecam.rs
/DragonOS/kernel/src/driver/pci/pci.rs
/DragonOS/kernel/src/driver/pci/pci_irq.rs
/DragonOS/kernel/src/driver/pci/root.rs
/DragonOS/kernel/src/driver/pci/subsys.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
236e88d513-May-2024 LoGin <longjin@DragonOS.org>

fix(driver/apic_timer): 修复local apic timer初始化顺序导致的在某些云服务器上无法收到中断的bug (#815)

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/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
/DragonOS/kernel/src/arch/riscv64/asm/bitops.rs
/DragonOS/kernel/src/arch/riscv64/driver/of.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/mm/mod.rs
driver/apic/lapic_vector.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/user/apps/test-backlog/Makefile

123456