VirtualBox

Ignore:
Timestamp:
Dec 15, 2022 10:46:43 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
154898
Message:

bs3kit/Bs3TrapSystemCallHandler: Must save and restore SS around string printing too as mode switches will switch to the default stack.

File:
1 edited

Legend:

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

    r96407 r97818  
    267267%if TMPL_BITS != 64
    268268        push    es
     269        push    ss                      ; Must save and restore SS for supporting 16/32 and 32/16 caller/kernel ring-0 combinations.
    269270%endif
    270271        ; Convert the incoming pointer to real mode (assuming caller checked
     
    301302%endif
    302303%if TMPL_BITS != 64
     304        pop     ss
    303305        pop     es
    304306%endif
Note: See TracChangeset for help on using the changeset viewer.

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