Fix aarch64

This commit is contained in:
Alex
2023-05-11 18:45:49 +03:00
parent 28ec505b78
commit c7046fe06f
5 changed files with 53 additions and 6 deletions

View File

@@ -390,9 +390,11 @@ static int sys_fork(SyscallsFrame *Frame)
strncpy(NewThread->Name, Thread->Name, sizeof(Thread->Name));
NewThread->Info = Thread->Info;
#ifdef a86
NewThread->ShadowGSBase = Thread->ShadowGSBase;
NewThread->GSBase = Thread->GSBase;
NewThread->FSBase = Thread->FSBase;
#endif
CPU::Interrupts(CPU::Disable);
static int RetChild = 0;