Changeset 104649 in vbox for trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-instr-4.c32
- Timestamp:
- May 16, 2024 8:52:06 AM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-instr-4.c32
r104648 r104649 1 1 /* $Id$ */ 2 2 /** @file 3 * BS3Kit - bs3-cpu-instr-4 - SSE andAVX FPU instructions, C code template.3 * BS3Kit - bs3-cpu-instr-4 - SSE, AVX FPU instructions, C code template. 4 4 */ 5 5 … … 44 44 #include <iprt/asm.h> 45 45 #include <iprt/asm-amd64-x86.h> 46 47 48 /*********************************************************************************************************************************49 * External Symbols *50 *********************************************************************************************************************************/51 BS3TRAPFRAME volatile g_Bs3CpuInstr4TrapFrame;52 /** The extended CPU context to save from the trap handler. */53 BS3EXTCTX volatile g_Bs3CpuInstr4ExtCtxTrap;54 /** Whether the trap handler was called. */55 bool volatile g_Bs3CpuInstr4TrapRaised;56 57 extern FNBS3TRAPHANDLER16 bs3CpuInstr4TrapHandler_c16;58 extern FNBS3TRAPHANDLER32 bs3CpuInstr4TrapHandler_c32;59 extern FNBS3TRAPHANDLER64 bs3CpuInstr4TrapHandler_c64;60 46 61 47 … … 828 814 * Prepare globals and execute. 829 815 */ 830 g_Bs3CpuInstr4TrapRaised = false;831 816 g_uBs3TrapEipHint = pCtx->rip.u32; 832 817 if ( bXcptExpect == X86_XCPT_DB 833 818 && !fFpFlagsExpect) 834 819 g_uBs3TrapEipHint += cbInstr + 1; 835 //Bs3MemZero((void *)&g_Bs3CpuInstr4TrapFrame, sizeof(g_Bs3CpuInstr4TrapFrame));836 //Bs3TrapSetHandlerEx(bFpXcpt, bs3CpuInstr4TrapHandler_c16, bs3CpuInstr4TrapHandler_c32, bs3CpuInstr4TrapHandler_c64);837 820 Bs3TrapSetJmpAndRestoreWithExtCtxAndRm(pCtx, pExtCtx, pTrapFrame, pExtCtxOut); 838 821
Note:
See TracChangeset
for help on using the changeset viewer.