VirtualBox

Changeset 8491 in vbox for trunk/src


Ignore:
Timestamp:
Apr 30, 2008 7:31:16 AM (17 years ago)
Author:
vboxsync
Message:

Fixed OS/2 builds.

Location:
trunk/src/VBox
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Disassembler/DisasmTest.cpp

    r8377 r8491  
    3030
    3131DECLASM(int) TestProc();
     32#ifndef RT_OS_OS2
    3233DECLASM(int) TestProc64();
     34#endif
    3335//uint8_t aCode16[] = { 0x66, 0x67, 0x89, 0x07 };
    3436
     
    6365        }
    6466
     67#ifndef RT_OS_OS2
    6568        printf("\n64 bits disassembly\n");
    6669        pInstr = (RTUINTPTR)TestProc64;
     
    8487            pInstr += cb;
    8588        }
     89#endif
    8690    }
    8791    return 0;
  • trunk/src/VBox/Disassembler/DisasmTestA.asm

    r8379 r8491  
    6666ENDPROC   TestProc
    6767
    68 
     68%ifndef RT_OS_OS2
    6969BITS 64
    7070align 16
     
    9393      ret
    9494ENDPROC   TestProc64
     95%endif
  • trunk/src/VBox/VMM/VMMGC/EMGCA.asm

    r8155 r8491  
    195195    mov     ecx, [esp + 14h + 8]        ; ECX
    196196
     197%ifdef RT_OS_OS2
     198    lock cmpxchg8b [ebp]                ; do CMPXCHG8B
     199%else
    197200    lock cmpxchg8b qword [ebp]          ; do CMPXCHG8B
     201%endif
    198202    mov     dword [esp + 08h + 8], eax
    199203    mov     dword [esp + 0ch + 8], edx
     
    245249    mov     ecx, [esp + 14h + 8]        ; ECX
    246250
     251%ifdef RT_OS_OS2
     252    cmpxchg8b [ebp]                     ; do CMPXCHG8B
     253%else
    247254    cmpxchg8b qword [ebp]               ; do CMPXCHG8B
     255%endif
    248256    mov     dword [esp + 08h + 8], eax
    249257    mov     dword [esp + 0ch + 8], edx
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