#include "psp.h"
Go to the source code of this file.
Defines | |
#define | PSPALIGN_DOWN(address, amt) ((ULONG)(address) & ~(( amt ) - 1)) |
#define | PSPALIGN_UP(address, amt) (PSPALIGN_DOWN( (address + (amt) - 1), (amt) )) |
Functions | |
VOID | PspGetContext (IN PKTRAP_FRAME TrapFrame, IN PKNONVOLATILE_CONTEXT_POINTERS NonVolatileContext, IN OUT PCONTEXT Context) |
VOID | PspSetContext (OUT PKTRAP_FRAME TrapFrame, OUT PKNONVOLATILE_CONTEXT_POINTERS NonVolatileContext, IN PCONTEXT Context, KPROCESSOR_MODE Mode) |
VOID | PspGetSetContextSpecialApc (IN PKAPC Apc, IN PKNORMAL_ROUTINE *NormalRoutine, IN PVOID *NormalContext, IN PVOID *SystemArgument1, IN PVOID *SystemArgument2) |
|
Definition at line 34 of file psctx386.c. |
|
Definition at line 36 of file psctx386.c. Referenced by PspGetSetContextSpecialApc(). |
|
Definition at line 46 of file psctx386.c. References ASSERT, KeContextFromKframes(), KernelMode, NULL, and PAGED_CODE.
|
|
Definition at line 131 of file psctx386.c. References _GETSETCONTEXT::Context, FALSE, _KTHREAD::InitialStack, KeSetEvent(), _GETSETCONTEXT::Mode, NULL, _GETSETCONTEXT::OperationComplete, PAGED_CODE, PGETSETCONTEXT, PSPALIGN_UP, PspGetContext(), PspSetContext(), and _ETHREAD::Tcb. Referenced by NtGetContextThread(), and NtSetContextThread().
|
|
Definition at line 88 of file psctx386.c.
|