5 Copyright © 2008, The AROS Development Team. All rights reserved.
9 #include <exec/types.h>
11 #include <exec/exec.h>
13 #include <aros/startup.h>
15 /* Define index of a stack register value in jmp_buf.regs */
18 # define STACK_INDEX (_JMPLEN-1)
19 #elif defined __x86_64__
20 # define STACK_INDEX (_JMPLEN-1)
21 #elif defined __powerpc__
22 # define STACK_INDEX 1
24 # error unsupported CPU type
27 #define VFORK_MAGIC 0x666
29 #define GETUDATA ((struct vfork_data*) ((struct Task*) FindTask(NULL))->tc_UserData)
40 char ministack
[4096] __attribute__ ((aligned
));
51 struct aros_startup child_startup
;
52 struct Library
*aroscbase
;
54 int child_acpd_numslots
;
55 void *child_acpd_fd_array
;
66 #endif /* __VFORK_H */