VirtualBox

Ignore:
Timestamp:
Oct 28, 2018 5:00:27 PM (6 years ago)
Author:
vboxsync
Message:

IPRT: Make Watcom C an alterntive for compiling the OS/2 kernel code (GA mainly), governed by VBOX_USE_WATCOM_FOR_OS2.

File:
1 edited

Legend:

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

    r69219 r75129  
    3030
    3131;;
    32 ; @param    pv      gcc: rdi  msc: ecx  x86:[esp+4]
    33 ; @param    ch      gcc: esi  msc: edx  x86:[esp+8]
    34 ; @param    cb      gcc: rdx  msc: r8   x86:[esp+0ch]
     32; @param    pv      gcc: rdi  msc: ecx  x86:[esp+4]   wcall: eax
     33; @param    ch      gcc: esi  msc: edx  x86:[esp+8]   wcall: edx
     34; @param    cb      gcc: rdx  msc: r8   x86:[esp+0ch] wcall: ebx
    3535RT_NOCRT_BEGINPROC memrchr
    3636        std
     
    5353
    5454%else
     55 %ifdef ASM_CALL32_WATCOM
     56        mov     ecx, ebx
     57        jecxz   .not_found_early
     58        xchg    eax, edx
     59        xchg    edi, edx                ; load + save edi
     60 %else
    5561        mov     ecx, [esp + 0ch]
    5662        jecxz   .not_found_early
     
    5864        mov     eax, [esp + 8]
    5965        mov     edi, [esp + 4]
     66 %endif
    6067        lea     edi, [edi + ecx - 1]
    6168%endif
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