VirtualBox

Ignore:
Timestamp:
May 16, 2024 8:52:06 AM (7 months ago)
Author:
vboxsync
Message:

ValidationKit/bootsectors: bugref:10658 SIMD FP testcase: Removed special traphandler code since we don't use it currently (also it wasn't fully working anyway).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-instr-4.c32

    r104648 r104649  
    11/* $Id$ */
    22/** @file
    3  * BS3Kit - bs3-cpu-instr-4 - SSE and AVX FPU instructions, C code template.
     3 * BS3Kit - bs3-cpu-instr-4 - SSE, AVX FPU instructions, C code template.
    44 */
    55
     
    4444#include <iprt/asm.h>
    4545#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;
    6046
    6147
     
    828814     * Prepare globals and execute.
    829815     */
    830     g_Bs3CpuInstr4TrapRaised = false;
    831816    g_uBs3TrapEipHint = pCtx->rip.u32;
    832817    if (    bXcptExpect == X86_XCPT_DB
    833818        && !fFpFlagsExpect)
    834819        g_uBs3TrapEipHint += cbInstr + 1;
    835     //Bs3MemZero((void *)&g_Bs3CpuInstr4TrapFrame, sizeof(g_Bs3CpuInstr4TrapFrame));
    836     //Bs3TrapSetHandlerEx(bFpXcpt, bs3CpuInstr4TrapHandler_c16, bs3CpuInstr4TrapHandler_c32, bs3CpuInstr4TrapHandler_c64);
    837820    Bs3TrapSetJmpAndRestoreWithExtCtxAndRm(pCtx, pExtCtx, pTrapFrame, pExtCtxOut);
    838821
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette