VirtualBox

Changeset 6069 in vbox


Ignore:
Timestamp:
Dec 14, 2007 5:09:22 PM (17 years ago)
Author:
vboxsync
Message:

AMD64 -> RT_ARCH_AMD64; X86 -> RT_ARCH_X86.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/asmdefs.mac

    r5999 r6069  
    2424;
    2525
    26 %ifndef __iprt_asmdefs_mac__
    27 %define __iprt_asmdefs_mac__
     26%ifndef ___iprt_asmdefs_mac
     27%define ___iprt_asmdefs_mac
    2828
    2929;;
     
    5454; Mangles the given name so it can be referenced using DECLASM() in the
    5555; C/C++ world.
    56 %ifdef __X86__
     56%ifdef RT_ARCH_X86
    5757 %ifdef RT_OS_DARWIN
    5858  %define NAME(name)    _ %+ NAME_OVERLOAD(name)
     
    254254; Defines the bit count of the current context.
    255255%ifndef ARCH_BITS
    256  %ifdef __AMD64__
     256 %ifdef RT_ARCH_AMD64
    257257  %define ARCH_BITS 64
    258258 %else
     
    520520; it's 12 bytes.
    521521; @todo figure out what 64-bit Windows does (I don't recall right now).
    522 %ifdef __X86__
     522%ifdef RT_ARCH_X86
    523523 %ifdef RT_OS_DARWIN
    524524  %define RTLRD_CB          16
     
    543543; calling convention on AMD64, that's why we need to support two different ones.)
    544544
    545 %ifdef __AMD64__
     545%ifdef RT_ARCH_AMD64
    546546 %ifndef ASM_CALL64_GCC
    547547  %ifndef ASM_CALL64_MSC
     
    608608; RSI or ESI depending on context.
    609609
    610 %ifdef __AMD64__
     610%ifdef RT_ARCH_AMD64
    611611 %define xS  8
    612612 %define xSP rsp
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