History log of /DragonOS/kernel/src/libs/ (Results 26 – 50 of 128)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
6fc066ac07-Apr-2024 Jomo <2512364506@qq.com>

实现SystemV共享内存 (#690)

* 实现SystemV共享内存

* 测试shm

* 添加测试程序

* 完善细节

* 修正shm的时间数据错误的问题

* fix: devfs的metadata权限为0x777的错误

---------

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


/DragonOS/kernel/src/arch/x86_64/mm/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/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/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/virtio/virtio_impl.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/mod.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.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
futex/futex.rs
futex/syscall.rs
printk.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/resource.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/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-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_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_shm-0.1.0.dadk
06560afa06-Apr-2024 hmt <114841534+1037827920@users.noreply.github.com>

Patch feat robust futex (#682)

* feat: 实现robust lock机制

* 前面更改vscode,修改回来

* 修改dadk的路径

* 提交.gitnore和.cargo,删除LICENSE,修改README

* 修改一个warn

* 删除.rustc_info.json

* 删除target文件夹

* 恢复Dra

Patch feat robust futex (#682)

* feat: 实现robust lock机制

* 前面更改vscode,修改回来

* 修改dadk的路径

* 提交.gitnore和.cargo,删除LICENSE,修改README

* 修改一个warn

* 删除.rustc_info.json

* 删除target文件夹

* 恢复DragonOS的LICENSE,删除Cargo.lock

* 将校验用户空间地址的代码写入函数内;将部分match分支用ok_or代替

* 修改wakeup函数获取running queue时unwrap一个None值发生panic

* 测试程序使用syscalls库进行系统调用

show more ...

f0c87a8905-Apr-2024 GnoCiYeH <heyicong@dragonos.org>

重写调度模块 (#679)

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

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

重写调度模块 (#679)

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

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

show more ...


/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/src/arch/riscv64/interrupt/entry.rs
/DragonOS/kernel/src/arch/riscv64/interrupt/mod.rs
/DragonOS/kernel/src/arch/riscv64/process/kthread.rs
/DragonOS/kernel/src/arch/riscv64/process/mod.rs
/DragonOS/kernel/src/arch/x86_64/driver/apic/apic_timer.rs
/DragonOS/kernel/src/arch/x86_64/driver/apic/x2apic.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/handle.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/ipi.rs
/DragonOS/kernel/src/arch/x86_64/ipc/signal.rs
/DragonOS/kernel/src/arch/x86_64/process/idle.rs
/DragonOS/kernel/src/arch/x86_64/process/mod.rs
/DragonOS/kernel/src/arch/x86_64/sched.rs
/DragonOS/kernel/src/driver/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
futex/futex.rs
mutex.rs
rbtree.rs
spinlock.rs
wait_queue.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
dfe53cf004-Apr-2024 GnoCiYeH <heyicong@dragonos.org>

实现pty,附带测试程序 (#685)

* 实现pty,附带测试程序

* fmt ** clippy

* 将file层的锁粒度缩小,从而不使用no_preempt。更改pipe在sleep部分的bug

* 修复拼写错误


/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
lib_ui/textui.rs
printk.rs
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>

9430523b04-Apr-2024 yuyi2439 <68320855+yuyi2439@users.noreply.github.com>

使nproc可以正确获取到cpu核心数 (#689)


/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/crates/driver_base_macros/Cargo.toml
/DragonOS/kernel/crates/driver_base_macros/src/lib.rs
/DragonOS/kernel/src/arch/riscv64/cpu.rs
/DragonOS/kernel/src/arch/riscv64/interrupt/mod.rs
/DragonOS/kernel/src/arch/riscv64/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/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/input/serio/i8042/i8042_device.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/vesafb.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
cpumask.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/smp/mod.rs
/DragonOS/kernel/src/smp/syscall.rs
/DragonOS/kernel/src/syscall/misc.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/time/mod.rs
/DragonOS/kernel/src/time/timekeep.rs
/DragonOS/kernel/src/time/timekeeping.rs
/DragonOS/user/Makefile
/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/test_fstatfs_0_1_0.dadk
/DragonOS/user/dadk/config/test_statfs_0_1_0.dadk
2755467c25-Mar-2024 曾俊 <110876916+ZZJJWarth@users.noreply.github.com>

支持绘制24位深和16位深显示缓冲区 (#640)

* 修复了初始化时显示,边界条件的一个bug

* 解决了内存未初始前字体显示的兼容性问题
* 支持绘制24位深和16位深显示缓冲区


/DragonOS/.github/ISSUE_TEMPLATE/bug_report.md
/DragonOS/env.mk
/DragonOS/kernel/Makefile
/DragonOS/kernel/env.mk
/DragonOS/kernel/src/arch/riscv64/init/mod.rs
/DragonOS/kernel/src/arch/riscv64/process/mod.rs
/DragonOS/kernel/src/arch/riscv64/smp/mod.rs
/DragonOS/kernel/src/arch/riscv64/syscall/mod.rs
/DragonOS/kernel/src/arch/x86_64/process/mod.rs
/DragonOS/kernel/src/driver/base/cpu.rs
/DragonOS/kernel/src/driver/base/device/mod.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/serial/serial8250/mod.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/filesystem/fat/entry.rs
/DragonOS/kernel/src/filesystem/vfs/file.rs
/DragonOS/kernel/src/filesystem/vfs/open.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
/DragonOS/kernel/src/lib.rs
lib_ui/font/mod.rs
lib_ui/screen_manager.rs
lib_ui/textui.rs
lib_ui/textui_no_alloc.rs
/DragonOS/kernel/src/net/mod.rs
/DragonOS/kernel/src/net/net_core.rs
/DragonOS/kernel/src/net/socket/inet.rs
/DragonOS/kernel/src/net/socket/mod.rs
/DragonOS/kernel/src/net/socket/unix.rs
/DragonOS/kernel/src/net/syscall.rs
/DragonOS/kernel/src/process/idle.rs
/DragonOS/kernel/src/process/mod.rs
/DragonOS/kernel/src/time/syscall.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_socket/.gitignore
/DragonOS/user/apps/test_socket/Cargo.toml
/DragonOS/user/apps/test_socket/Makefile
/DragonOS/user/apps/test_socket/src/main.rs
/DragonOS/user/apps/test_socket/src/test_unix_stream.rs
/DragonOS/user/apps/test_socket/src/test_unix_stream_pair.rs
/DragonOS/user/dadk/config/dog_0_1_0.dadk
/DragonOS/user/dadk/config/test_socket-0.1.0.dadk
/DragonOS/user/sysconfig/etc/reach/system/shell.service
/DragonOS/user/sysconfig/etc/resolv.conf
b5b571e022-Mar-2024 LoGin <longjin@DragonOS.org>

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

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

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

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

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

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

show more ...


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

重写SMP模块 (#633)

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

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

* 初始化ap core

* 修改percpu

* 删除无用的cpu.c

* riscv64编译通过


/DragonOS/.gitignore
/DragonOS/.vscode/settings.json
/DragonOS/docs/community/ChangeLog/V0.1.x/V0.1.9.md
/DragonOS/docs/community/ChangeLog/index.rst
/DragonOS/docs/kernel/locking/locks.md
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/arch/riscv64/smp/mod.rs
/DragonOS/kernel/src/arch/riscv64/time.rs
/DragonOS/kernel/src/arch/x86_64/asm/apu_boot.S
/DragonOS/kernel/src/arch/x86_64/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/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/keyboard/ps2_keyboard.rs
/DragonOS/kernel/src/driver/tty/virtual_terminal/mod.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/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
cpumask.rs
wait_queue.rs
/DragonOS/kernel/src/mm/mod.rs
/DragonOS/kernel/src/mm/percpu.rs
/DragonOS/kernel/src/process/idle.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/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/mod.rs
/DragonOS/kernel/src/syscall/syscall_num.h
/DragonOS/kernel/src/syscall/user_access.rs
/DragonOS/kernel/src/time/mod.rs
/DragonOS/kernel/src/time/sleep.rs
/DragonOS/kernel/src/time/timer.rs
/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/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
59fdb44712-Mar-2024 LoGin <longjin@DragonOS.org>

fix: 键盘中断上下文不再直接操作tty,而是由专门的kthread来渲染 (#592)

fix: 键盘中断上下文不再直接操作tty,而是由专门的kthread来渲染
1.修正psmouse 日志
2. 键盘中断上下文不再直接操作tty,而是由专门的kthread来渲染
3. 由于调度器设计问题,load balance会由于时序问题导致错误.因此暂时只启用单核.

52bcb59e11-Mar-2024 GnoCiYeH <heyicong@dragonos.org>

完善Tty的RawMode (#577)

* 完善rowmode,改掉一部分bug

* 增加两个ansi拓展功能功能,以及标记部分函数nerve inline

* 修改do_signal和其他中断上下文锁未关中断,以及拓展tty功能,修改tty几个算法bug

* 修改两个锁

* 修改syscall_64

* update

840045af10-Mar-2024 LoGin <longjin@DragonOS.org>

引入clippy,并根据clippy的提示,修改部分代码 (#575)

5c4224e508-Mar-2024 LoGin <longjin@DragonOS.org>

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

c3dc6f2f08-Mar-2024 LoGin <longjin@DragonOS.org>

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

* 删除C版本的crc库

* 删除lockref

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

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

* 移除未用到的lz4库

* 删除内核的stdlib.c

* 删除fabs.c

* fmt

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

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

* 删除C版本的crc库

* 删除lockref

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

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

* 移除未用到的lz4库

* 删除内核的stdlib.c

* 删除fabs.c

* fmt

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

---------

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

show more ...

338f690305-Mar-2024 LoGin <longjin@DragonOS.org>

`riscv`: 初始化irq (#560)

完成riscv的irqchip初始化的代码。

这是该功能的第一个PR。由于还需要实现timer驱动才能测试,因此该功能将会通过2~3个PR来完成。


/DragonOS/.github/workflows/makefile.yml
/DragonOS/.gitignore
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/src/arch/riscv64/cpu.rs
/DragonOS/kernel/src/arch/riscv64/init/mod.rs
/DragonOS/kernel/src/arch/riscv64/interrupt/mod.rs
/DragonOS/kernel/src/arch/x86_64/cpu.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/handle.rs
/DragonOS/kernel/src/driver/base/init.rs
/DragonOS/kernel/src/driver/irqchip/mod.rs
/DragonOS/kernel/src/driver/irqchip/riscv_intc.rs
/DragonOS/kernel/src/driver/mod.rs
/DragonOS/kernel/src/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/init/init.rs
lib_ui/screen_manager.rs
lib_ui/textui.rs
/DragonOS/kernel/src/mm/percpu.rs
/DragonOS/kernel/src/smp/cpu/mod.rs
/DragonOS/kernel/src/smp/mod.rs
/DragonOS/tools/write_disk_image.sh
/DragonOS/user/.gitignore
/DragonOS/user/Makefile
/DragonOS/user/apps/Makefile
/DragonOS/user/apps/about/.gitignore
/DragonOS/user/apps/about/Makefile
/DragonOS/user/apps/about/about.c
/DragonOS/user/apps/dmesg/Makefile
/DragonOS/user/apps/dmesg/dmesg.c
/DragonOS/user/apps/dmesg/dmesg.h
/DragonOS/user/apps/dmesg/main.c
/DragonOS/user/apps/http_server/.gitignore
/DragonOS/user/apps/http_server/Makefile
/DragonOS/user/apps/test_bind/.gitignore
/DragonOS/user/apps/test_bind/Makefile
/DragonOS/user/apps/test_bind/main.c
/DragonOS/user/apps/test_fstat/.gitignore
/DragonOS/user/apps/test_fstat/Makefile
/DragonOS/user/apps/test_fstat/main.c
/DragonOS/user/apps/test_gettimeofday/.gitignore
/DragonOS/user/apps/test_gettimeofday/Makefile
/DragonOS/user/apps/test_kvm/.gitignore
/DragonOS/user/apps/test_kvm/Makefile
/DragonOS/user/apps/test_kvm/main.c
/DragonOS/user/apps/test_mkfifo/.gitignore
/DragonOS/user/apps/test_mkfifo/Makefile
/DragonOS/user/apps/test_mkfifo/main.c
/DragonOS/user/apps/test_signal/.gitignore
/DragonOS/user/apps/test_signal/Makefile
/DragonOS/user/apps/test_signal/main.c
/DragonOS/user/apps/test_sqlite3/.gitignore
/DragonOS/user/apps/test_sqlite3/Makefile
/DragonOS/user/apps/test_uart/Makefile
/DragonOS/user/apps/test_uart/main.c
/DragonOS/user/dadk/config/about.dadk
/DragonOS/user/dadk/config/dmesg-0.1.0.dadk
/DragonOS/user/dadk/config/http_server-0.1.0.dadk
/DragonOS/user/dadk/config/musl_1_2_4.dadk
/DragonOS/user/dadk/config/test_bind-0.1.0.dadk
/DragonOS/user/dadk/config/test_fstat-0.1.0.dadk
/DragonOS/user/dadk/config/test_gettimeofday-0.1.0.dadk
/DragonOS/user/dadk/config/test_kvm_0_1_0.dadk
/DragonOS/user/dadk/config/test_mkfifo-0.1.0.dadk
/DragonOS/user/dadk/config/test_signal-0.1.0.dadk
/DragonOS/user/dadk/config/test_sqlite3-3.42.0.dadk
/DragonOS/user/dadk/config/test_uart-0.1.0.dadk
f3b05a9704-Mar-2024 GnoCiYeH <heyicong@dragonos.org>

将tty输出接入串口 (#555)

e284117903-Mar-2024 LoGin <longjin@DragonOS.org>

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

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

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

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

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

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

show more ...


/DragonOS/.vscode/settings.json
/DragonOS/build-scripts/kernel_build/src/cfiles/arch/x86_64.rs
/DragonOS/docs/kernel/core_api/softirq.md
/DragonOS/kernel/crates/bitmap/src/alloc_bitmap.rs
/DragonOS/kernel/src/Makefile
/DragonOS/kernel/src/arch/riscv64/cpu.rs
/DragonOS/kernel/src/arch/x86_64/acpi.rs
/DragonOS/kernel/src/arch/x86_64/c_adapter.rs
/DragonOS/kernel/src/arch/x86_64/cpu.rs
/DragonOS/kernel/src/arch/x86_64/driver/apic/apic_timer.rs
/DragonOS/kernel/src/arch/x86_64/driver/apic/c_adapter.rs
/DragonOS/kernel/src/arch/x86_64/driver/apic/hw_irq.rs
/DragonOS/kernel/src/arch/x86_64/driver/apic/ioapic.rs
/DragonOS/kernel/src/arch/x86_64/driver/apic/lapic_vector.rs
/DragonOS/kernel/src/arch/x86_64/driver/apic/mod.rs
/DragonOS/kernel/src/arch/x86_64/driver/apic/x2apic.rs
/DragonOS/kernel/src/arch/x86_64/driver/apic/xapic.rs
/DragonOS/kernel/src/arch/x86_64/driver/hpet.rs
/DragonOS/kernel/src/arch/x86_64/driver/mod.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/c_adapter.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/entry.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/handle.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/ipi.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/mod.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/msi.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/trap.rs
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/ept.rs
/DragonOS/kernel/src/arch/x86_64/process/table.rs
/DragonOS/kernel/src/arch/x86_64/sched.rs
/DragonOS/kernel/src/arch/x86_64/smp/mod.rs
/DragonOS/kernel/src/driver/Makefile
/DragonOS/kernel/src/driver/base/device/driver.rs
/DragonOS/kernel/src/driver/base/device/mod.rs
/DragonOS/kernel/src/driver/input/ps2_dev/mod.rs
/DragonOS/kernel/src/driver/input/ps2_mouse/ps_mouse_device.rs
/DragonOS/kernel/src/driver/input/ps2_mouse/ps_mouse_driver.rs
/DragonOS/kernel/src/driver/keyboard/mod.rs
/DragonOS/kernel/src/driver/keyboard/ps2_keyboard.rs
/DragonOS/kernel/src/driver/net/e1000e/e1000e.rs
/DragonOS/kernel/src/driver/net/irq_handle.rs
/DragonOS/kernel/src/driver/net/mod.rs
/DragonOS/kernel/src/driver/net/virtio_net.rs
/DragonOS/kernel/src/driver/pci/pci.rs
/DragonOS/kernel/src/driver/pci/pci_irq.rs
/DragonOS/kernel/src/driver/virtio/irq.rs
/DragonOS/kernel/src/driver/virtio/mod.rs
/DragonOS/kernel/src/driver/virtio/transport_pci.rs
/DragonOS/kernel/src/driver/virtio/virtio.rs
/DragonOS/kernel/src/exception/dummychip.rs
/DragonOS/kernel/src/exception/handle.rs
/DragonOS/kernel/src/exception/init.rs
/DragonOS/kernel/src/exception/ipi.rs
/DragonOS/kernel/src/exception/irqchip.rs
/DragonOS/kernel/src/exception/irqdata.rs
/DragonOS/kernel/src/exception/irqdesc.rs
/DragonOS/kernel/src/exception/irqdomain.rs
/DragonOS/kernel/src/exception/manage.rs
/DragonOS/kernel/src/exception/mod.rs
/DragonOS/kernel/src/exception/msi.rs
/DragonOS/kernel/src/exception/resend.rs
/DragonOS/kernel/src/exception/softirq.rs
/DragonOS/kernel/src/exception/sysfs.rs
/DragonOS/kernel/src/filesystem/procfs/mod.rs
/DragonOS/kernel/src/include/bindings/wrapper.h
cpumask.rs
int_like.rs
lib_ui/textui.rs
wait_queue.rs
/DragonOS/kernel/src/mm/kernel_mapper.rs
/DragonOS/kernel/src/mm/percpu.rs
/DragonOS/kernel/src/process/c_adapter.rs
/DragonOS/kernel/src/process/idle.rs
/DragonOS/kernel/src/process/kthread.rs
/DragonOS/kernel/src/process/mod.rs
/DragonOS/kernel/src/process/process.h
/DragonOS/kernel/src/process/process.rs
/DragonOS/kernel/src/sched/cfs.rs
/DragonOS/kernel/src/sched/core.rs
/DragonOS/kernel/src/sched/rt.rs
/DragonOS/kernel/src/smp/c_adapter.rs
/DragonOS/kernel/src/smp/core.rs
/DragonOS/kernel/src/smp/cpu/mod.rs
/DragonOS/kernel/src/smp/mod.rs
/DragonOS/kernel/src/smp/smp.c
/DragonOS/kernel/src/syscall/syscall.c
/DragonOS/user/dadk/config/nova_shell-0.1.0.dadk
0e7c469301-Mar-2024 GnoCiYeH <heyicong@dragonos.org>

修改事件等待队列对于retain使用方法出错导致唤醒错误 (#551)

52da9a5926-Feb-2024 GnoCiYeH <heyicong@dragonos.org>

完成与Linux兼容的Ntty (#517)

* 已经完成的功能:
- 写:printf能够正常在tty输出
- 读:与键盘驱动接上
- 信号: 能够正常通过ctrl向前台进程发送信号

* 支持目前的shell,改动printk使其与新版tty兼容。

* 删除原有tty文件夹,并更改新tty文件名

* 添加clear清屏程序

* 实现tty部分ioctl,更改部分

完成与Linux兼容的Ntty (#517)

* 已经完成的功能:
- 写:printf能够正常在tty输出
- 读:与键盘驱动接上
- 信号: 能够正常通过ctrl向前台进程发送信号

* 支持目前的shell,改动printk使其与新版tty兼容。

* 删除原有tty文件夹,并更改新tty文件名

* 添加clear清屏程序

* 实现tty部分ioctl,更改部分问题

show more ...


/DragonOS/kernel/crates/bitmap/src/bitmap_core.rs
/DragonOS/kernel/crates/bitmap/src/static_bitmap.rs
/DragonOS/kernel/crates/system_error/src/lib.rs
/DragonOS/kernel/src/arch/x86_64/mm/mod.rs
/DragonOS/kernel/src/driver/base/device/device_number.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_driver.rs
/DragonOS/kernel/src/driver/input/serio/i8042/i8042_ports.rs
/DragonOS/kernel/src/driver/input/serio/i8042/mod.rs
/DragonOS/kernel/src/driver/input/serio/mod.rs
/DragonOS/kernel/src/driver/keyboard/ps2_keyboard.rs
/DragonOS/kernel/src/driver/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/mod.rs
/DragonOS/kernel/src/driver/tty/termios.rs
/DragonOS/kernel/src/driver/tty/tty_core.rs
/DragonOS/kernel/src/driver/tty/tty_device.rs
/DragonOS/kernel/src/driver/tty/tty_driver.rs
/DragonOS/kernel/src/driver/tty/tty_job_control.rs
/DragonOS/kernel/src/driver/tty/tty_ldisc/mod.rs
/DragonOS/kernel/src/driver/tty/tty_ldisc/ntty.rs
/DragonOS/kernel/src/driver/tty/tty_port.rs
/DragonOS/kernel/src/driver/tty/virtual_terminal/console_map.rs
/DragonOS/kernel/src/driver/tty/virtual_terminal/mod.rs
/DragonOS/kernel/src/driver/tty/virtual_terminal/virtual_console.rs
/DragonOS/kernel/src/driver/video/fbdev/base/fbcmap.rs
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/framebuffer_console.rs
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/mod.rs
/DragonOS/kernel/src/driver/video/fbdev/base/mod.rs
/DragonOS/kernel/src/driver/video/fbdev/vesafb.rs
/DragonOS/kernel/src/driver/video/mod.rs
/DragonOS/kernel/src/filesystem/devfs/mod.rs
/DragonOS/kernel/src/filesystem/kernfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/file.rs
/DragonOS/kernel/src/filesystem/vfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/mount.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
/DragonOS/kernel/src/init/init.rs
font/bin/VGA_8X16.bytes
font/bin/VGA_8X8.bytes
font/font_type/mod.rs
font/font_type/vga8x16.rs
font/font_type/vga8x8.rs
font/mod.rs
keyboard_parser.rs
lib_ui/screen_manager.rs
lib_ui/textui.rs
lib_ui/textui_no_alloc.rs
mod.rs
printk.rs
/DragonOS/kernel/src/mm/init.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/tools/bootstrap.sh
/DragonOS/tools/build_gcc_toolchain.sh
/DragonOS/tools/grub_auto_install.sh
/DragonOS/user/apps/clear/.gitignore
/DragonOS/user/apps/clear/Cargo.toml
/DragonOS/user/apps/clear/Makefile
/DragonOS/user/apps/clear/README.md
/DragonOS/user/apps/clear/src/main.rs
/DragonOS/user/dadk/config/clear-0.1.0.dadk
7d66c31319-Feb-2024 LoGin <longjin@DragonOS.org>

添加简单的cpumask (#533)

7015895519-Feb-2024 LoGin <longjin@DragonOS.org>

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

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


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

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

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

5b59005f04-Feb-2024 LoGin <longjin@DragonOS.org>

x86_64: 使用Rust重写内核初始化代码 (#507)

* x86_64: 使用Rust重写内核初始化代码


/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/src/arch/riscv64/init/mod.rs
/DragonOS/kernel/src/arch/riscv64/mod.rs
/DragonOS/kernel/src/arch/riscv64/process/idle.rs
/DragonOS/kernel/src/arch/riscv64/process/mod.rs
/DragonOS/kernel/src/arch/riscv64/sched.rs
/DragonOS/kernel/src/arch/riscv64/smp/mod.rs
/DragonOS/kernel/src/arch/x86_64/asm/head.S
/DragonOS/kernel/src/arch/x86_64/c_adapter.rs
/DragonOS/kernel/src/arch/x86_64/driver/c_adapter.rs
/DragonOS/kernel/src/arch/x86_64/driver/hpet.rs
/DragonOS/kernel/src/arch/x86_64/init/main.c
/DragonOS/kernel/src/arch/x86_64/init/mod.rs
/DragonOS/kernel/src/arch/x86_64/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/smp/mod.rs
/DragonOS/kernel/src/common/printk.h
/DragonOS/kernel/src/driver/base/init.rs
/DragonOS/kernel/src/driver/base/mod.rs
/DragonOS/kernel/src/driver/pci/pci.rs
/DragonOS/kernel/src/exception/softirq.rs
/DragonOS/kernel/src/filesystem/vfs/core.rs
/DragonOS/kernel/src/init/init.rs
/DragonOS/kernel/src/init/mod.rs
futex/futex.rs
lib_ui/screen_manager.rs
lib_ui/textui.h
lib_ui/textui.rs
/DragonOS/kernel/src/mm/c_adapter.rs
/DragonOS/kernel/src/mm/init.rs
/DragonOS/kernel/src/process/c_adapter.rs
/DragonOS/kernel/src/process/kthread.rs
/DragonOS/kernel/src/process/mod.rs
/DragonOS/kernel/src/sched/core.rs
/DragonOS/kernel/src/sched/mod.rs
/DragonOS/kernel/src/smp/mod.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/time/clocksource.h
/DragonOS/kernel/src/time/clocksource.rs
/DragonOS/kernel/src/time/timekeeping.rs
/DragonOS/kernel/src/time/timer.rs
/DragonOS/kernel/src/virt/kvm/mod.rs
453452cc04-Feb-2024 LoGin <longjin@DragonOS.org>

初始化riscv的内存管理模块,并且设置保留内存 (#506)

a02ce65428-Jan-2024 Chiichen <chiichen@qq.com>

支持对动态链接文件的加载,支持通过musl工具链编写用户空间程序 (#504)

支持对动态链接文件的加载,支持通过musl工具链编写用户空间程序

123456