Changeset 89142 in vbox for trunk/src/VBox
- Timestamp:
- May 18, 2021 2:33:03 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 144483
- Location:
- trunk/src/VBox/ValidationKit/bootsectors
- Files:
-
- 1 added
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/Makefile.kmk
r88839 r89142 383 383 # $$(bs3-timers-1_0_OUTDIR)/bs3-timers-1-asm.o16 384 384 385 # Timing 386 MISCBINS += bs3-timing-1 387 bs3-timing-1_TEMPLATE = VBoxBS3KitImg 388 bs3-timing-1_INCS = . 389 bs3-timing-1_DEFS = BS3_CMN_INSTANTIATE_FILE1=bs3-timing-1-template.c 390 bs3-timing-1_DEFS += BS3_MODE_INSTANTIATE_FILE1=bs3-timing-1-template.c 391 ifeq ($(KBUILD_HOST),win) 392 bs3-timing-1_DEFS += HAVE_OMF_CONVERTER 393 endif 394 bs3-timing-1_SOURCES = \ 395 bs3kit/bs3-first-rm.asm \ 396 bs3-timing-1.c \ 397 bs3-timing-1-32.c32 398 385 399 endif # VBOX_WITH_BS3KIT 386 400 -
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.