/* * Copyright 2010, Ingo Weinhold, ingo_weinhold@gmx.de. * Distributed under the terms of the MIT License. */ #ifndef _KERNEL_ARCH_X86_SYSCALLS_H #define _KERNEL_ARCH_X86_SYSCALLS_H #include extern void (*gX86SetSyscallStack)(addr_t stackTop); status_t x86_initialize_commpage_syscall(); static inline void x86_set_syscall_stack(addr_t stackTop) { if (gX86SetSyscallStack != NULL) gX86SetSyscallStack(stackTop); } #endif // _KERNEL_ARCH_X86_SYSCALLS_H