Skip to content

Commit

Permalink
UEFI does not support forking.
Browse files Browse the repository at this point in the history
  • Loading branch information
stikonas committed Nov 25, 2022
1 parent e045640 commit 453ba69
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions amd64/uefi/unistd.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,7 @@ void _exit(int value);

int fork()
{
asm("mov_rax, %57"
"mov_rdi, %0"
"syscall");
return -1;
}


Expand Down

0 comments on commit 453ba69

Please sign in to comment.