Changeset 61535 in vbox
- Timestamp:
- Jun 7, 2016 12:01:47 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 107872
- Location:
- trunk/src/VBox/ValidationKit/bootsectors
- Files:
-
- 1 edited
- 4 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/Makefile.kmk
r61385 r61535 270 270 $$(bs3-fpustate-1_0_OUTDIR)/bs3-fpustate-1-asm.o16 271 271 272 # CPU instruction decoding experiments. 273 #MISCBINS += bs3-cpu-decode-1 274 bs3-cpu-decode-1_TEMPLATE = VBoxBS3KitImg 275 bs3-cpu-decode-1_INCS = . 276 bs3-cpu-decode-1_DEFS = BS3_CMN_INSTANTIATE_FILE1=bs3-cpu-decode-1-template.c 277 bs3-cpu-decode-1_DEFS += BS3_MODE_INSTANTIATE_FILE1=bs3-cpu-decode-1-template.c 278 bs3-cpu-decode-1_SOURCES = \ 279 bs3kit/bs3-first-rm.asm \ 280 bs3-cpu-decode-1.c32 \ 281 bs3kit/bs3-cmn-instantiate.c16 \ 282 bs3kit/bs3-cmn-instantiate.c32 \ 283 bs3kit/bs3-cmn-instantiate.c64 \ 284 bs3-cpu-decode-1-asm.asm 285 bs3-cpu-decode-1-template.o:: \ 286 $$(bs3-cpu-decode-1_0_OUTDIR)/bs3kit/bs3-cmn-instantiate.o16 \ 287 $$(bs3-cpu-decode-1_0_OUTDIR)/bs3kit/bs3-cmn-instantiate.o32 \ 288 $$(bs3-cpu-decode-1_0_OUTDIR)/bs3kit/bs3-cmn-instantiate.o64 \ 289 $$(bs3-cpu-decode-1_0_OUTDIR)/bs3-cpu-decode-1-asm.o16 290 272 291 endif # VBOX_WITH_BS3KIT 273 292 -
trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-decoding-1.c32
r61523 r61535 33 33 34 34 35 /********************************************************************************************************************************* 36 * Internal Functions * 37 *********************************************************************************************************************************/ 38 BS3TESTMODE_PROTOTYPES_MODE(bs3FpuState1_Corruption); 39 40 41 /********************************************************************************************************************************* 42 * Global Variables * 43 *********************************************************************************************************************************/ 44 static const BS3TESTMODEENTRY g_aModeTest[] = 35 BS3_DECL(void) Main_pe32() 45 36 { 46 { 47 /*pszSubTest =*/ "corruption", 48 /*RM*/ bs3FpuState1_Corruption_rm, 49 /*PE16*/ NULL, //bs3FpuState1_Corruption_pe16, 50 /*PE16_32*/ NULL, //bs3FpuState1_Corruption_pe16_32, 51 /*PE16_V86*/ NULL, //bs3FpuState1_Corruption_pe16_v86, 52 /*PE32*/ bs3FpuState1_Corruption_pe32, 53 /*PE32_16*/ NULL, //bs3FpuState1_Corruption_pe32_16, 54 /*PEV86*/ NULL, //bs3FpuState1_Corruption_pev86, 55 /*PP16*/ NULL, //bs3FpuState1_Corruption_pp16, 56 /*PP16_32*/ NULL, //bs3FpuState1_Corruption_pp16_32, 57 /*PP16_V86*/ NULL, //bs3FpuState1_Corruption_pp16_v86, 58 /*PP32*/ bs3FpuState1_Corruption_pp32, 59 /*PP32_16*/ NULL, //bs3FpuState1_Corruption_pp32_16, 60 /*PPV86*/ NULL, //bs3FpuState1_Corruption_ppv86, 61 /*PAE16*/ NULL, //bs3FpuState1_Corruption_pae16, 62 /*PAE16_32*/ NULL, //bs3FpuState1_Corruption_pae16_32, 63 /*PAE16_V86*/ NULL, //bs3FpuState1_Corruption_pae16_v86, 64 /*PAE32*/ bs3FpuState1_Corruption_pae32, 65 /*PAE32_16*/ NULL, //bs3FpuState1_Corruption_pae32_16, 66 /*PAEV86*/ NULL, //bs3FpuState1_Corruption_paev86, 67 /*LM16*/ NULL, //bs3FpuState1_Corruption_lm16, 68 /*LM32*/ NULL, //bs3FpuState1_Corruption_lm32, 69 /*LM64*/ bs3FpuState1_Corruption_lm64, 70 } 71 }; 72 73 74 BS3_DECL(void) Main_rm() 75 { 76 Bs3InitAll_rm(); 77 Bs3TestInit("bs3-fpustate-1"); 37 Bs3TestInit("bs3-cpu-decoding-1"); 78 38 Bs3TestPrintf("g_uBs3CpuDetected=%#x\n", g_uBs3CpuDetected); 79 39 80 Bs3TestDoModes_rm(g_aModeTest, RT_ELEMENTS(g_aModeTest));40 // Bs3TestDoModes_rm(g_aModeTest, RT_ELEMENTS(g_aModeTest)); 81 41 82 42 Bs3TestTerm(); … … 84 44 85 45 86
Note:
See TracChangeset
for help on using the changeset viewer.