ReactOS 0.4.16-dev-311-g9382aa2
|
#include "precomp.h"
Go to the source code of this file.
Macros | |
#define | EFLAGS_TF 0x100L |
#define | EFLAGS_INTERRUPT_MASK 0x200L |
#define | ValidateSyscall(SyscallId, Result) ValidateSyscall_(__FILE__, __LINE__, SyscallId, Result) |
Functions | |
VOID | DoSyscallAndCaptureContext (_In_ ULONG SyscallNumber, _Out_ PCONTEXT PreContext, _Out_ PCONTEXT PostContext) |
ULONG_PTR | DoSyscallWithUnalignedStack (_In_ ULONG64 SyscallNumber) |
static BOOLEAN | InitSysCalls () |
static VOID | LoadUser32 () |
static LONG WINAPI | VectoredExceptionHandlerForUserModeCallback (struct _EXCEPTION_POINTERS *ExceptionInfo) |
VOID | ValidateSyscall_ (_In_ PCCH File, _In_ ULONG Line, _In_ ULONG_PTR SyscallId, _In_ ULONG_PTR Result) |
static VOID | Test_SyscallNumbers () |
static VOID | Test_SyscallPerformance () |
START_TEST (SystemCall) | |
Variables | |
ULONG | g_NoopSyscallNumber = 0 |
ULONG | g_HandlerCalled = 0 |
ULONG | g_RandomSeed = 0x63c28b49 |
const UCHAR | SyscallReturn |
#define EFLAGS_INTERRUPT_MASK 0x200L |
Definition at line 11 of file SystemCall.c.
#define EFLAGS_TF 0x100L |
Definition at line 10 of file SystemCall.c.
#define ValidateSyscall | ( | SyscallId, | |
Result | |||
) | ValidateSyscall_(__FILE__, __LINE__, SyscallId, Result) |
Definition at line 199 of file SystemCall.c.
VOID DoSyscallAndCaptureContext | ( | _In_ ULONG | SyscallNumber, |
_Out_ PCONTEXT | PreContext, | ||
_Out_ PCONTEXT | PostContext | ||
) |
Referenced by ValidateSyscall_().
Referenced by Test_SyscallNumbers().
|
static |
Definition at line 38 of file SystemCall.c.
Referenced by START_TEST().
|
static |
Definition at line 57 of file SystemCall.c.
Referenced by Test_SyscallNumbers().
START_TEST | ( | SystemCall | ) |
Definition at line 304 of file SystemCall.c.
|
static |
Definition at line 203 of file SystemCall.c.
Referenced by START_TEST().
|
static |
Definition at line 269 of file SystemCall.c.
Referenced by START_TEST().
VOID ValidateSyscall_ | ( | _In_ PCCH | File, |
_In_ ULONG | Line, | ||
_In_ ULONG_PTR | SyscallId, | ||
_In_ ULONG_PTR | Result | ||
) |
Definition at line 79 of file SystemCall.c.
|
static |
Definition at line 66 of file SystemCall.c.
Referenced by Test_SyscallNumbers().
ULONG g_HandlerCalled = 0 |
Definition at line 14 of file SystemCall.c.
Referenced by Test_SyscallNumbers(), and VectoredExceptionHandlerForUserModeCallback().
ULONG g_NoopSyscallNumber = 0 |
Definition at line 13 of file SystemCall.c.
Referenced by InitSysCalls(), and Test_SyscallNumbers().
ULONG g_RandomSeed = 0x63c28b49 |
Definition at line 15 of file SystemCall.c.
Referenced by ValidateSyscall_().
Referenced by ValidateSyscall_().