History log of /DragonOS/kernel/src/driver/ (Results 51 – 75 of 178)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
23ef2b3306-Apr-2024 LoGin <longjin@DragonOS.org>

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

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

* riscv: 获取time csr的频率

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
tty/kthread.rs
/DragonOS/kernel/src/exception/ipi.rs
/DragonOS/kernel/src/exception/softirq.rs
/DragonOS/kernel/src/filesystem/procfs/mod.rs
/DragonOS/kernel/src/include/bindings/wrapper.h
/DragonOS/kernel/src/init/init.rs
/DragonOS/kernel/src/ipc/pipe.rs
/DragonOS/kernel/src/libs/futex/futex.rs
/DragonOS/kernel/src/libs/mutex.rs
/DragonOS/kernel/src/libs/rbtree.rs
/DragonOS/kernel/src/libs/spinlock.rs
/DragonOS/kernel/src/libs/wait_queue.rs
/DragonOS/kernel/src/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

* 修复拼写错误


base/device/device_number.rs
disk/ahci/ahci_inode.rs
input/ps2_mouse/ps_mouse_device.rs
keyboard/ps2_keyboard.rs
tty/kthread.rs
tty/mod.rs
tty/pty/mod.rs
tty/pty/unix98pty.rs
tty/tty_core.rs
tty/tty_device.rs
tty/tty_driver.rs
tty/tty_ldisc/mod.rs
tty/tty_ldisc/ntty.rs
tty/tty_port.rs
tty/virtual_terminal/mod.rs
tty/virtual_terminal/virtual_console.rs
video/fbdev/base/fbmem.rs
/DragonOS/kernel/src/filesystem/devfs/mod.rs
/DragonOS/kernel/src/filesystem/devfs/null_dev.rs
/DragonOS/kernel/src/filesystem/devfs/zero_dev.rs
/DragonOS/kernel/src/filesystem/devpts/mod.rs
/DragonOS/kernel/src/filesystem/fat/fs.rs
/DragonOS/kernel/src/filesystem/kernfs/mod.rs
/DragonOS/kernel/src/filesystem/mod.rs
/DragonOS/kernel/src/filesystem/procfs/mod.rs
/DragonOS/kernel/src/filesystem/ramfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/core.rs
/DragonOS/kernel/src/filesystem/vfs/file.rs
/DragonOS/kernel/src/filesystem/vfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/mount.rs
/DragonOS/kernel/src/filesystem/vfs/open.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
/DragonOS/kernel/src/filesystem/vfs/utils.rs
/DragonOS/kernel/src/ipc/pipe.rs
/DragonOS/kernel/src/ipc/syscall.rs
/DragonOS/kernel/src/libs/lib_ui/textui.rs
/DragonOS/kernel/src/libs/printk.rs
/DragonOS/kernel/src/libs/wait_queue.rs
/DragonOS/kernel/src/net/event_poll/mod.rs
/DragonOS/kernel/src/net/socket/mod.rs
/DragonOS/kernel/src/net/syscall.rs
/DragonOS/kernel/src/process/mod.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/virt/kvm/kvm_dev.rs
/DragonOS/kernel/src/virt/kvm/vcpu_dev.rs
/DragonOS/kernel/src/virt/kvm/vm_dev.rs
/DragonOS/user/apps/test_pty/Makefile
/DragonOS/user/apps/test_pty/test_pty.c
/DragonOS/user/dadk/config/test_pty-0.1.0.dadk
b8ed382504-Apr-2024 Donkey Kane <109840258+xiaolin2004@users.noreply.github.com>

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

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

---------

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

56cc4dbe31-Mar-2024 Jomo <2512364506@qq.com>

