VirtualBox

Changeset 13954 in vbox for trunk/include


Ignore:
Timestamp:
Nov 7, 2008 12:36:27 PM (16 years ago)
Author:
vboxsync
Message:

Wrong place, backed out.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/cpum.mac

    r13953 r13954  
    3131%ifndef __VBox_cpum_mac__
    3232%define __VBox_cpum_mac__
    33 
    34 
    35 ;;
    36 ; Converts the CPUM pointer to CPUMCPU (for the first VMCPU)
    37 ; @param   %1   register name
    38 %macro CPUMCPU_FROM_CPUM 1
    39     add     %1, [%1 + CPUM.ulOffCPUMCPU]
    40 %endmacro
    41 
    42 ;;
    43 ; Converts the CPUMCPU pointer to CPUM (for the first VMCPU)
    44 ; @param   %1   register name
    45 %macro CPUM_FROM_CPUMCPU 1
    46     sub     %1, [%1 + CPUMCPU.ulOffCPUM]
    47 %endmacro
    4833
    4934;;
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