Changeset 57358 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Aug 14, 2015 3:16:38 PM (9 years ago)
- Location:
- trunk/src/VBox/ValidationKit
- Files:
-
- 21 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/VBoxBs2Linker.cpp
r56295 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #include <stdio.h> 32 32 #include <string.h> -
trunk/src/VBox/ValidationKit/snippets/alloc-1.c
r56295 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #include <stdlib.h> 31 32 #include <stdio.h> -
trunk/src/VBox/ValidationKit/snippets/time-1.c
r56295 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #include <stdio.h> 31 32 #include <time.h> -
trunk/src/VBox/ValidationKit/testboxscript/TestBoxHelper.cpp
r56295 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #include <iprt/buildconfig.h> 32 32 #include <iprt/env.h> -
trunk/src/VBox/ValidationKit/utils/TestExecServ/TestExecService.cpp
r56988 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #define LOG_GROUP RTLOGGROUP_DEFAULT 32 32 #include <iprt/alloca.h> … … 67 67 68 68 69 /******************************************************************************* 70 * Structures and Typedefs *71 ******************************************************************************* /69 /********************************************************************************************************************************* 70 * Structures and Typedefs * 71 *********************************************************************************************************************************/ 72 72 /** 73 73 * Handle IDs used by txsDoExec for the poll set. … … 153 153 154 154 155 /******************************************************************************* 156 * Global Variables *157 ******************************************************************************* /155 /********************************************************************************************************************************* 156 * Global Variables * 157 *********************************************************************************************************************************/ 158 158 /** 159 159 * Transport layers. -
trunk/src/VBox/ValidationKit/utils/TestExecServ/TestExecServiceTcp.cpp
r56295 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #define LOG_GROUP RTLOGGROUP_DEFAULT 32 32 #include <iprt/asm.h> … … 46 46 47 47 48 /******************************************************************************* 49 * Defined Constants And Macros *50 ******************************************************************************* /48 /********************************************************************************************************************************* 49 * Defined Constants And Macros * 50 *********************************************************************************************************************************/ 51 51 /** The default server port. */ 52 52 #define TXS_TCP_DEF_BIND_PORT 5042 … … 60 60 61 61 62 /******************************************************************************* 63 * Global Variables *64 ******************************************************************************* /62 /********************************************************************************************************************************* 63 * Global Variables * 64 *********************************************************************************************************************************/ 65 65 /** @name TCP Parameters 66 66 * @{ */ -
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 { -
trunk/src/VBox/ValidationKit/utils/misc/loadgenerator.cpp
r56295 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #include <iprt/thread.h> 32 32 #include <iprt/time.h> … … 43 43 44 44 45 /******************************************************************************* 46 * Global Variables *47 ******************************************************************************* /45 /********************************************************************************************************************************* 46 * Global Variables * 47 *********************************************************************************************************************************/ 48 48 /** Whether the threads should quit or not. */ 49 49 static bool volatile g_fQuit = false; … … 51 51 52 52 53 /******************************************************************************* 54 * Internal Functions *55 ******************************************************************************* /53 /********************************************************************************************************************************* 54 * Internal Functions * 55 *********************************************************************************************************************************/ 56 56 static int Error(const char *pszFormat, ...); 57 57 -
trunk/src/VBox/ValidationKit/utils/misc/loadgeneratorR0.cpp
r56295 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #include <iprt/mp.h> 32 32 #include <VBox/sup.h> -
trunk/src/VBox/ValidationKit/utils/misc/vts_rm.cpp
r56295 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #include <iprt/path.h> 32 32 #include <iprt/err.h> -
trunk/src/VBox/ValidationKit/utils/misc/vts_tar.cpp
r56295 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #include <iprt/zip.h> 32 32 #include <iprt/err.h> -
trunk/src/VBox/ValidationKit/utils/network/NetPerf.cpp
r57004 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #include <iprt/asm.h> 32 32 #include <iprt/assert.h> … … 50 50 51 51 52 /******************************************************************************* 53 * Defined Constants And Macros *54 ******************************************************************************* /52 /********************************************************************************************************************************* 53 * Defined Constants And Macros * 54 *********************************************************************************************************************************/ 55 55 /** Default TCP port (update help text if you change this) */ 56 56 #define NETPERF_DEFAULT_PORT 5002 … … 91 91 92 92 93 /******************************************************************************* 94 * Structures and Typedefs *95 ******************************************************************************* /93 /********************************************************************************************************************************* 94 * Structures and Typedefs * 95 *********************************************************************************************************************************/ 96 96 typedef enum NETPERFPROTO 97 97 { … … 202 202 203 203 204 /******************************************************************************* 205 * Global Variables *206 ******************************************************************************* /204 /********************************************************************************************************************************* 205 * Global Variables * 206 *********************************************************************************************************************************/ 207 207 /** Connection start/identifier to make sure other end is NetPerf. */ 208 208 static const char g_ConnectStart[] = "yo! waaazzzzzaaaaup dude?"; -
trunk/src/VBox/ValidationKit/utils/nt/ntsetfreq.cpp
r56295 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #define _WIN32_WINNT 0x0500 32 32 #include <Windows.h> -
trunk/src/VBox/ValidationKit/utils/nt/nttimesources.cpp
r56295 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #include <Windows.h> 32 32 … … 38 38 39 39 40 /******************************************************************************* 41 * Structures and Typedefs *42 ******************************************************************************* /40 /********************************************************************************************************************************* 41 * Structures and Typedefs * 42 *********************************************************************************************************************************/ 43 43 typedef struct _MY_KSYSTEM_TIME 44 44 { -
trunk/src/VBox/ValidationKit/utils/usb/UsbTest.cpp
r56295 r57358 27 27 28 28 29 /******************************************************************************* 30 * Header Files *31 ******************************************************************************* /29 /********************************************************************************************************************************* 30 * Header Files * 31 *********************************************************************************************************************************/ 32 32 #include <iprt/err.h> 33 33 #include <iprt/getopt.h> … … 51 51 #include <linux/usbdevice_fs.h> 52 52 53 /******************************************************************************* 54 * Defined Constants And Macros * 55 *******************************************************************************/ 53 54 /********************************************************************************************************************************* 55 * Defined Constants And Macros * 56 *********************************************************************************************************************************/ 56 57 57 58 /** Number of tests implemented at the moment. */ 58 59 #define USBTEST_TEST_CASES 25 59 60 60 /******************************************************************************* 61 * Structures and Typedefs * 62 *******************************************************************************/ 61 62 /********************************************************************************************************************************* 63 * Structures and Typedefs * 64 *********************************************************************************************************************************/ 63 65 64 66 /** … … 110 112 #define USBTEST_REQUEST _IOWR('U', 100, USBTESTPARMS) 111 113 112 /******************************************************************************* 113 * Global Variables * 114 *******************************************************************************/ 114 115 /********************************************************************************************************************************* 116 * Global Variables * 117 *********************************************************************************************************************************/ 115 118 116 119 /** Command line parameters */
Note:
See TracChangeset
for help on using the changeset viewer.