Changeset 104649 in vbox
- Timestamp:
- May 16, 2024 8:52:06 AM (7 months ago)
- Location:
- trunk/src/VBox/ValidationKit/bootsectors
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/bootsectors/Makefile.kmk
r104647 r104649 452 452 bs3-cpu-instr-4_TEMPLATE = VBoxBS3KitImg 453 453 bs3-cpu-instr-4_INCS = . $(bs3-cpu-instr-4_0_OUTDIR) 454 bs3-cpu-instr-4_DEFS = BS3_CMN_INSTANTIATE_FILE1=bs3-cpu-instr-4-traphandler.c455 bs3-cpu-instr-4_DEFS += BS3_MODE_INSTANTIATE_FILE1=bs3-cpu-instr-4-traphandler.c456 454 bs3-cpu-instr-4_SOURCES = \ 457 455 bs3kit/bs3-first-init-all-pe32.asm \ 458 bs3kit/bs3-cmn-instantiate-x0.c16 \459 bs3kit/bs3-cmn-instantiate.c32 \460 bs3kit/bs3-cmn-instantiate.c64 \461 456 bs3-cpu-instr-4.c32 \ 462 457 bs3-cpu-instr-4-asm.asm 463 458 bs3-cpu-instr-4.c32_DEPS = $(bs3-cpu-instr-4_0_OUTDIR)/bs3-cpu-instr-4-asm-auto.h 464 bs3-cpu-instr-4_bs3kit/bs3-cmn-instantiate-x0.c16_DEPS = $(bs3-cpu-instr-4_0_OUTDIR)/bs3-cpu-instr-4-asm-auto.h465 bs3-cpu-instr-4_bs3kit/bs3-cmn-instantiate.c32_DEPS = $(bs3-cpu-instr-4_0_OUTDIR)/bs3-cpu-instr-4-asm-auto.h466 bs3-cpu-instr-4_bs3kit/bs3-cmn-instantiate.c64_DEPS = $(bs3-cpu-instr-4_0_OUTDIR)/bs3-cpu-instr-4-asm-auto.h467 459 bs3-cpu-instr-4_CLEANS = $(bs3-cpu-instr-4_0_OUTDIR)/bs3-cpu-instr-4-asm-auto.h 468 460 … … 472 464 473 465 bs3-cpu-instr-4-template.o:: \ 474 $$(bs3-cpu-instr-4_0_OUTDIR)/bs3kit/bs3-cmn-instantiate-x0.o16 \475 $$(bs3-cpu-instr-4_0_OUTDIR)/bs3kit/bs3-cmn-instantiate.o32 \476 $$(bs3-cpu-instr-4_0_OUTDIR)/bs3kit/bs3-cmn-instantiate.o64 \477 466 $$(bs3-cpu-instr-4_0_OUTDIR)/bs3-cpu-instr-4-asm.o16 478 467 -
trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-instr-4-asm.asm
r104645 r104649 1 1 ; $Id$ 2 2 ;; @file 3 ; BS3Kit - bs3-cpu-instr-4 3 ; BS3Kit - bs3-cpu-instr-4 - SSE, AVX FPU instructions. 4 4 ; 5 5 -
trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-instr-4-template.mac
r104645 r104649 1 1 ; $Id$ 2 2 ;; @file 3 ; BS3Kit - bs3-cpu-instr-4 - MMX,SSE, AVX FPU instructions, assembly template.3 ; BS3Kit - bs3-cpu-instr-4 - SSE, AVX FPU instructions, assembly template. 4 4 ; 5 5 -
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.