VirtualBox

Changeset 49391 in vbox for trunk/include


Ignore:
Timestamp:
Nov 5, 2013 3:17:27 PM (11 years ago)
Author:
vboxsync
Message:

iprt/x86.h: Added X86_IS_CANONICAL.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/x86.h

    r49083 r49391  
    13031303#define X86_PAGE_4M_BASE_MASK_32            0xffc00000U
    13041304
     1305/**
     1306 * Check if the given address is canonical.
     1307 */
     1308#define X86_IS_CANONICAL(a_u64Addr)         ((uint64_t)(a_u64Addr) + UINT64_C(0x800000000000) < UINT64_C(0x1000000000000))
    13051309
    13061310
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