mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-18 08:06:32 +00:00
增加x87FPU支持 (#212)
* remove `ret_from_syscall` *修复ps2键盘驱动程序inode在进程fork的时候导致死锁的问题. *更新: VFS每次拷贝文件描述符的时候,都会去调用inode的open函数 --------- Co-authored-by: longjin <longjin@RinGoTek.cn>
This commit is contained in:
@ -18,11 +18,11 @@
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include <signal.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <time.h>
|
||||
#include <unistd.h>
|
||||
#include <signal.h>
|
||||
|
||||
bool handle_ok = false;
|
||||
|
||||
@ -39,6 +39,7 @@ int main()
|
||||
printf("registered.\n");
|
||||
|
||||
clock_t last = clock();
|
||||
|
||||
while (1)
|
||||
{
|
||||
if ((clock() - last) / CLOCKS_PER_SEC >= 1)
|
||||
|
Reference in New Issue
Block a user