Changeset 95399 in vbox for trunk/src/VBox
- Timestamp:
- Jun 27, 2022 8:21:13 PM (3 years ago)
- Location:
- trunk/src/VBox/ValidationKit/bootsectors/bs3kit
- Files:
-
- 7 edited
- 6 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/Makefile.kmk
r95397 r95399 147 147 bs3-cmn-ExtCtxFree.c \ 148 148 bs3-cmn-ExtCtxCopy.c \ 149 bs3-cmn-ExtCtxGetFcw.c \ 150 bs3-cmn-ExtCtxSetFcw.c \ 151 bs3-cmn-ExtCtxGetFsw.c \ 152 bs3-cmn-ExtCtxSetFsw.c \ 153 bs3-cmn-ExtCtxGetAbridgedFtw.c \ 154 bs3-cmn-ExtCtxSetAbridgedFtw.c \ 149 155 bs3-cmn-ExtCtxGetMxCsr.c \ 150 156 bs3-cmn-ExtCtxSetMxCsr.c \ 157 bs3-cmn-ExtCtxGetMxCsrMask.c \ 158 bs3-cmn-ExtCtxSetMxCsrMask.c \ 151 159 bs3-cmn-ExtCtxGetMm.c \ 152 160 bs3-cmn-ExtCtxSetMm.c \ -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-ExtCtxGetAbridgedFtw.c
r95398 r95399 1 1 /* $Id$ */ 2 2 /** @file 3 * BS3Kit - Bs3ExtCtxGet Fcw3 * BS3Kit - Bs3ExtCtxGetAbridgedFtw 4 4 */ 5 5 … … 32 32 33 33 34 #undef Bs3ExtCtxGet Fcw35 BS3_CMN_DEF(uint16_t, Bs3ExtCtxGet Fcw,(PCBS3EXTCTX pExtCtx))34 #undef Bs3ExtCtxGetAbridgedFtw 35 BS3_CMN_DEF(uint16_t, Bs3ExtCtxGetAbridgedFtw,(PCBS3EXTCTX pExtCtx)) 36 36 { 37 AssertCompileMembersAtSameOffset(BS3EXTCTX, Ctx.x87.F CW, BS3EXTCTX, Ctx.x.x87.FCW);37 AssertCompileMembersAtSameOffset(BS3EXTCTX, Ctx.x87.FTW, BS3EXTCTX, Ctx.x.x87.FTW); 38 38 switch (pExtCtx->enmMethod) 39 39 { 40 40 case BS3EXTCTXMETHOD_FXSAVE: 41 41 case BS3EXTCTXMETHOD_XSAVE: 42 return pExtCtx->Ctx.x87.F CW;42 return pExtCtx->Ctx.x87.FTW; 43 43 44 44 case BS3EXTCTXMETHOD_ANCIENT: 45 return pExtCtx->Ctx.Ancient.FCW; 45 { 46 /* iemFpuCompressFtw: */ 47 uint16_t u16FullFtw = pExtCtx->Ctx.Ancient.FTW; 48 uint8_t u8Ftw = 0; 49 unsigned i; 50 for (i = 0; i < 8; i++) 51 { 52 if ((u16FullFtw & 3) != 3 /*empty*/) 53 u8Ftw |= RT_BIT(i); 54 u16FullFtw >>= 2; 55 } 56 return u8Ftw; 57 } 46 58 } 47 59 return 0; -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-ExtCtxGetFsw.c
r95398 r95399 1 1 /* $Id$ */ 2 2 /** @file 3 * BS3Kit - Bs3ExtCtxGetF cw3 * BS3Kit - Bs3ExtCtxGetFsw 4 4 */ 5 5 … … 32 32 33 33 34 #undef Bs3ExtCtxGetF cw35 BS3_CMN_DEF(uint16_t, Bs3ExtCtxGetF cw,(PCBS3EXTCTX pExtCtx))34 #undef Bs3ExtCtxGetFsw 35 BS3_CMN_DEF(uint16_t, Bs3ExtCtxGetFsw,(PCBS3EXTCTX pExtCtx)) 36 36 { 37 AssertCompileMembersAtSameOffset(BS3EXTCTX, Ctx.x87.F CW, BS3EXTCTX, Ctx.x.x87.FCW);37 AssertCompileMembersAtSameOffset(BS3EXTCTX, Ctx.x87.FSW, BS3EXTCTX, Ctx.x.x87.FSW); 38 38 switch (pExtCtx->enmMethod) 39 39 { 40 40 case BS3EXTCTXMETHOD_FXSAVE: 41 41 case BS3EXTCTXMETHOD_XSAVE: 42 return pExtCtx->Ctx.x87.F CW;42 return pExtCtx->Ctx.x87.FSW; 43 43 44 44 case BS3EXTCTXMETHOD_ANCIENT: 45 return pExtCtx->Ctx.Ancient.F CW;45 return pExtCtx->Ctx.Ancient.FSW; 46 46 } 47 47 return 0; -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-ExtCtxGetMxCsrMask.c
r95386 r95399 1 1 /* $Id$ */ 2 2 /** @file 3 * BS3Kit - Bs3ExtCtxGetMxCsr 3 * BS3Kit - Bs3ExtCtxGetMxCsrMask 4 4 */ 5 5 … … 32 32 33 33 34 #undef Bs3ExtCtxGetMxCsr 35 BS3_CMN_DEF(uint32_t, Bs3ExtCtxGetMxCsr ,(PCBS3EXTCTX pExtCtx))34 #undef Bs3ExtCtxGetMxCsrMask 35 BS3_CMN_DEF(uint32_t, Bs3ExtCtxGetMxCsrMask,(PCBS3EXTCTX pExtCtx)) 36 36 { 37 AssertCompileMembersAtSameOffset(BS3EXTCTX, Ctx.x87.MXCSR , BS3EXTCTX, Ctx.x.x87.MXCSR);37 AssertCompileMembersAtSameOffset(BS3EXTCTX, Ctx.x87.MXCSR_MASK, BS3EXTCTX, Ctx.x.x87.MXCSR_MASK); 38 38 if ( pExtCtx->enmMethod == BS3EXTCTXMETHOD_FXSAVE 39 39 || pExtCtx->enmMethod == BS3EXTCTXMETHOD_XSAVE) 40 return pExtCtx->Ctx.x87.MXCSR ;40 return pExtCtx->Ctx.x87.MXCSR_MASK; 41 41 return 0; 42 42 } -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-ExtCtxSetAbridgedFtw.c
r95398 r95399 1 1 /* $Id$ */ 2 2 /** @file 3 * BS3Kit - Bs3ExtCtxSet Fcw3 * BS3Kit - Bs3ExtCtxSetAbridgedFtw 4 4 */ 5 5 … … 32 32 33 33 34 #undef Bs3ExtCtxSet Fcw35 BS3_CMN_DEF( void, Bs3ExtCtxSetFcw,(PBS3EXTCTX pExtCtx, uint16_t uValue))34 #undef Bs3ExtCtxSetAbridgedFtw 35 BS3_CMN_DEF(bool, Bs3ExtCtxSetAbridgedFtw,(PBS3EXTCTX pExtCtx, uint16_t uValue)) 36 36 { 37 AssertCompileMembersAtSameOffset(BS3EXTCTX, Ctx.x87.F CW, BS3EXTCTX, Ctx.x.x87.FCW);37 AssertCompileMembersAtSameOffset(BS3EXTCTX, Ctx.x87.FTW, BS3EXTCTX, Ctx.x.x87.FTW); 38 38 switch (pExtCtx->enmMethod) 39 39 { 40 40 case BS3EXTCTXMETHOD_FXSAVE: 41 41 case BS3EXTCTXMETHOD_XSAVE: 42 pExtCtx->Ctx.x87.F CW= uValue;43 break;42 pExtCtx->Ctx.x87.FTW = uValue; 43 return true; 44 44 45 45 case BS3EXTCTXMETHOD_ANCIENT: 46 pExtCtx->Ctx.Ancient.FCW = uValue;46 /* Could do iemFpuCalcFullFtw here, but too much work for now... */ 47 47 break; 48 48 } 49 return false; 49 50 } 50 51 -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-ExtCtxSetFsw.c
r95398 r95399 1 1 /* $Id$ */ 2 2 /** @file 3 * BS3Kit - Bs3ExtCtxSetF cw3 * BS3Kit - Bs3ExtCtxSetFsw 4 4 */ 5 5 … … 32 32 33 33 34 #undef Bs3ExtCtxSetF cw35 BS3_CMN_DEF(void, Bs3ExtCtxSetF cw,(PBS3EXTCTX pExtCtx, uint16_t uValue))34 #undef Bs3ExtCtxSetFsw 35 BS3_CMN_DEF(void, Bs3ExtCtxSetFsw,(PBS3EXTCTX pExtCtx, uint16_t uValue)) 36 36 { 37 AssertCompileMembersAtSameOffset(BS3EXTCTX, Ctx.x87.F CW, BS3EXTCTX, Ctx.x.x87.FCW);37 AssertCompileMembersAtSameOffset(BS3EXTCTX, Ctx.x87.FSW, BS3EXTCTX, Ctx.x.x87.FSW); 38 38 switch (pExtCtx->enmMethod) 39 39 { 40 40 case BS3EXTCTXMETHOD_FXSAVE: 41 41 case BS3EXTCTXMETHOD_XSAVE: 42 pExtCtx->Ctx.x87.F CW = uValue;42 pExtCtx->Ctx.x87.FSW = uValue; 43 43 break; 44 44 45 45 case BS3EXTCTXMETHOD_ANCIENT: 46 pExtCtx->Ctx.Ancient.F CW = uValue;46 pExtCtx->Ctx.Ancient.FSW = uValue; 47 47 break; 48 48 } -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-ExtCtxSetMm.c
r95376 r95399 41 41 case BS3EXTCTXMETHOD_FXSAVE: 42 42 case BS3EXTCTXMETHOD_XSAVE: 43 pExtCtx->Ctx.x87.aRegs[iReg].mmx = uValue; 43 /* pxor mm1, mm2 on 10980XE sets mm1's sign and exponent to all 1's. */ 44 pExtCtx->Ctx.x87.aRegs[iReg].au16[4] = UINT16_MAX; 45 pExtCtx->Ctx.x87.aRegs[iReg].mmx = uValue; 44 46 return true; 45 47 46 48 case BS3EXTCTXMETHOD_ANCIENT: 47 pExtCtx->Ctx.Ancient.regs[iReg].mmx = uValue; 49 pExtCtx->Ctx.Ancient.regs[iReg].au16[4] = UINT16_MAX; /* see above */ 50 pExtCtx->Ctx.Ancient.regs[iReg].mmx = uValue; 48 51 return true; 49 52 } -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-ExtCtxSetMxCsr.c
r95372 r95399 1 1 /* $Id$ */ 2 2 /** @file 3 * BS3Kit - Bs3ExtCtx Init3 * BS3Kit - Bs3ExtCtxSetMxCsr 4 4 */ 5 5 … … 33 33 34 34 #undef Bs3ExtCtxSetMxCsr 35 BS3_CMN_DEF( void, Bs3ExtCtxSetMxCsr,(PBS3EXTCTX pExtCtx, uint32_t uValue))35 BS3_CMN_DEF(bool, Bs3ExtCtxSetMxCsr,(PBS3EXTCTX pExtCtx, uint32_t uValue)) 36 36 { 37 37 AssertCompileMembersAtSameOffset(BS3EXTCTX, Ctx.x87.MXCSR, BS3EXTCTX, Ctx.x.x87.MXCSR); 38 38 if ( pExtCtx->enmMethod == BS3EXTCTXMETHOD_FXSAVE 39 39 || pExtCtx->enmMethod == BS3EXTCTXMETHOD_XSAVE) 40 { 40 41 pExtCtx->Ctx.x87.MXCSR = uValue; 42 return true; 43 } 44 return false; 41 45 } 42 46 -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-ExtCtxSetMxCsrMask.c
r95386 r95399 1 1 /* $Id$ */ 2 2 /** @file 3 * BS3Kit - Bs3ExtCtx Init3 * BS3Kit - Bs3ExtCtxSetMxCsrMask 4 4 */ 5 5 … … 32 32 33 33 34 #undef Bs3ExtCtxSetMxCsr 35 BS3_CMN_DEF( void, Bs3ExtCtxSetMxCsr,(PBS3EXTCTX pExtCtx, uint32_t uValue))34 #undef Bs3ExtCtxSetMxCsrMask 35 BS3_CMN_DEF(bool, Bs3ExtCtxSetMxCsrMask,(PBS3EXTCTX pExtCtx, uint32_t uValue)) 36 36 { 37 37 AssertCompileMembersAtSameOffset(BS3EXTCTX, Ctx.x87.MXCSR, BS3EXTCTX, Ctx.x.x87.MXCSR); 38 38 if ( pExtCtx->enmMethod == BS3EXTCTXMETHOD_FXSAVE 39 39 || pExtCtx->enmMethod == BS3EXTCTXMETHOD_XSAVE) 40 pExtCtx->Ctx.x87.MXCSR = uValue; 40 { 41 pExtCtx->Ctx.x87.MXCSR_MASK = uValue; 42 return true; 43 } 44 return false; 41 45 } 42 46 -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit-autostubs.kmk
r95397 r95399 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,Bs3ExtCtxSetAbridgedFtw) 39 40 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3ExtCtxSetMm) 41 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3ExtCtxSetMxCsrMask) 42 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3ExtCtxSetMxCsr) 40 43 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3ExtCtxSetXmm) 41 44 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3ExtCtxSetYmm) … … 73 76 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3StrPrintf) 74 77 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3StrPrintfV) 78 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3ExtCtxGetAbridgedFtw) 79 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3ExtCtxGetFcw) 80 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3ExtCtxGetFsw) 75 81 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3ExtCtxGetSize) 76 82 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3PicUpdateMask) 77 83 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3SlabFree) 78 84 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3TestSubErrorCount) 85 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3ExtCtxGetMxCsrMask) 79 86 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3ExtCtxGetMxCsr) 80 87 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3SelFar32ToFlat32) … … 86 93 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3TrapSetDpl) 87 94 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3ExtCtxFree) 88 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3ExtCtxSetMxCsr) 95 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3ExtCtxSetFcw) 96 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3ExtCtxSetFsw) 89 97 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3MemAlloc) 90 98 $(call BS3KIT_FN_GEN_CMN_NEARSTUB,bs3kit-common-16,Bs3MemAllocZ) -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit-mangling-code-define.h
r95397 r95399 34 34 #define Bs3ExtCtxCopy BS3_CMN_MANGLER(Bs3ExtCtxCopy) 35 35 #define Bs3ExtCtxFree BS3_CMN_MANGLER(Bs3ExtCtxFree) 36 #define Bs3ExtCtxGetAbridgedFtw BS3_CMN_MANGLER(Bs3ExtCtxGetAbridgedFtw) 37 #define Bs3ExtCtxGetFcw BS3_CMN_MANGLER(Bs3ExtCtxGetFcw) 38 #define Bs3ExtCtxGetFsw BS3_CMN_MANGLER(Bs3ExtCtxGetFsw) 36 39 #define Bs3ExtCtxGetMm BS3_CMN_MANGLER(Bs3ExtCtxGetMm) 37 40 #define Bs3ExtCtxGetMxCsr BS3_CMN_MANGLER(Bs3ExtCtxGetMxCsr) 41 #define Bs3ExtCtxGetMxCsrMask BS3_CMN_MANGLER(Bs3ExtCtxGetMxCsrMask) 38 42 #define Bs3ExtCtxGetSize BS3_CMN_MANGLER(Bs3ExtCtxGetSize) 39 43 #define Bs3ExtCtxGetXmm BS3_CMN_MANGLER(Bs3ExtCtxGetXmm) … … 42 46 #define Bs3ExtCtxRestore BS3_CMN_MANGLER(Bs3ExtCtxRestore) 43 47 #define Bs3ExtCtxSave BS3_CMN_MANGLER(Bs3ExtCtxSave) 48 #define Bs3ExtCtxSetAbridgedFtw BS3_CMN_MANGLER(Bs3ExtCtxSetAbridgedFtw) 49 #define Bs3ExtCtxSetFcw BS3_CMN_MANGLER(Bs3ExtCtxSetFcw) 50 #define Bs3ExtCtxSetFsw BS3_CMN_MANGLER(Bs3ExtCtxSetFsw) 44 51 #define Bs3ExtCtxSetMm BS3_CMN_MANGLER(Bs3ExtCtxSetMm) 45 52 #define Bs3ExtCtxSetMxCsr BS3_CMN_MANGLER(Bs3ExtCtxSetMxCsr) 53 #define Bs3ExtCtxSetMxCsrMask BS3_CMN_MANGLER(Bs3ExtCtxSetMxCsrMask) 46 54 #define Bs3ExtCtxSetXmm BS3_CMN_MANGLER(Bs3ExtCtxSetXmm) 47 55 #define Bs3ExtCtxSetYmm BS3_CMN_MANGLER(Bs3ExtCtxSetYmm) -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit-mangling-code-undef.h
r95397 r95399 34 34 #undef Bs3ExtCtxCopy 35 35 #undef Bs3ExtCtxFree 36 #undef Bs3ExtCtxGetAbridgedFtw 37 #undef Bs3ExtCtxGetFcw 38 #undef Bs3ExtCtxGetFsw 36 39 #undef Bs3ExtCtxGetMm 37 40 #undef Bs3ExtCtxGetMxCsr 41 #undef Bs3ExtCtxGetMxCsrMask 38 42 #undef Bs3ExtCtxGetSize 39 43 #undef Bs3ExtCtxGetXmm … … 42 46 #undef Bs3ExtCtxRestore 43 47 #undef Bs3ExtCtxSave 48 #undef Bs3ExtCtxSetAbridgedFtw 49 #undef Bs3ExtCtxSetFcw 50 #undef Bs3ExtCtxSetFsw 44 51 #undef Bs3ExtCtxSetMm 45 52 #undef Bs3ExtCtxSetMxCsr 53 #undef Bs3ExtCtxSetMxCsrMask 46 54 #undef Bs3ExtCtxSetXmm 47 55 #undef Bs3ExtCtxSetYmm -
trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit.h
r95397 r95399 2881 2881 2882 2882 /** 2883 * Gets the FCW register value from @a pExtCtx. 2884 * 2885 * @returns FCW value. 2886 * @param pExtCtx The extended CPU context. 2887 */ 2888 BS3_CMN_PROTO_STUB(uint16_t, Bs3ExtCtxGetFcw,(PCBS3EXTCTX pExtCtx)); 2889 2890 /** 2891 * Sets the FCW register value in @a pExtCtx. 2892 * 2893 * @param pExtCtx The extended CPU context. 2894 * @param uValue The new FCW value. 2895 */ 2896 BS3_CMN_PROTO_STUB(void, Bs3ExtCtxSetFcw,(PBS3EXTCTX pExtCtx, uint16_t uValue)); 2897 2898 /** 2899 * Gets the FSW register value from @a pExtCtx. 2900 * 2901 * @returns FSW value. 2902 * @param pExtCtx The extended CPU context. 2903 */ 2904 BS3_CMN_PROTO_STUB(uint16_t, Bs3ExtCtxGetFsw,(PCBS3EXTCTX pExtCtx)); 2905 2906 /** 2907 * Sets the FSW register value in @a pExtCtx. 2908 * 2909 * @param pExtCtx The extended CPU context. 2910 * @param uValue The new FSW value. 2911 */ 2912 BS3_CMN_PROTO_STUB(void, Bs3ExtCtxSetFsw,(PBS3EXTCTX pExtCtx, uint16_t uValue)); 2913 2914 /** 2915 * Gets the abridged FTW register value from @a pExtCtx. 2916 * 2917 * @returns FTW value. 2918 * @param pExtCtx The extended CPU context. 2919 */ 2920 BS3_CMN_PROTO_STUB(uint16_t, Bs3ExtCtxGetAbridgedFtw,(PCBS3EXTCTX pExtCtx)); 2921 2922 /** 2923 * Sets the abridged FTW register value in @a pExtCtx. 2924 * 2925 * Currently this requires that the state stores teh abridged FTW, no conversion 2926 * to the two-bit variant will be attempted. 2927 * 2928 * @returns true if set successfully, false if not. 2929 * @param pExtCtx The extended CPU context. 2930 * @param uValue The new FTW value. 2931 */ 2932 BS3_CMN_PROTO_STUB(bool, Bs3ExtCtxSetAbridgedFtw,(PBS3EXTCTX pExtCtx, uint16_t uValue)); 2933 2934 /** 2883 2935 * Gets the MXCSR register value from @a pExtCtx. 2884 2936 * … … 2891 2943 * Sets the MXCSR register value in @a pExtCtx. 2892 2944 * 2945 * @returns true if set, false if not supported by the format. 2893 2946 * @param pExtCtx The extended CPU context. 2894 2947 * @param uValue The new MXCSR value. 2895 2948 */ 2896 BS3_CMN_PROTO_STUB(void, Bs3ExtCtxSetMxCsr,(PBS3EXTCTX pExtCtx, uint32_t uValue)); 2949 BS3_CMN_PROTO_STUB(bool, Bs3ExtCtxSetMxCsr,(PBS3EXTCTX pExtCtx, uint32_t uValue)); 2950 2951 /** 2952 * Gets the MXCSR MASK value from @a pExtCtx. 2953 * 2954 * @returns MXCSR MASK value, 0 if not part of context. 2955 * @param pExtCtx The extended CPU context. 2956 */ 2957 BS3_CMN_PROTO_STUB(uint32_t, Bs3ExtCtxGetMxCsrMask,(PCBS3EXTCTX pExtCtx)); 2958 2959 /** 2960 * Sets the MXCSR MASK value in @a pExtCtx. 2961 * 2962 * @returns true if set, false if not supported by the format. 2963 * @param pExtCtx The extended CPU context. 2964 * @param uValue The new MXCSR MASK value. 2965 */ 2966 BS3_CMN_PROTO_STUB(bool, Bs3ExtCtxSetMxCsrMask,(PBS3EXTCTX pExtCtx, uint32_t uValue)); 2897 2967 2898 2968 /**
Note:
See TracChangeset
for help on using the changeset viewer.