VirtualBox

Changeset 16312 in vbox


Ignore:
Timestamp:
Jan 28, 2009 2:05:34 PM (16 years ago)
Author:
vboxsync
Message:

iprt/asmdefs.mac: Added xWrtRIP to avoid having to ifdef label references that have to be 'wrt rip' on amd64.

File:
1 edited

Legend:

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

    r14021 r16312  
    659659; RSI or ESI depending on context.
    660660
     661;; @def xWrtRIP
     662; 'wrt rip' for AMD64 targets, nothing for x86 ones.
     663
    661664%ifdef RT_ARCH_AMD64
    662665 %define xS  8
     
    669672 %define xDI rdi
    670673 %define xSI rsi
     674 %define xWrtRIP wrt rip
    671675%else
    672676 %define xS  4
     
    679683 %define xDI edi
    680684 %define xSI esi
    681 %endif
    682 
    683 %endif
     685 %define xWrtRIP wrt rip
     686%endif
     687
     688%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