linfeng
6f189d2743
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
2024-06-27 17:43:25 +08:00
laokengwt
415e14e9c3
fix(driver): fix memory security problem in tty device ioctl ( #833 )
...
* add soft link to musl-gcc
* fix the tty_ioctl
* modified
* modified
2024-05-31 10:20:51 +08:00
MemoryShore
de199e3c86
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.
2024-05-28 20:06:23 +08:00
donjuanplatinum
3d4cd853a3
feat(procfs): update procfs ( #831 )
...
为procfs增加是否是kthread的显示
增加返回进程已经占用的文件描述符数量
2024-05-28 13:18:12 +08:00
BrahmaMantra
975f77a3bc
fix(time):修复了issue #816 ( #830 )
2024-05-19 23:27:41 +08:00
Mingtao Huang
bde08cded6
feat(driver/pci): 完善pci root结构体,增加portio的pci配置空间访问 ( #818 )
...
* feat(driver/pci): 完善pci root结构体,增加portio的pci配置空间访问
2024-05-16 17:47:01 +08:00
LoGin
0897bd8e75
fix(log): 修复pr #814 的问题 ( #821 )
2024-05-16 17:32:39 +08:00
曾俊
2eab6dd743
feat(log): 将内核日志统一为新的logger ( #814 )
2024-05-16 17:25:23 +08:00
LoGin
92deae638b
chore: move setup_arch_post timepoint to before clocksource_boot_finish ( #820 )
...
This commit adjusts the timing of the setup_arch_post event to occur before the clocksource_boot_finish event, allowing the time subsystem to properly register architecture-specific clock sources.
2024-05-16 14:06:23 +08:00
LoGin
236e88d5ef
fix(driver/apic_timer): 修复local apic timer初始化顺序导致的在某些云服务器上无法收到中断的bug ( #815 )
2024-05-14 02:50:58 +08:00
LoGin
ce48b93437
doc: add v0.1.10 changelog ( #813 )
...
* 完成v0.1.10 changelog
2024-05-13 16:56:26 +08:00
曾俊
1f4877a4c5
feat(driver/pci): add pci bus into sysfs ( #792 )
...
把pci设备加入sysfs
2024-05-13 15:27:08 +08:00
LoGin
352ee04918
fix: disable mm debug log to prevent system lockup due to thingbuf issue ( #808 )
2024-05-11 18:02:13 +08:00
Samuel Dai
37cef00bb4
fix(net): Fix TCP Unresponsiveness and Inability to Close Connections ( #791 )
...
* fix(net): Improve stability. 为RawSocket与UdpSocket实现close时调用close方法,符合smoltcp的行为。为SocketInode实现drop,保证程序任何情况下退出时都能正确close对应socket, 释放被占用的端口。
* fix(net): Correct socket close behavior.
2024-05-11 17:17:43 +08:00
LoGin
0102d69fdd
feat:(riscv/intr) 实现riscv plic驱动,能处理外部中断 ( #799 )
...
* feat:(riscv/intr) 实现riscv plic驱动,能处理外部中断
- 实现riscv plic驱动,能处理外部中断
- 能收到virtio-blk的中断
- 实现fasteoi interrupt handler
2024-05-01 21:11:32 +08:00
MemoryShore
17dc558977
修复vma映射标志错误 ( #801 )
2024-05-01 21:09:51 +08:00
LoGin
7db6e06354
feat(bitmap): Add bit and for AllocBitMap ( #793 )
2024-04-30 18:45:01 +08:00
laokengwt
7401bec5e3
feat(mm): add slab usage calculation ( #768 )
...
* Add slab free space calculation and add it to freeram of sysinfo
2024-04-29 23:03:33 +08:00
曾俊
bde4a334c1
修复了未初始化时ui显示模块内存越界的问题,优化了代码结构 ( #789 )
2024-04-29 18:55:17 +08:00
LoGin
0722a06a09
fix: (riscv/timer): 修复riscv下没有更新墙上时钟以及没有处理软中断的bug ( #783 )
2024-04-28 19:40:09 +08:00
LoGin
942cf26b48
fix(riscv/process): 把riscv的调度时钟节拍率与HZ同步,并且修复切换到用户态的时候忘了在内核态关中断的bug ( #780 )
2024-04-28 16:49:40 +08:00
曾俊
13b057cc0f
fix(libs/lib_ui): fix the display errors when system initialize ( #779 )
...
* 修复了系统初启动时会花屏的bug
2024-04-28 16:49:19 +08:00
Mingtao Huang
dd8e74ef0d
feat(driver/acpi_pm): Implement ACPI PM Timer ( #772 )
...
* feat: Implement ACPI PM Timer
2024-04-28 13:25:12 +08:00
LoGin
f75cb0f8ed
refactor(process): 调整arch_switch_to_user函数,把riscv和x86_64的共用逻辑抽取出来。 ( #773 )
...
* refactor(process): Extract common logic for riscv and x86_64 in arch_switch_to_user to run_init_process
调整arch_switch_to_user函数,把riscv和x86_64的共用逻辑抽取出来。写成run_init_process函数,并且能够尝试运行多个不同的init程序,直到某个运行成功
2024-04-27 15:35:24 +08:00
zwb0x00
173c4567cf
feat(sched): add sched_yield ( #766 )
...
* 实现sched_yield系统调用
2024-04-26 15:33:29 +08:00
LoGin
471d65cf15
feat(riscv): riscv下能够运行hello world用户程序 ( #770 )
...
* feat(riscv): riscv下能够运行hello world用户程序
2024-04-26 11:59:47 +08:00
zwb0x00
40348dd8d5
feat(fs): add sys_dup3 ( #755 )
...
* feat(fs): add sys_dup3
2024-04-23 19:35:02 +08:00
LoGin
731bc2b32d
feat(virtio): riscv: 添加virtio-blk driver,并在riscv下能够正确挂载FAT32 ( #761 )
2024-04-23 17:19:54 +08:00
LoGin
e32effb150
feat(driver): 把virtio添加到sysfs ( #752 )
2024-04-22 15:11:47 +08:00
MemoryShore
a17651b14b
feat(mm): 实现缺页中断处理,支持页面延迟分配和写时拷贝,以及用户栈自动拓展 ( #715 )
...
* 实现缺页中断处理
* 完善页表拷贝逻辑
* 优化代码结构
* 完善缺页异常信息
* 修改大页映射逻辑
* 修正大页映射错误
* 添加缺页中断支持标志
* 实现用户栈自动拓展功能
2024-04-22 15:10:47 +08:00
sun5etop
93c379703e
feat(net): 实现raw socket的poll ( #739 )
...
feat(net): 实现raw socket的poll
2024-04-21 13:36:44 +08:00
LoGin
b502fbf0b9
chore: Update virtio-drivers to commit 61ece509c4 and modify max_queue_size implementation ( #748 )
2024-04-21 13:30:29 +08:00
LoGin
d770de5d53
fix: 修复unified-init导致cargo check失败的问题 ( #747 )
2024-04-21 13:12:31 +08:00
yuyi2439
881ff6f95e
将smoltcp升级到0.11.0版本 ( #740 )
2024-04-21 11:39:00 +08:00
LoGin
370472f728
pci: 添加pci root manager来管理pci root,并使得riscv能够正常扫描pci设备. ( #745 )
...
* pci: 添加pci root manager来管理pci root.
pci: 使得riscv能够正常扫描pci设备.
* doc: 添加注释
2024-04-21 11:27:36 +08:00
LoGin
2709e017d0
pci: 统一使用ecam root ( #744 )
2024-04-20 18:31:56 +08:00
LoGin
418ad41fd8
Feat(tty): add dummy console ( #735 )
...
使得riscv能暂时完成stdio_init(将来需要实现riscv的串口console)
2024-04-17 10:03:22 +08:00
Saga1718
1012552dea
删除无用的hid代码 ( #734 )
2024-04-16 21:37:42 +08:00
SMALLC
fbd63a301c
feat: alarm系统调用实现 ( #710 )
...
* alarm系统调用实现
2024-04-16 21:34:36 +08:00
GnoCiYeH
d623e90231
socket统一改用GlobalSocketHandle
,并且修复fcntl SETFD的错误 ( #730 )
...
* socket统一改用`GlobalSocketHandle`,并且修复fcntl SETFD的错误
---------
Co-authored-by: longjin <longjin@DragonOS.org>
2024-04-15 22:01:32 +08:00
Samuel Dai
1074eb34e7
feat(filesystem): 引入Umount系统调用 ( #719 )
...
* feat(filesystem): 引入Umount系统调用
* 将所有ENOSYS误用更正
* 修复了一个使同一个挂载点可以挂载2个文件系统的bug
* 统一注释,增强程序稳定性,统一接口。注意:Umount时在fatfs的路径要使用大写,此受限于当前文件系统设计。
2024-04-15 13:02:04 +08:00
laokengwt
ceeb2e943c
feat(mm): 添加slab内存分配器 ( #683 )
...
feat(mm): 添加slab内存分配器
---------
Co-authored-by: longjin <longjin@DragonOS.org>
2024-04-15 12:51:14 +08:00
Saga1718
c719ddc631
feat(net): 实现tcp backlog功能 ( #714 )
...
* feat:实现tcp的backlog功能
2024-04-14 23:51:47 +08:00
LoGin
9621ab16ef
让riscv64能正常切换进程,并运行完所有的initcall ( #721 )
2024-04-14 20:39:20 +08:00
LoGin
f049d1af01
初始化riscv-sbi-timer ( #716 )
2024-04-12 14:46:47 +08:00
曾俊
3959e94df3
bugfix: 修复smp启动的时候,损坏0号核心的idle进程的内核栈的问题 ( #711 )
...
---------
Co-authored-by: longjin <longjin@DragonOS.org>
Co-authored-by: heyicong <heyicong@dragonos.org>
2024-04-10 19:00:32 +08:00
GnoCiYeH
9365e8017b
完善pty,目前pty能够支持ssh ( #708 )
2024-04-10 19:00:12 +08:00
Jomo
6fc066ac11
实现SystemV共享内存 ( #690 )
...
* 实现SystemV共享内存
* 测试shm
* 添加测试程序
* 完善细节
* 修正shm的时间数据错误的问题
* fix: devfs的metadata权限为0x777的错误
---------
Co-authored-by: longjin <longjin@DragonOS.org>
2024-04-07 14:04:19 +08:00
曾俊
eb49bb993a
BlockCache-read cache支持 ( #521 )
...
支持block cache的读缓存
2024-04-07 14:03:51 +08:00
hmt
06560afa2a
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库进行系统调用
2024-04-06 22:26:34 +08:00