增加x87FPU支持 (#212)

* remove `ret_from_syscall`
*修复ps2键盘驱动程序inode在进程fork的时候导致死锁的问题.
*更新: VFS每次拷贝文件描述符的时候,都会去调用inode的open函数

---------

Co-authored-by: longjin <longjin@RinGoTek.cn>
This commit is contained in:
Gou Ngai
2023-03-28 20:44:26 +08:00
committed by GitHub
parent 2286eda652
commit 64aea4b349
24 changed files with 388 additions and 114 deletions

View File

@ -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)