- Timestamp:
- Mar 7, 2016 4:37:34 PM (9 years ago)
- Location:
- trunk/src/VBox/ValidationKit/bootsectors/bs3kit
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-mode-SwitchToLM16.asm
r59287 r59946 66 66 67 67 extern _Bs3SwitchTo16Bit_c32 68 %if TMPL_BITS == 16 69 sub esp, 2 70 shr dword [esp], 16 71 %elif TMPL_BITS == 64 72 pop dword [esp + 4] 73 %endif 68 74 jmp _Bs3SwitchTo16Bit_c32 69 75 %endif -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-mode-TestDoModes.c
r59941 r59946 172 172 { 173 173 bool const fDoV86Mode = false; 174 uint8_t const bCpuType = BS3_DATA_NM(g_uBs3CpuDetected) & BS3CPU_TYPE_MASK; 175 bool const fHavePae = RT_BOOL(BS3_DATA_NM(g_uBs3CpuDetected) & BS3CPU_F_PAE); 176 bool const fHaveLongMode = RT_BOOL(BS3_DATA_NM(g_uBs3CpuDetected) & BS3CPU_F_LONG_MODE); 174 uint16_t const uCpuDetected = BS3_DATA_NM(g_uBs3CpuDetected); 175 uint8_t const bCpuType = uCpuDetected & BS3CPU_TYPE_MASK; 176 bool const fHavePae = RT_BOOL(uCpuDetected & BS3CPU_F_PAE); 177 bool const fHaveLongMode = RT_BOOL(uCpuDetected & BS3CPU_F_LONG_MODE); 177 178 unsigned i; 178 179 180 #if 1 /* debug. */ 181 Bs3Printf("Bs3TestDoModes: uCpuDetected=%#x fHavePae=%d fHaveLongMode=%d\n", uCpuDetected, fHavePae, fHaveLongMode); 182 #endif 179 183 bs3TestWarnAboutSkippedModes(paEntries, cEntries, bCpuType, fHavePae, fHaveLongMode); 180 184 -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-mode-TestDoModesHlp.asm
r59941 r59946 81 81 ; @param xAX Where to jump to for the main event. 82 82 ; 83 TMPL_NM(bs3TestCallDoerPrologue): 83 BS3_GLOBAL_NAME_EX TMPL_NM(bs3TestCallDoerPrologue), , 0 84 84 BS3_CALL_CONV_PROLOG 1 85 85 push xBP … … 120 120 ; @param xAX Return code. 121 121 ; 122 TMPL_NM(bs3TestCallDoerEpilogue): 122 BS3_GLOBAL_NAME_EX TMPL_NM(bs3TestCallDoerEpilogue), , 0 123 123 ; Restore registers. 124 124 %if TMPL_BITS == 16 -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit-template-header.mac
r59863 r59946 330 330 %elif TMPL_MODE == BS3_MODE_PAE32_16 331 331 %define TMPL_PAE32_16 332 %define TMPL_MODE_STR "32-bit pae, 32-bit"332 %define TMPL_MODE_STR "32-bit pae, 16-bit" 333 333 %define TMPL_NM(Name) _ %+ Name %+ _pae32_16 334 334 %define TMPL_MODE_LNAME pae32_16
Note:
See TracChangeset
for help on using the changeset viewer.