|
ReactOS 0.4.16-dev-1946-g52006dd
|

Go to the source code of this file.
Classes | |
| struct | _TEST_ENTRY |
Macros | |
| #define | CPU_FEATURE_VMX 0x01 |
| #define | CPU_FEATURE_HV 0x02 |
| #define | FL_INVALID 0 |
| #define | FL_AMD 0x01 |
| #define | FL_INTEL 0x02 |
| #define | FL_CYRIX 0x04 |
| #define | FL_VIA 0x08 |
| #define | FL_TM 0x10 |
| #define | FL_ANY (FL_AMD | FL_INTEL | FL_CYRIX | FL_VIA | FL_TM) |
| #define | FL_VMX 0x20 |
| #define | FL_HV 0x40 |
| #define | FL_PRIV 0x100 |
| #define | FL_ACC 0x200 |
| #define | FL_INVLS 0x400 |
Typedefs | |
| typedef enum _CPU_VENDOR | CPU_VENDOR |
| typedef void(* | PFUNC) (void) |
| typedef struct _TEST_ENTRY | TEST_ENTRY |
| typedef struct _TEST_ENTRY * | PTEST_ENTRY |
Enumerations | |
| enum | _CPU_VENDOR { CPU_VENDOR_INTEL , CPU_VENDOR_AMD , CPU_VENDOR_CYRIX , CPU_VENDOR_VIA , CPU_VENDOR_TRANSMETA , CPU_VENDOR_UNKNOWN } |
Functions | |
| static CPU_VENDOR | DetermineCpuVendor (void) |
| static void | DetermineCpuFeatures (void) |
| void | Test_SingleInstruction (PVOID RwxMemory, PTEST_ENTRY TestEntry) |
| static void | Test_InstructionFaults (void) |
| START_TEST (UserModeException) | |
Variables | |
| CPU_VENDOR | g_CpuVendor |
| ULONG | g_CpuFeatures |
| TEST_ENTRY | TestEntries [] |
| #define CPU_FEATURE_HV 0x02 |
Definition at line 25 of file UserModeException.c.
| #define CPU_FEATURE_VMX 0x01 |
Definition at line 24 of file UserModeException.c.
| #define FL_ACC 0x200 |
Definition at line 41 of file UserModeException.c.
| #define FL_AMD 0x01 |
Definition at line 30 of file UserModeException.c.
Definition at line 35 of file UserModeException.c.
| #define FL_CYRIX 0x04 |
Definition at line 32 of file UserModeException.c.
| #define FL_HV 0x40 |
Definition at line 38 of file UserModeException.c.
| #define FL_INTEL 0x02 |
Definition at line 31 of file UserModeException.c.
| #define FL_INVALID 0 |
Definition at line 29 of file UserModeException.c.
| #define FL_INVLS 0x400 |
Definition at line 42 of file UserModeException.c.
| #define FL_PRIV 0x100 |
Definition at line 40 of file UserModeException.c.
| #define FL_TM 0x10 |
Definition at line 34 of file UserModeException.c.
| #define FL_VIA 0x08 |
Definition at line 33 of file UserModeException.c.
| #define FL_VMX 0x20 |
Definition at line 37 of file UserModeException.c.
| typedef enum _CPU_VENDOR CPU_VENDOR |
Definition at line 27 of file UserModeException.c.
| typedef struct _TEST_ENTRY * PTEST_ENTRY |
| typedef struct _TEST_ENTRY TEST_ENTRY |
| Enumerator | |
|---|---|
| CPU_VENDOR_INTEL | |
| CPU_VENDOR_AMD | |
| CPU_VENDOR_CYRIX | |
| CPU_VENDOR_VIA | |
| CPU_VENDOR_TRANSMETA | |
| CPU_VENDOR_UNKNOWN | |
Definition at line 11 of file UserModeException.c.
Definition at line 98 of file UserModeException.c.
Referenced by START_TEST().
|
static |
Definition at line 54 of file UserModeException.c.
Referenced by DetermineCpuFeatures().
| START_TEST | ( | UserModeException | ) |
Definition at line 319 of file UserModeException.c.
Definition at line 294 of file UserModeException.c.
Referenced by START_TEST().
| void Test_SingleInstruction | ( | PVOID | RwxMemory, |
| PTEST_ENTRY | TestEntry | ||
| ) |
Definition at line 201 of file UserModeException.c.
Referenced by Test_InstructionFaults().
| ULONG g_CpuFeatures |
Definition at line 22 of file UserModeException.c.
Referenced by DetermineCpuFeatures(), and Test_SingleInstruction().
| CPU_VENDOR g_CpuVendor |
Definition at line 21 of file UserModeException.c.
Referenced by DetermineCpuFeatures(), and Test_SingleInstruction().
| TEST_ENTRY TestEntries[] |
Definition at line 113 of file UserModeException.c.
Referenced by Test_InstructionFaults().