VirtualBox

Changeset 66237 in vbox


Ignore:
Timestamp:
Mar 23, 2017 5:43:19 PM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
114158
Message:

ASMBitNextClear.asm: 32-bit bugfix (harmless outside bs3kit).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/asm/ASMBitNextClear.asm

    r62477 r66237  
    6666%elif ARCH_BITS == 32
    6767        mov     edi, [esp + 8]          ; edi=pvBits
    68         mov     ecx, [esp + 8 + 8]      ; edx=iPrevBit
     68        mov     ecx, [esp + 8 + 8]      ; ecx=iPrevBit
    6969%elif ARCH_BITS == 16
    70         mov     ax,  [bp + 4 + 2]
    71         mov     es, ax
    72         mov     di,  [bp + 4]           ; es:di=pvBits
    73         mov     ecx, [bp + 4 + 8]       ; edx=iPrevBit
     70        les     di, [bp + 4]            ; es:di=pvBits
     71        mov     ecx, [bp + 4 + 8]       ; ecx=iPrevBit
    7472%endif
    7573
     
    140138
    141139        ; Do the scanning.
     140        cld
    142141        mov     eax, 0ffffffffh
    143142        repe scasd
     
    160159        movzx   edi, di
    161160%elif ARCH_BITS == 32
    162         sub     xDI, [esp + 4]
     161        sub     xDI, [esp + 8]
    163162%elif ARCH_BITS == 64
    164163        sub     xDI, r9
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