History log of /DragonOS/kernel/src/ (Results 26 – 50 of 367)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
db7c782a06-Sep-2024 LoGin <longjin@DragonOS.org>

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

886ce28506-Sep-2024 曾俊 <110876916+ZZJJWarth@users.noreply.github.com>

fix(virtio):修复了特定virtio设备环境下中断号重复错误,以及开机内核panic的bug (#881)

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 ...

9fa0e95e02-Sep-2024 LoGin <longjin@DragonOS.org>

feat: 添加gendisk抽象 (#903)

* feat: 添加gendisk抽象.

* 支持使用virtio磁盘作为根文件系统

* Update initial_kthread.rs to resolve conflict.

---------

Co-authored-by: Donkey Kane <109840258+xiaolin2004@users.no

feat: 添加gendisk抽象 (#903)

* feat: 添加gendisk抽象.

* 支持使用virtio磁盘作为根文件系统

* Update initial_kthread.rs to resolve conflict.

---------

Co-authored-by: Donkey Kane <109840258+xiaolin2004@users.noreply.github.com>

show more ...

232570ae29-Aug-2024 LoGin <longjin@DragonOS.org>

fix: 修复存在多个virtio设备时,中断号冲突的问题 (#904)

dc9b4fea27-Aug-2024 LoGin <longjin@DragonOS.org>

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

4afc5b7b19-Aug-2024 linfeng <1925466036@qq.com>

feat: 增加tokio异步运行时支持 (#894)

* fix the EventFdFlags error

* feat: support tokio (Single thread version)

Fix deadlock issue on closing file.
Add function for PipeInode and EventFdInode.

09836e1b15-Aug-2024 Samuel Dai <dailvchen@dragonos.org>

fix: socket shutdown wrong implement (#893)

f4acaec414-Aug-2024 MemoryShore <105195940+MemoryShore@users.noreply.github.com>

修复unlink、unlinkat系统调用的路径错误 (#892)

a1fc824f06-Aug-2024 LoGin <longjin@DragonOS.org>

fix: 修复键盘码解析器没能正确处理类似ctrl C的控制字符的问题 (#877)

* fix: 修复键盘码解析器没能正确处理类似ctrl C的控制字符的问题

* fix: 解决ntty潜在的panic问题

0648a54702-Aug-2024 Jomo <xuzihao@dragonos.org>

feat(cred): 初步实现Cred (#846)

* 初步实现Cred

* 添加seteuid和setegid

* 添加cred测试程序

* 修改Cred::fscmp返回结果为CredFsCmp枚举

* 完善root用户相关信息

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)

86ee139525-Jul-2024 linfeng <1925466036@qq.com>

feat(fs): add eventfd syscall support (#858)

* feat(fs): add eventfd syscall support

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

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

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


/DragonOS/.github/workflows/cache-toolchain.yml
/DragonOS/build-scripts/Makefile
/DragonOS/build-scripts/kernel_build/src/lib.rs
/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
Makefile
arch/io.rs
arch/x86_64/driver/apic/apic_timer.rs
arch/x86_64/driver/apic/lapic_vector.rs
arch/x86_64/init/mod.rs
arch/x86_64/interrupt/entry.rs
arch/x86_64/interrupt/msi.rs
arch/x86_64/ipc/signal.rs
arch/x86_64/kvm/vmx/vcpu.rs
arch/x86_64/kvm/vmx/vmx_asm_wrapper.rs
arch/x86_64/mod.rs
arch/x86_64/process/kthread.rs
arch/x86_64/process/table.rs
arch/x86_64/smp/mod.rs
arch/x86_64/x86_64-unknown-none.json
driver/acpi/bus.rs
driver/base/device/bus.rs
driver/base/device/dd.rs
driver/base/device/driver.rs
driver/base/device/mod.rs
driver/base/platform/platform_device.rs
driver/base/platform/platform_driver.rs
driver/block/cache/cached_block_device.rs
driver/disk/ahci/ahcidisk.rs
driver/disk/ahci/hba.rs
driver/firmware/efi/init.rs
driver/input/ps2_dev/ps2_device.rs
driver/input/ps2_mouse/ps_mouse_device.rs
driver/input/serio/i8042/mod.rs
driver/input/serio/serio_device.rs
driver/input/serio/serio_driver.rs
driver/net/e1000e/e1000e.rs
driver/net/loopback.rs
driver/net/mod.rs
driver/open_firmware/fdt.rs
driver/pci/driver.rs
driver/rtc/mod.rs
driver/serial/mod.rs
driver/serial/serial8250/mod.rs
driver/serial/serial8250/serial8250_pio.rs
driver/tty/console.rs
driver/tty/tty_core.rs
driver/tty/tty_ldisc/ntty.rs
driver/tty/virtual_terminal/virtual_console.rs
driver/video/fbdev/base/fbcon/mod.rs
driver/video/fbdev/base/mod.rs
driver/virtio/mod.rs
exception/irqchip.rs
exception/irqdomain.rs
exception/msi.rs
filesystem/fat/entry.rs
filesystem/fat/fs.rs
filesystem/mbr.rs
filesystem/procfs/syscall.rs
filesystem/ramfs/mod.rs
filesystem/sysfs/group.rs
filesystem/vfs/mount.rs
filesystem/vfs/syscall.rs
filesystem/vfs/utils.rs
init/mod.rs
ipc/signal_types.rs
lib.rs
libs/font/mod.rs
libs/ida/src/lib.rs
libs/lib_ui/screen_manager.rs
libs/lib_ui/textui.rs
libs/lib_ui/textui_no_alloc.rs
libs/mod.rs
libs/rwlock.rs
mm/allocator/kernel_allocator.rs
mm/mmio_buddy.rs
mm/mod.rs
mm/ucontext.rs
net/net_core.rs
net/socket/inet.rs
process/exec.rs
process/exit.rs
process/fork.rs
process/mod.rs
sched/completion.rs
sched/fair.rs
sched/mod.rs
time/clocksource.rs
time/mod.rs
time/timekeeping.rs
virt/kvm/vcpu.rs
virt/kvm/vm.rs
/DragonOS/tools/Makefile
/DragonOS/tools/bootstrap.sh
/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_socket/Makefile
/DragonOS/user/apps/test_statx/Makefile
/DragonOS/user/apps/user-manage/Makefile
634349e024-Jul-2024 LoGin <longjin@DragonOS.org>

fix: tcp poll没有正确处理posix socket的listen状态的问题 (#859)

1ea2daad22-Jul-2024 SMALLC <121806694+smallcjy@users.noreply.github.com>

feat(driver/net): 实现Loopback网卡接口 (#845)

* 初步实现loopback设备

af097f9f16-Jul-2024 黄铭涛 <114841534+1037827920@users.noreply.github.com>

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

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

38458c7216-Jul-2024 MemoryShore <105195940+MemoryShore@users.noreply.github.com>

修复mprotect系统调用未正确设置vm_flags的错误 (#847)

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 ...


arch/x86_64/pci/pci.rs
filesystem/fat/fs.rs
filesystem/vfs/open.rs
filesystem/vfs/syscall.rs
syscall/mod.rs
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
415e14e931-May-2024 laokengwt <143977175+laokengwt@users.noreply.github.com>

fix(driver): fix memory security problem in tty device ioctl (#833)

* add soft link to musl-gcc

* fix the tty_ioctl

* modified

* modified

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 ...

3d4cd85328-May-2024 donjuanplatinum <113148619+donjuanplatinum@users.noreply.github.com>

feat(procfs): update procfs (#831)

为procfs增加是否是kthread的显示
增加返回进程已经占用的文件描述符数量

975f77a319-May-2024 BrahmaMantra <140599389+BrahmaMantra@users.noreply.github.com>

fix(time):修复了issue #816 (#830)

12345678910>>...15