VirtualBox

Changeset 59901 in vbox for trunk


Ignore:
Timestamp:
Mar 2, 2016 4:39:33 PM (9 years ago)
Author:
vboxsync
Message:

bs3kit: updates.

File:
1 edited

Legend:

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

    r59885 r59901  
    4646%else
    4747        ;
    48         ; Make sure we're the 16-bit segment and then call Bs3SwitchToPE16.
     48        ; Convert the return address and jump to the 16-bit code segment.
    4949        ;
    5050 %if TMPL_BITS != 16
     51        shl     [xSP], TMPL_BITS - 16
     52        add     xSP, (TMPL_BITS - 16) / 8
    5153        jmp     .sixteen_bit_segment
    5254BS3_BEGIN_TEXT16
     
    5456.sixteen_bit_segment:
    5557 %endif
     58
     59        ;
     60        ; Switch to 16-bit PE16 and from there to V8086.
     61        ;
    5662        extern  TMPL_NM(Bs3SwitchToPE16)
    5763        call    TMPL_NM(Bs3SwitchToPE16)
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