VirtualBox

Changeset 105099 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
Jul 2, 2024 12:46:58 PM (7 months ago)
Author:
vboxsync
Message:

ValKit/bs3-cpu-weird-1: Made the push/pop testcase work in LM16 mode and enabled all the testcases. bugref:10715

Location:
trunk/src/VBox/ValidationKit/bootsectors
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/bs3-cpu-weird-1.c

    r105094 r105099  
    5757static const BS3TESTMODEBYONEENTRY g_aModeByOneTests[] =
    5858{
    59 #if 1/** @todo asserts in ring-0 on VT-x!  (It works when run directly on intel 6700K hardware.) */
    60     { "dbg+inhibit+ringxfer", BS3_CMN_FAR_NM(bs3CpuWeird1_DbgInhibitRingXfer), 0 },
    61 #endif
    62 #if 0
    63 #if 1
    64     { "pc wrapping", BS3_CMN_FAR_NM(bs3CpuWeird1_PcWrapping), 0 },
    65 #endif
    66 //    { "push/pop", BS3_CMN_FAR_NM(bs3CpuWeird1_PushPop), 0 },
    67     { "push/pop sreg", BS3_CMN_FAR_NM(bs3CpuWeird1_PushPopSReg), 0 },
    68 #endif
     59    { "dbg+inhibit+ringxfer",   BS3_CMN_FAR_NM(bs3CpuWeird1_DbgInhibitRingXfer),    0 },
     60    { "pc wrapping",            BS3_CMN_FAR_NM(bs3CpuWeird1_PcWrapping),            0 },
     61    { "push/pop",               BS3_CMN_FAR_NM(bs3CpuWeird1_PushPop),               0 },
     62    { "push/pop sreg",          BS3_CMN_FAR_NM(bs3CpuWeird1_PushPopSReg),           0 },
    6963};
    7064
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-RegCtxRestore.asm

    r105073 r105099  
    423423        jnz     .iretq_ok
    424424        test    eax, X86LAR_F_D | X86LAR_F_L
    425         jnz     .iretq_ok               ; Returning to a big of long SS needs not extra work.
     425        jnz     .iretq_ok               ; Returning to a big or long SS needs not extra work.
    426426
    427427        lar     eax, word [xBX + BS3REGCTX.cs]
     
    431431
    432432        ; Convert ss:sp to a flat address.
     433        movzx   ecx, cx                 ; 16-bit stacks are 16-bit, so chop the offset down.
    433434        BS3_EXTERN_CMN Bs3SelFar32ToFlat32NoClobber
    434435        call    Bs3SelFar32ToFlat32NoClobber
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