Changeset 89142 in vbox for trunk/src/VBox/ValidationKit/bootsectors/bs3-timing-1.c
- Timestamp:
- May 18, 2021 2:33:03 PM (4 years ago)
- File:
-
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3-timing-1.c
r89138 r89142 1 1 /* $Id$ */ 2 2 /** @file 3 * BS3Kit - bs3-tim ers-1, 16-bit C code.3 * BS3Kit - bs3-timing-1, 16-bit C code. 4 4 */ 5 5 … … 36 36 * Internal Functions * 37 37 *********************************************************************************************************************************/ 38 FNBS3TESTDOMODE bs3Timers1_Pit_100Hz_f16; 39 FNBS3TESTDOMODE bs3Timers1_Pit_1000Hz_f16; 40 FNBS3TESTDOMODE bs3Timers1_Pit_2000Hz_f16; 41 FNBS3TESTDOMODE bs3Timers1_Pit_4000Hz_f16; 38 BS3_DECL_CALLBACK(void) bs3Timing1_Tsc_pe32(); 42 39 43 44 /*********************************************************************************************************************************45 * Global Variables *46 *********************************************************************************************************************************/47 static const BS3TESTMODEBYONEENTRY g_aModeByOneTests[] =48 {49 { "pit-100Hz", bs3Timers1_Pit_100Hz_f16, BS3TESTMODEBYONEENTRY_F_MINIMAL },50 { "pit-1000Hz", bs3Timers1_Pit_1000Hz_f16, BS3TESTMODEBYONEENTRY_F_MINIMAL },51 { "pit-2000Hz", bs3Timers1_Pit_2000Hz_f16, BS3TESTMODEBYONEENTRY_F_MINIMAL },52 { "pit-4000Hz", bs3Timers1_Pit_4000Hz_f16, BS3TESTMODEBYONEENTRY_F_MINIMAL },53 };54 40 55 41 … … 57 43 { 58 44 Bs3InitAll_rm(); 59 Bs3TestInit("bs3-tim ers-1");45 Bs3TestInit("bs3-timing-1"); 60 46 61 Bs3TestDoModesByOne_rm(g_aModeByOneTests, RT_ELEMENTS(g_aModeByOneTests), 0); 47 /* Switch to PE32 and do the work from there, all the 64-bit integer 48 handling should be a little more efficient in 32-bit mode. */ 49 Bs3SwitchTo32BitAndCallC_rm(bs3Timing1_Tsc_pe32, 0); 62 50 63 51 Bs3TestTerm();
Note:
See TracChangeset
for help on using the changeset viewer.