2 * PROJECT: ReactOS Kernel
3 * LICENSE: BSD - See COPYING.ARM in the top level directory
4 * FILE: ntoskrnl/ke/arm/ke_i.h
5 * PURPOSE: Implements macro-generated system call portable wrappers
6 * PROGRAMMERS: ReactOS Portable Systems Group
10 // First, cleanup after any previous invocation
32 // Are we building the typedef prototypes?
36 // Then, each parameter is actually a prototype argument
57 // And we generate the typedef
59 #define SYSCALL(x, y) typedef NTSTATUS (*PKI_SYSCALL_##x##PARAM)y;
62 // Cleanup for next run
67 // Each parameter is actually an argument for the system call
88 // And we generate the actual system call
90 #define SYSCALL(x, y) \
92 KiSyscall##x##Param( \
97 return ((PKI_SYSCALL_##x##PARAM)p)y; \
101 // Cleanup for next run