5 Copyright © 2008-2009, 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*) __get_arosc_privdata()->acpd_vfork_data)
33 struct vfork_data
*prev
;
37 jmp_buf startup_jmp_buf
;
42 APTR parent_acpd_fd_mempool
;
43 void *parent_acpd_fd_array
;
44 int parent_acpd_numslots
;
46 struct arosc_privdata
*ppriv
;
50 struct aros_startup child_startup
;
51 struct arosc_privdata
*cpriv
;
52 struct Library
*aroscbase
;
64 #endif /* __VFORK_H */