Implement process clone trampoline
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m10s
All checks were successful
Build documentation / build-and-deploy (push) Successful in 2m10s
This commit is contained in:
12
libprocess/amd64/clone_tramp1.c
Normal file
12
libprocess/amd64/clone_tramp1.c
Normal file
@@ -0,0 +1,12 @@
|
||||
#include <liballoc.h>
|
||||
#include <process.h>
|
||||
#include <system.h>
|
||||
|
||||
void _clone_tramp1 (void) {
|
||||
struct process_data* pdata = argument_ptr ();
|
||||
|
||||
pdata->fn (pdata->arg_ptr);
|
||||
|
||||
free (pdata);
|
||||
quit ();
|
||||
}
|
||||
Reference in New Issue
Block a user