VirtualBox

Changeset 47237 in vbox


Ignore:
Timestamp:
Jul 18, 2013 7:29:40 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
87355
Message:

HMSVMR0.cpp: Fixed to unsafe macros (harmeless atm.).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp

    r47156 r47237  
    6767 *
    6868 * @{ */
    69 #define HMSVM_CPU_2_VMCB_SEG_ATTR(a)       (a & 0xff) | ((a & 0xf000) >> 4)
    70 #define HMSVM_VMCB_2_CPU_SEG_ATTR(a)       (a & 0xff) | ((a & 0x0f00) << 4)
     69#define HMSVM_CPU_2_VMCB_SEG_ATTR(a)       ( ((a) & 0xff) | (((a) & 0xf000) >> 4) )
     70#define HMSVM_VMCB_2_CPU_SEG_ATTR(a)       ( ((a) & 0xff) | (((a) & 0x0f00) << 4) )
    7171/** @} */
    7272
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette