Changeset 6069 in vbox
- Timestamp:
- Dec 14, 2007 5:09:22 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/asmdefs.mac
r5999 r6069 24 24 ; 25 25 26 %ifndef __ iprt_asmdefs_mac__27 %define __ iprt_asmdefs_mac__26 %ifndef ___iprt_asmdefs_mac 27 %define ___iprt_asmdefs_mac 28 28 29 29 ;; … … 54 54 ; Mangles the given name so it can be referenced using DECLASM() in the 55 55 ; C/C++ world. 56 %ifdef __X86__56 %ifdef RT_ARCH_X86 57 57 %ifdef RT_OS_DARWIN 58 58 %define NAME(name) _ %+ NAME_OVERLOAD(name) … … 254 254 ; Defines the bit count of the current context. 255 255 %ifndef ARCH_BITS 256 %ifdef __AMD64__256 %ifdef RT_ARCH_AMD64 257 257 %define ARCH_BITS 64 258 258 %else … … 520 520 ; it's 12 bytes. 521 521 ; @todo figure out what 64-bit Windows does (I don't recall right now). 522 %ifdef __X86__522 %ifdef RT_ARCH_X86 523 523 %ifdef RT_OS_DARWIN 524 524 %define RTLRD_CB 16 … … 543 543 ; calling convention on AMD64, that's why we need to support two different ones.) 544 544 545 %ifdef __AMD64__545 %ifdef RT_ARCH_AMD64 546 546 %ifndef ASM_CALL64_GCC 547 547 %ifndef ASM_CALL64_MSC … … 608 608 ; RSI or ESI depending on context. 609 609 610 %ifdef __AMD64__610 %ifdef RT_ARCH_AMD64 611 611 %define xS 8 612 612 %define xSP rsp
Note:
See TracChangeset
for help on using the changeset viewer.