VirtualBox

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


Ignore:
Timestamp:
Mar 27, 2016 12:47:00 PM (9 years ago)
Author:
vboxsync
Message:

bs3-mode-TrapSystemCallHandler.asm: Forgot to copy DS into the context. oops.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-mode-TrapSystemCallHandler.asm

    r60202 r60206  
    505505        mov     ax, VAR_CALLER_BP
    506506        mov     [ss:bx + BS3REGCTX.rbp], ax
     507        mov     ax, VAR_CALLER_DS
     508        mov     [ss:bx + BS3REGCTX.ds], ax
    507509        mov     [ss:bx + BS3REGCTX.es], es
    508510        mov     ax, [xBP + xCB]
     
    604606        mov     xAX, VAR_CALLER_BP
    605607        mov     [BS3_NOT_64BIT(ss:) xBX + BS3REGCTX.rbp], xAX
     608%if TMPL_BITS != 64
     609        mov     ax, VAR_CALLER_DS
     610        mov     [BS3_NOT_64BIT(ss:) xBX + BS3REGCTX.ds], ax
     611%else
     612        mov     [BS3_NOT_64BIT(ss:) xBX + BS3REGCTX.ds], ds
     613%endif
    606614        mov     [BS3_NOT_64BIT(ss:) xBX + BS3REGCTX.es], es
    607615        mov     [BS3_NOT_64BIT(ss:) xBX + BS3REGCTX.fs], fs
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