--- Gnu-Mach/kern/syscall_emulation.h 2020/09/02 04:36:57 1.1.1.1 +++ Gnu-Mach/kern/syscall_emulation.h 2020/09/02 04:47:41 1.1.1.4 @@ -30,9 +30,10 @@ #ifndef _KERN_SYSCALL_EMULATION_H_ #define _KERN_SYSCALL_EMULATION_H_ -#ifndef ASSEMBLER +#ifndef __ASSEMBLER__ #include #include +#include typedef vm_offset_t eml_routine_t; @@ -56,6 +57,11 @@ typedef vm_offset_t *emulation_vector_t; #define EML_MOD (err_kern|err_sub(2)) #define EML_BAD_TASK (EML_MOD|0x0001) #define EML_BAD_CNT (EML_MOD|0x0002) -#endif ASSEMBLER -#endif _KERN_SYSCALL_EMULATION_H_ +extern void eml_init(void); +extern void eml_task_reference(task_t task, task_t parent); +extern void eml_task_deallocate(task_t task); + +#endif /* __ASSEMBLER__ */ + +#endif /* _KERN_SYSCALL_EMULATION_H_ */