Changeset 57358 in vbox for trunk/src/VBox/ValidationKit/utils/cpu
- Timestamp:
- Aug 14, 2015 3:16:38 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 102121
- Location:
- trunk/src/VBox/ValidationKit/utils/cpu
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/utils/cpu/cidet-app.cpp
r56295 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #include "cidet.h" 32 32 … … 52 52 53 53 54 /******************************************************************************* 55 * Defined Constants And Macros *56 ******************************************************************************* /54 /********************************************************************************************************************************* 55 * Defined Constants And Macros * 56 *********************************************************************************************************************************/ 57 57 /** @def CIDET_LEAVE_GS_ALONE 58 58 * Leave GS alone on 64-bit darwin (gs is 0, no ldt or gdt entry to load that'll … … 64 64 65 65 66 /******************************************************************************* 67 * Structures and Typedefs *68 ******************************************************************************* /66 /********************************************************************************************************************************* 67 * Structures and Typedefs * 68 *********************************************************************************************************************************/ 69 69 /** 70 70 * CIDET driver app buffer. … … 131 131 132 132 133 /******************************************************************************* 134 * Global Variables *135 ******************************************************************************* /133 /********************************************************************************************************************************* 134 * Global Variables * 135 *********************************************************************************************************************************/ 136 136 /** The test instance handle. */ 137 137 static RTTEST g_hTest; … … 166 166 167 167 168 /******************************************************************************* 169 * Internal Functions *170 ******************************************************************************* /168 /********************************************************************************************************************************* 169 * Internal Functions * 170 *********************************************************************************************************************************/ 171 171 DECLASM(void) CidetAppSaveAndRestoreCtx(void); 172 172 DECLASM(void) CidetAppRestoreCtx(PCCIDETCPUCTX pRestoreCtx); -
trunk/src/VBox/ValidationKit/utils/cpu/cidet-core.cpp
r56295 r57358 26 26 27 27 28 /******************************************************************************* 29 * Defined Constants And Macros *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Defined Constants And Macros * 30 *********************************************************************************************************************************/ 31 31 #define CIDET_INSTR_TEST_OP_FLAG(a_pInstr, a_fFlag) \ 32 32 ( ((a_pInstr)->afOperands[0] & (a_fFlag)) \ … … 59 59 60 60 61 /******************************************************************************* 62 * Header Files *63 ******************************************************************************* /61 /********************************************************************************************************************************* 62 * Header Files * 63 *********************************************************************************************************************************/ 64 64 #include "cidet.h" 65 65 … … 75 75 76 76 77 /******************************************************************************* 78 * Global Variables *79 ******************************************************************************* /77 /********************************************************************************************************************************* 78 * Global Variables * 79 *********************************************************************************************************************************/ 80 80 /** For translating CIDET_OF_Z_XXX values (after shifting). */ 81 81 uint16_t const g_acbCidetOfSizes[] = -
trunk/src/VBox/ValidationKit/utils/cpu/cidet-instr-1.cpp
r56295 r57358 27 27 28 28 29 /******************************************************************************* 30 * Header Files *31 ******************************************************************************* /29 /********************************************************************************************************************************* 30 * Header Files * 31 *********************************************************************************************************************************/ 32 32 #include "cidet.h" 33 33 #include <VBox/err.h> 34 34 35 35 36 /******************************************************************************* 37 * Defined Constants And Macros *38 ******************************************************************************* /36 /********************************************************************************************************************************* 37 * Defined Constants And Macros * 38 *********************************************************************************************************************************/ 39 39 /* 40 40 * Shorter defines for the EFLAGS to save table space. … … 55 55 56 56 57 /******************************************************************************* 58 * Structures and Typedefs *59 ******************************************************************************* /57 /********************************************************************************************************************************* 58 * Structures and Typedefs * 59 *********************************************************************************************************************************/ 60 60 typedef struct CIDET2IN1OUTWITHFLAGSU8ENTRY 61 61 { -
trunk/src/VBox/ValidationKit/utils/cpu/cpu-alloc-all-mem.cpp
r56295 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #include <iprt/test.h> 32 32 … … 39 39 40 40 41 /******************************************************************************* 42 * Structures and Typedefs *43 ******************************************************************************* /41 /********************************************************************************************************************************* 42 * Structures and Typedefs * 43 *********************************************************************************************************************************/ 44 44 typedef struct TSTALLOC 45 45 { -
trunk/src/VBox/ValidationKit/utils/cpu/cpu-numa.cpp
r56295 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #include <iprt/test.h> 32 32 … … 42 42 43 43 44 /******************************************************************************* 45 * Global Variables *46 ******************************************************************************* /44 /********************************************************************************************************************************* 45 * Global Variables * 46 *********************************************************************************************************************************/ 47 47 /** The number of threads to skip when testing. */ 48 48 static uint32_t g_cThreadsToSkip = 1; -
trunk/src/VBox/ValidationKit/utils/cpu/exceptionsR3.cpp
r56295 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #include <iprt/cdefs.h> 32 32 #include <iprt/ctype.h> … … 46 46 47 47 48 /******************************************************************************* 49 * Defined Constants And Macros *50 ******************************************************************************* /48 /********************************************************************************************************************************* 49 * Defined Constants And Macros * 50 *********************************************************************************************************************************/ 51 51 /** Executes a simple test. */ 52 52 #define TST_XCPT(Trapper, iTrap, uErr) \ … … 69 69 70 70 71 /******************************************************************************* 72 * Global Variables *73 ******************************************************************************* /71 /********************************************************************************************************************************* 72 * Global Variables * 73 *********************************************************************************************************************************/ 74 74 /** Where to longjmp to when getting a signal/exception. */ 75 75 jmp_buf g_JmpBuf; … … 83 83 84 84 85 /******************************************************************************* 86 * Internal Functions *87 ******************************************************************************* /85 /********************************************************************************************************************************* 86 * Internal Functions * 87 *********************************************************************************************************************************/ 88 88 DECLASM(void) tstXcptAsmNullPtrRead(void); 89 89 DECLASM(void) tstXcptAsmNullPtrWrite(void); -
trunk/src/VBox/ValidationKit/utils/cpu/xmmsaving.cpp
r56295 r57358 27 27 28 28 29 /******************************************************************************* 30 * Header Files *31 ******************************************************************************* /29 /********************************************************************************************************************************* 30 * Header Files * 31 *********************************************************************************************************************************/ 32 32 #include <iprt/test.h> 33 33 #include <iprt/x86.h> 34 34 35 35 36 /******************************************************************************* 37 * Structures and Typedefs *38 ******************************************************************************* /36 /********************************************************************************************************************************* 37 * Structures and Typedefs * 38 *********************************************************************************************************************************/ 39 39 typedef struct MYXMMREGSET 40 40 {
Note:
See TracChangeset
for help on using the changeset viewer.