VirtualBox

Changeset 64698 in vbox


Ignore:
Timestamp:
Nov 17, 2016 5:59:20 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
111977
Message:

bs3kit: fix

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

Legend:

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

    r64694 r64698  
    5252 %if BS3_MODE_IS_16BIT_CODE_NO_V86(TMPL_MODE)
    5353extern              _Bs3SwitchTo16Bit_c32
    54  %elif BS3_MODE_IS_32BIT_CODE_NO_V86(TMPL_MODE)
     54 %elif BS3_MODE_IS_V86(TMPL_MODE)
    5555extern              _Bs3SwitchTo16BitV86_c32
    5656 %elif !BS3_MODE_IS_32BIT_CODE(TMPL_MODE)
     
    137137%elif BS3_MODE_IS_16BIT_CODE_NO_V86(TMPL_MODE)
    138138        call    _Bs3SwitchTo16Bit_c32
    139 %elif BS3_MODE_IS_32BIT_CODE_NO_V86(TMPL_MODE)
     139%elif BS3_MODE_IS_V86(TMPL_MODE)
    140140        call    _Bs3SwitchTo16BitV86_c32
    141141%elif !BS3_MODE_IS_32BIT_CODE(TMPL_MODE)
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3kit.h

    r64694 r64698  
    33073307 * Call 32-bit prot mode C function.
    33083308 *
    3309  * This switches from the current mode and calls the 32-bit @a fpfnCall C code
    3310  * with @a cbParams on the stack, then returns.
     3309 * This switches to 32-bit mode and calls the 32-bit @a fpfnCall C code with @a
     3310 * cbParams on the stack, then returns in the original mode.  When called in
     3311 * real mode, this will switch to PE32.
    33113312 *
    33123313 * @returns 32-bit status code if the function returned anything.
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