实现页面反向映射 (#670)

* 实现页面反向映射

* 完善PAGE_MANAGER初始化时机 && 封装lock函数 && 删掉过时注释

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

实现了rtc的抽象,并且把x86的cmos rtc接入到设备驱动模型 (#674)

* 实现了rtc的抽象,并且把x86的cmos rtc接入到设备驱动模型。

0cb8073426-Mar-2024 LoGin <longjin@DragonOS.org>

修复tty设备显示在/sys目录下的bug (#668)

2755467c25-Mar-2024 曾俊 <110876916+ZZJJWarth@users.noreply.github.com>

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

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

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

4256da7f25-Mar-2024 LoGin <longjin@DragonOS.org>

把Device trait的set_class改为设置Weak指针,以避免循环引用问题。 (#666)

7c958c9e25-Mar-2024 Val213 <112376067+val213@users.noreply.github.com>

移植dns查询工具dog的--tcp功能 (#652)

* add dog, modify user/Makefile and user.sysconfig

* add dog, modify user/Makefile and user.sysconfig

* fix tty unicode

* 修正无法正确编译dog的问题

---------

Co-autho

移植dns查询工具dog的--tcp功能 (#652)

* add dog, modify user/Makefile and user.sysconfig

* add dog, modify user/Makefile and user.sysconfig

* fix tty unicode

* 修正无法正确编译dog的问题

---------

Co-authored-by: val213 <val213666@gmail.com>
Co-authored-by: GnoCiYeH <heyicong@dragonos.org>
Co-authored-by: longjin <longjin@DragonOS.org>

show more ...

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
base/block/block_device.rs
base/class.rs
base/device/bus.rs
base/device/dd.rs
base/device/device_number.rs
base/device/driver.rs
base/device/mod.rs
base/kobject.rs
base/kset.rs
base/map/mod.rs
base/platform/platform_device.rs
disk/ahci/ahci_inode.rs
disk/ahci/ahcidisk.rs
disk/ahci/hba.rs
disk/ahci/mod.rs
firmware/efi/fdt.rs
firmware/efi/init.rs
firmware/efi/tables.rs
input/ps2_mouse/ps_mouse_device.rs
net/dma.rs
net/e1000e/e1000e.rs
net/e1000e/e1000e_driver.rs
net/e1000e/mod.rs
net/virtio_net.rs
open_firmware/fdt.rs
pci/mod.rs
pci/pci.rs
serial/serial8250/mod.rs
serial/serial8250/serial8250_pio.rs
timers/hpet/mod.rs
timers/rtc/mod.rs
timers/rtc/rtc.rs
tty/console.rs
tty/kthread.rs
tty/termios.rs
tty/tty_core.rs
tty/tty_device.rs
tty/tty_driver.rs
tty/tty_ldisc/mod.rs
tty/tty_ldisc/ntty.rs
tty/virtual_terminal/console_map.rs
tty/virtual_terminal/mod.rs
tty/virtual_terminal/virtual_console.rs
video/fbdev/base/fbcon/framebuffer_console.rs
video/fbdev/base/fbcon/mod.rs
video/fbdev/base/mod.rs
video/fbdev/vesafb.rs
video/mod.rs
virtio/irq.rs
virtio/mod.rs
virtio/transport_pci.rs
virtio/virtio_impl.rs
/DragonOS/kernel/src/exception/handle.rs
/DragonOS/kernel/src/exception/irqchip.rs
/DragonOS/kernel/src/exception/irqdata.rs
/DragonOS/kernel/src/exception/irqdesc.rs
/DragonOS/kernel/src/exception/irqdomain.rs
/DragonOS/kernel/src/exception/manage.rs
/DragonOS/kernel/src/exception/resend.rs
/DragonOS/kernel/src/exception/sysfs.rs
/DragonOS/kernel/src/filesystem/devfs/mod.rs
/DragonOS/kernel/src/filesystem/devfs/zero_dev.rs
/DragonOS/kernel/src/filesystem/fat/bpb.rs
/DragonOS/kernel/src/filesystem/fat/entry.rs
/DragonOS/kernel/src/filesystem/fat/fs.rs
/DragonOS/kernel/src/filesystem/kernfs/mod.rs
/DragonOS/kernel/src/filesystem/mbr.rs
/DragonOS/kernel/src/filesystem/procfs/mod.rs
/DragonOS/kernel/src/filesystem/procfs/syscall.rs
/DragonOS/kernel/src/filesystem/ramfs/mod.rs
/DragonOS/kernel/src/filesystem/sysfs/file.rs
/DragonOS/kernel/src/filesystem/sysfs/mod.rs
/DragonOS/kernel/src/filesystem/vfs/core.rs
/DragonOS/kernel/src/filesystem/vfs/fcntl.rs
/DragonOS/kernel/src/filesystem/vfs/file.rs
/DragonOS/kernel/src/filesystem/vfs/mount.rs
/DragonOS/kernel/src/filesystem/vfs/open.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
/DragonOS/kernel/src/include/bindings/mod.rs
/DragonOS/kernel/src/init/init.rs
/DragonOS/kernel/src/init/initial_kthread.rs
/DragonOS/kernel/src/init/mod.rs
/DragonOS/kernel/src/ipc/pipe.rs
/DragonOS/kernel/src/ipc/signal.rs
/DragonOS/kernel/src/ipc/signal_types.rs
/DragonOS/kernel/src/ipc/syscall.rs
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/libs/align.rs
/DragonOS/kernel/src/libs/elf.rs
/DragonOS/kernel/src/libs/futex/futex.rs
/DragonOS/kernel/src/libs/futex/mod.rs
/DragonOS/kernel/src/libs/keyboard_parser.rs
/DragonOS/kernel/src/libs/lib_ui/screen_manager.rs
/DragonOS/kernel/src/libs/lib_ui/textui.rs
/DragonOS/kernel/src/libs/lib_ui/textui_no_alloc.rs
/DragonOS/kernel/src/libs/lock_free_flags.rs
/DragonOS/kernel/src/libs/mutex.rs
/DragonOS/kernel/src/libs/notifier.rs
/DragonOS/kernel/src/libs/printk.rs
/DragonOS/kernel/src/libs/rbtree.rs
/DragonOS/kernel/src/libs/rwlock.rs
/DragonOS/kernel/src/libs/semaphore.rs
/DragonOS/kernel/src/libs/spinlock.rs
/DragonOS/kernel/src/libs/vec_cursor.rs
/DragonOS/kernel/src/libs/wait_queue.rs
/DragonOS/kernel/src/mm/allocator/buddy.rs
/DragonOS/kernel/src/mm/allocator/bump.rs
/DragonOS/kernel/src/mm/allocator/kernel_allocator.rs
/DragonOS/kernel/src/mm/allocator/slab.rs
/DragonOS/kernel/src/mm/c_adapter.rs
/DragonOS/kernel/src/mm/early_ioremap.rs
/DragonOS/kernel/src/mm/memblock.rs
/DragonOS/kernel/src/mm/mmio_buddy.rs
/DragonOS/kernel/src/mm/mod.rs
/DragonOS/kernel/src/mm/no_init.rs
/DragonOS/kernel/src/mm/page.rs
/DragonOS/kernel/src/mm/percpu.rs
/DragonOS/kernel/src/mm/syscall.rs
/DragonOS/kernel/src/mm/ucontext.rs
/DragonOS/kernel/src/net/event_poll/mod.rs
/DragonOS/kernel/src/net/event_poll/syscall.rs
/DragonOS/kernel/src/net/mod.rs
/DragonOS/kernel/src/net/net_core.rs
/DragonOS/kernel/src/net/socket/mod.rs
/DragonOS/kernel/src/net/socket/sockets.rs
/DragonOS/kernel/src/net/syscall.rs
/DragonOS/kernel/src/process/exec.rs
/DragonOS/kernel/src/process/exit.rs
/DragonOS/kernel/src/process/fork.rs
/DragonOS/kernel/src/process/idle.rs
/DragonOS/kernel/src/process/kthread.rs
/DragonOS/kernel/src/process/mod.rs
/DragonOS/kernel/src/process/stdio.rs
/DragonOS/kernel/src/process/utils.rs
/DragonOS/kernel/src/sched/cfs.rs
/DragonOS/kernel/src/sched/completion.rs
/DragonOS/kernel/src/sched/rt.rs
/DragonOS/kernel/src/sched/syscall.rs
/DragonOS/kernel/src/smp/cpu/mod.rs
/DragonOS/kernel/src/smp/init.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/syscall/syscall_num.h
/DragonOS/kernel/src/syscall/user_access.rs
/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
keyboard/ps2_keyboard.rs
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
/DragonOS/kernel/src/libs/cpumask.rs
/DragonOS/kernel/src/libs/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


/DragonOS/.vscode/settings.json
/DragonOS/docs/index.rst
/DragonOS/docs/introduction/features.md
/DragonOS/docs/kernel/core_api/index.rst
/DragonOS/docs/kernel/core_api/kernel_api.md
/DragonOS/docs/kernel/ktest/index.rst
/DragonOS/docs/kernel/locking/index.rst
/DragonOS/env.mk
/DragonOS/kernel/.clippy.toml
/DragonOS/kernel/Cargo.toml
/DragonOS/kernel/crates/bitmap/src/lib.rs
/DragonOS/kernel/crates/crc/src/lib.rs
/DragonOS/kernel/crates/kdepends/src/lib.rs
/DragonOS/kernel/crates/klog_types/src/lib.rs
/DragonOS/kernel/crates/system_error/src/lib.rs
/DragonOS/kernel/crates/unified-init/src/lib.rs
/DragonOS/kernel/rust-toolchain.toml
/DragonOS/kernel/src/arch/riscv64/asm/csr.rs
/DragonOS/kernel/src/arch/riscv64/asm/head.S
/DragonOS/kernel/src/arch/riscv64/asm/mod.rs
/DragonOS/kernel/src/arch/riscv64/cpu.rs
/DragonOS/kernel/src/arch/riscv64/include/asm/asm.h
/DragonOS/kernel/src/arch/riscv64/include/asm/csr.h
/DragonOS/kernel/src/arch/riscv64/init/mod.rs
/DragonOS/kernel/src/arch/riscv64/interrupt/entry.rs
/DragonOS/kernel/src/arch/riscv64/interrupt/handle.rs
/DragonOS/kernel/src/arch/riscv64/interrupt/mod.rs
/DragonOS/kernel/src/arch/riscv64/ipc/signal.rs
/DragonOS/kernel/src/arch/riscv64/smp/mod.rs
/DragonOS/kernel/src/arch/x86_64/asm/entry.S
/DragonOS/kernel/src/arch/x86_64/ipc/signal.rs
/DragonOS/kernel/src/common/sys/types.h
tty/termios.rs
tty/tty_core.rs
tty/tty_device.rs
tty/tty_job_control.rs
tty/tty_ldisc/mod.rs
tty/tty_ldisc/ntty.rs
tty/virtual_terminal/mod.rs
tty/virtual_terminal/virtual_console.rs
video/fbdev/base/fbcon/framebuffer_console.rs
video/fbdev/base/mod.rs
video/fbdev/vesafb.rs
/DragonOS/kernel/src/filesystem/vfs/core.rs
/DragonOS/kernel/src/filesystem/vfs/file.rs
/DragonOS/kernel/src/filesystem/vfs/mount.rs
/DragonOS/kernel/src/filesystem/vfs/syscall.rs
/DragonOS/kernel/src/include/bindings/wrapper.h
/DragonOS/kernel/src/init/init.rs
/DragonOS/kernel/src/ipc/signal.rs
/DragonOS/kernel/src/lib.rs
/DragonOS/kernel/src/libs/Makefile
/DragonOS/kernel/src/libs/align.rs
/DragonOS/kernel/src/libs/ida/src/lib.rs
/DragonOS/kernel/src/libs/printk.c
/DragonOS/kernel/src/libs/printk.rs
/DragonOS/kernel/src/libs/rwlock.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/process/fork.rs
/DragonOS/kernel/src/process/mod.rs
/DragonOS/kernel/src/process/syscall.rs
/DragonOS/kernel/src/sched/cfs.rs
/DragonOS/kernel/src/syscall/misc.rs
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/syscall/syscall.c
/DragonOS/kernel/src/syscall/syscall_num.h
/DragonOS/kernel/src/time/clocksource.rs
/DragonOS/kernel/src/time/jiffies.rs
/DragonOS/kernel/src/time/mod.rs
/DragonOS/kernel/src/time/syscall.rs
/DragonOS/kernel/src/time/timeconv.rs
/DragonOS/kernel/src/time/timekeep.rs
/DragonOS/kernel/src/time/timer.rs
/DragonOS/kernel/src/virt/kvm/host_mem.rs
/DragonOS/kernel/src/virt/kvm/vm.rs
/DragonOS/tools/build_gcc_toolchain.sh
/DragonOS/user/dadk/config/nova_shell-0.1.0.dadk
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
base/init.rs
irqchip/mod.rs
irqchip/riscv_intc.rs
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
/DragonOS/kernel/src/libs/lib_ui/screen_manager.rs
/DragonOS/kernel/src/libs/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
Makefile
base/device/driver.rs
base/device/mod.rs
input/ps2_dev/mod.rs
input/ps2_mouse/ps_mouse_device.rs
input/ps2_mouse/ps_mouse_driver.rs
keyboard/mod.rs
keyboard/ps2_keyboard.rs
net/e1000e/e1000e.rs
net/irq_handle.rs
net/mod.rs
net/virtio_net.rs
pci/pci.rs
pci/pci_irq.rs
virtio/irq.rs
virtio/mod.rs
virtio/transport_pci.rs
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
/DragonOS/kernel/src/libs/cpumask.rs
/DragonOS/kernel/src/libs/int_like.rs
/DragonOS/kernel/src/libs/lib_ui/textui.rs
/DragonOS/kernel/src/libs/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
be60c92928-Feb-2024 GnoCiYeH <heyicong@dragonos.org>

修改tty几个bug (#549)

* 更改ioctl一处逻辑错误

* 删除不必要的impl

* 修改一处bug,并且加入tty的link,为pty做准备

* 修改一处因为vc的pos和x计算错误导致的溢出

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
base/device/device_number.rs
keyboard/ps2_keyboard.rs
mod.rs
serial/mod.rs
serial/serial8250/mod.rs
serial/serial8250/serial8250_pio.rs
tty/console.rs
tty/mod.rs
tty/termios.rs
tty/tty_core.rs
tty/tty_device.rs
tty/tty_driver.rs
tty/tty_job_control.rs
tty/tty_ldisc/mod.rs
tty/tty_ldisc/ntty.rs
tty/tty_port.rs
tty/virtual_terminal/console_map.rs
tty/virtual_terminal/mod.rs
tty/virtual_terminal/virtual_console.rs
video/fbdev/base/fbcmap.rs
video/fbdev/base/fbcon/framebuffer_console.rs
video/fbdev/base/fbcon/mod.rs
video/fbdev/base/mod.rs
video/fbdev/vesafb.rs
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
/DragonOS/kernel/src/libs/font/bin/VGA_8X16.bytes
/DragonOS/kernel/src/libs/font/bin/VGA_8X8.bytes
/DragonOS/kernel/src/libs/font/font_type/mod.rs
/DragonOS/kernel/src/libs/font/font_type/vga8x16.rs
/DragonOS/kernel/src/libs/font/font_type/vga8x8.rs
/DragonOS/kernel/src/libs/font/mod.rs
/DragonOS/kernel/src/libs/keyboard_parser.rs
/DragonOS/kernel/src/libs/lib_ui/screen_manager.rs
/DragonOS/kernel/src/libs/lib_ui/textui.rs
/DragonOS/kernel/src/libs/lib_ui/textui_no_alloc.rs
/DragonOS/kernel/src/libs/mod.rs
/DragonOS/kernel/src/libs/printk.rs
/DragonOS/kernel/src/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/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
9993c0fc26-Feb-2024 R0ronoa <84278015+2447742618@users.noreply.github.com>

添加i8042驱动 改正serio设备文件结构 (#538)

* 添加i8042驱动 改正serio设备文件结构

196b75dc18-Feb-2024 LoGin <longjin@DragonOS.org>

把irqdesc添加到sysfs (#525)

* 把irqdesc添加到sysfs

3bc96fa418-Feb-2024 LoGin <longjin@DragonOS.org>

添加irqdesc的抽象,并在系统初始化时创建irqdesc (#522)

* 添加irqdesc的抽象,并在系统初始化时创建irqdesc

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

添加irqchip这一层的数据结构(尚未接入真实的芯片) (#520)

* 添加irqchip这一层的数据结构(尚未接入真实的芯片)

4ad52e5707-Feb-2024 裕依2439 <68320855+yuyi2439@users.noreply.github.com>

添加socketpair (#505)

* 添加对socketpair系统调用的处理

---------

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


/DragonOS/.vscode/settings.json
/DragonOS/kernel/Cargo.toml
/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/asm/entry.S
/DragonOS/kernel/src/arch/x86_64/driver/apic/apic.c
/DragonOS/kernel/src/arch/x86_64/driver/apic/apic.h
/DragonOS/kernel/src/arch/x86_64/init/mod.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/entry.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/ipi.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/mod.rs
/DragonOS/kernel/src/arch/x86_64/interrupt/trap.rs
/DragonOS/kernel/src/arch/x86_64/sched.rs
/DragonOS/kernel/src/arch/x86_64/syscall/mod.rs
keyboard/ps2_keyboard.rs
/DragonOS/kernel/src/exception/Makefile
/DragonOS/kernel/src/exception/init.rs
/DragonOS/kernel/src/exception/irq.c
/DragonOS/kernel/src/exception/mod.rs
/DragonOS/kernel/src/filesystem/procfs/kmsg.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/libs/sys/wait.c
/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/smp/smp.c
/DragonOS/kernel/src/syscall/mod.rs
/DragonOS/kernel/src/syscall/syscall.c
/DragonOS/kernel/src/syscall/syscall.h
/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
d14e28a807-Feb-2024 Luo Jia / Zhouqi Jiang <me@luojia.cc>

riscv: 使用sbi-rt库完成SBI操作 (#510)

未来的其它SBI操作也将使用sbi-rt

Signed-off-by: Zhouqi Jiang <luojia@hust.edu.cn>

12345678