DragonOS-Community / DragonOS

使用Rust从0自研内核,具有Linux兼容性的操作系统,面向云计算轻量化场景而设计。DragonOS is an operating system developed from scratch using Rust, with Linux compatibility. It is designed for lightweight cloud computing scenarios.
https://dragonos.org
GNU General Public License v2.0
817 stars 132 forks source link

fix(time): modify update wall time #836

Open 1037827920 opened 1 month ago

1037827920 commented 1 month ago

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

相关issue

782

fslongjin commented 1 month ago

r? @houmkh

hey,麻烦看看这个哈哈哈

1037827920 commented 3 weeks ago

x86上面是直接用那个系统调用测试的,riscv不知道怎么测试