VirtualBox

Changeset 66194 in vbox


Ignore:
Timestamp:
Mar 22, 2017 2:03:45 PM (8 years ago)
Author:
vboxsync
Message:

bs3-cmn-SelFlatDataToProtFar16.asm: 64-bit parameter handling fix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-SelFlatDataToProtFar16.asm

    r60679 r66194  
    6666        mov     dx, BS3_SEL_R0_SS16
    6767%else
    68         mov     eax, [xBP + xCB + cbCurRetAddr]
     68TNOT64  mov     eax, [xBP + xCB + cbCurRetAddr]
     69TONLY64 mov     eax, ecx
    6970        test    eax, 0ffff0000h
    7071        jnz     .not_stack
     
    111112%else
    112113        ; Convert upper 16-bit to tiled selector.
    113  %if TMPL_BITS == 32
    114         mov     eax, [xBP + xCB + cbCurRetAddr]
    115  %else
    116         mov     rax, rcx
    117  %endif
     114TNOT64  mov     eax, [xBP + xCB + cbCurRetAddr]
     115TONLY64 mov     rax, rcx
    118116 %ifdef BS3_STRICT
    119117        cmp     xAX, BS3_SEL_TILED_AREA_SIZE
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