Changeset 95376 in vbox for trunk/src/VBox
- Timestamp:
- Jun 26, 2022 9:30:55 PM (3 years ago)
- Location:
- trunk/src/VBox/ValidationKit/bootsectors/bs3kit
- Files:
-
- 3 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/Makefile.kmk
r95372 r95376 149 149 bs3-cmn-ExtCtxGetMxCsr.c \ 150 150 bs3-cmn-ExtCtxSetMxCsr.c \ 151 bs3-cmn-ExtCtxGetMm.c \ 152 bs3-cmn-ExtCtxSetMm.c \ 151 153 bs3-cmn-ExtCtxGetYmm.c \ 152 154 bs3-cmn-ExtCtxSetYmm.c \ … … 201 203 bs3-cmn-TestIsVmmDevTestingPresent.asm \ 202 204 bs3-cmn-TestCheckRegCtxEx.c \ 205 bs3-cmn-TestCheckExtCtx.c \ 203 206 bs3-cmn-TestQueryCfgU8.asm \ 204 207 bs3-cmn-TestQueryCfgU32.asm \ -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit-autostubs.kmk
r95372 r95376 37 37 $(call BS3KIT_FN_GEN_CMN_FARSTUB,bs3kit-common-16,Bs3SelFar32ToFlat32NoClobber,6) 38 38 $(call BS3KIT_FN_GEN_CMN_FARSTUB,bs3kit-common-16,Bs3RegCtxSaveEx,8) 39 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3ExtCtxSetMm) 39 40 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3ExtCtxSetYmm) 41 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3TestCheckExtCtx) 40 42 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3TestCheckRegCtxEx) 41 43 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3TestFailed) … … 77 79 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3SelProtFar32ToFlat32) 78 80 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3TestQueryCfgU32) 81 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3ExtCtxGetMm) 79 82 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3TestNow) 80 83 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3TestQueryCfgU8) -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit-mangling-code-define.h
r95372 r95376 34 34 #define Bs3ExtCtxCopy BS3_CMN_MANGLER(Bs3ExtCtxCopy) 35 35 #define Bs3ExtCtxFree BS3_CMN_MANGLER(Bs3ExtCtxFree) 36 #define Bs3ExtCtxGetMm BS3_CMN_MANGLER(Bs3ExtCtxGetMm) 36 37 #define Bs3ExtCtxGetMxCsr BS3_CMN_MANGLER(Bs3ExtCtxGetMxCsr) 37 38 #define Bs3ExtCtxGetSize BS3_CMN_MANGLER(Bs3ExtCtxGetSize) … … 40 41 #define Bs3ExtCtxRestore BS3_CMN_MANGLER(Bs3ExtCtxRestore) 41 42 #define Bs3ExtCtxSave BS3_CMN_MANGLER(Bs3ExtCtxSave) 43 #define Bs3ExtCtxSetMm BS3_CMN_MANGLER(Bs3ExtCtxSetMm) 42 44 #define Bs3ExtCtxSetMxCsr BS3_CMN_MANGLER(Bs3ExtCtxSetMxCsr) 43 45 #define Bs3ExtCtxSetYmm BS3_CMN_MANGLER(Bs3ExtCtxSetYmm) … … 161 163 #define Bs3StrPrintfV BS3_CMN_MANGLER(Bs3StrPrintfV) 162 164 #define Bs3SwitchFromV86To16BitAndCallC BS3_CMN_MANGLER(Bs3SwitchFromV86To16BitAndCallC) 165 #define Bs3TestCheckExtCtx BS3_CMN_MANGLER(Bs3TestCheckExtCtx) 163 166 #define Bs3TestCheckRegCtxEx BS3_CMN_MANGLER(Bs3TestCheckRegCtxEx) 164 167 #define Bs3TestFailed BS3_CMN_MANGLER(Bs3TestFailed) -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit-mangling-code-undef.h
r95372 r95376 34 34 #undef Bs3ExtCtxCopy 35 35 #undef Bs3ExtCtxFree 36 #undef Bs3ExtCtxGetMm 36 37 #undef Bs3ExtCtxGetMxCsr 37 38 #undef Bs3ExtCtxGetSize … … 40 41 #undef Bs3ExtCtxRestore 41 42 #undef Bs3ExtCtxSave 43 #undef Bs3ExtCtxSetMm 42 44 #undef Bs3ExtCtxSetMxCsr 43 45 #undef Bs3ExtCtxSetYmm … … 161 163 #undef Bs3StrPrintfV 162 164 #undef Bs3SwitchFromV86To16BitAndCallC 165 #undef Bs3TestCheckExtCtx 163 166 #undef Bs3TestCheckRegCtxEx 164 167 #undef Bs3TestFailed -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit.h
r95372 r95376 2897 2897 2898 2898 /** 2899 * Gets the value of MM register number @a iReg from @a pExtCtx. 2900 * 2901 * @returns The MM register value. 2902 * @param pExtCtx The extended CPU context. 2903 * @param iReg The register to get (0 thru 7). 2904 */ 2905 BS3_CMN_PROTO_STUB(uint64_t, Bs3ExtCtxGetMm,(PCBS3EXTCTX pExtCtx, uint8_t iReg)); 2906 2907 /** 2908 * Sets the value of YMM register number @a iReg in @a pExtCtx to @a pValue. 2909 * 2910 * @returns True if set, false if not. 2911 * @param pExtCtx The extended CPU context. 2912 * @param iReg The register to set. 2913 * @param uValue The new register value. 2914 */ 2915 BS3_CMN_PROTO_STUB(bool, Bs3ExtCtxSetMm,(PBS3EXTCTX pExtCtx, uint8_t iReg, uint64_t uValue)); 2916 2917 /** 2899 2918 * Gets the value of YMM register number @a iReg from @a pExtCtx. 2900 2919 * 2901 * @returns MXCSR value, 0 if not part of context.2920 * @returns pValue 2902 2921 * @param pExtCtx The extended CPU context. 2903 2922 * @param iReg The register to get. … … 3428 3447 int16_t cbSpAdjust, uint32_t fExtraEfl, 3429 3448 const char BS3_FAR *pszMode, uint16_t idTestStep)); 3449 3450 /** 3451 * Compares two extended register contexts. 3452 * 3453 * Differences will be reported as test failures. 3454 * 3455 * @returns true if equal, false if not. 3456 * @param pActualExtCtx The actual register context. 3457 * @param pExpectedExtCtx Expected register context. 3458 * @param fFlags Reserved, pass 0. 3459 * @param pszMode CPU mode or some other helpful text. 3460 * @param idTestStep Test step identifier. 3461 */ 3462 BS3_CMN_PROTO_STUB(bool, Bs3TestCheckExtCtx,(PCBS3EXTCTX pActualExtCtx, PCBS3EXTCTX pExpectedExtCtx, uint16_t fFlags, 3463 const char BS3_FAR *pszMode, uint16_t idTestStep)); 3430 3464 3431 3465 /**
Note:
See TracChangeset
for help on using the changeset viewer.