VirtualBox

Ignore:
Timestamp:
Nov 1, 2007 4:09:26 PM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
25895
Message:

BIT => RT_BIT, BIT64 => RT_BIT_64. BIT() is defined in Linux 2.6.24

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Debugger/DBGConsole.cpp

    r5079 r5605  
    887887 */
    888888/** If set the register set is the hypervisor and not the guest one. */
    889 #define SYMREG_FLAGS_HYPER      BIT(20)
     889#define SYMREG_FLAGS_HYPER      RT_BIT(20)
    890890/** If set a far conversion of the value will use the high 16 bit for the selector.
    891891 * If clear the low 16 bit will be used. */
    892 #define SYMREG_FLAGS_HIGH_SEL   BIT(21)
     892#define SYMREG_FLAGS_HIGH_SEL   RT_BIT(21)
    893893/** The shift value to calc the size of a register symbol from the uUser value. */
    894894#define SYMREG_SIZE_SHIFT       (24)
     
    25772577            "ConfER"  /* F Conforming, Execute/Readable - Accessed */
    25782578        };
    2579         const char *pszAccessed = pDesc->Gen.u4Type & BIT(0) ? "A " : "NA";
     2579        const char *pszAccessed = pDesc->Gen.u4Type & RT_BIT(0) ? "A " : "NA";
    25802580        const char *pszGranularity = pDesc->Gen.u1Granularity ? "G" : " ";
    25812581        const char *pszBig = pDesc->Gen.u1DefBig ? "BIG" : "   ";
     
    26322632            {
    26332633                const char *pszGranularity = pDesc->Gen.u1Granularity ? "G" : " ";
    2634                 const char *pszBusy = pDesc->Gen.u4Type & BIT(1) ? "B " : "NB";
     2634                const char *pszBusy = pDesc->Gen.u4Type & RT_BIT(1) ? "B " : "NB";
    26352635                const char *pszBig = pDesc->Gen.u1DefBig ? "BIG" : "   ";
    26362636                uint32_t u32Base = pDesc->Gen.u16BaseLow
     
    26612661            {
    26622662                unsigned cParams = pDesc->au8[0] & 0x1f;
    2663                 const char *pszCountOf = pDesc->Gen.u4Type & BIT(3) ? "DC" : "WC";
     2663                const char *pszCountOf = pDesc->Gen.u4Type & RT_BIT(3) ? "DC" : "WC";
    26642664                RTSEL sel = pDesc->au16[1];
    26652665                uint32_t off = pDesc->au16[0] | ((uint32_t)pDesc->au16[3] << 16);
     
    34303430                             Pde.n.u1User           ? "u"   : "s",
    34313431                             Pde.n.u1Accessed       ? "a "  : "na",
    3432                              Pde.u & BIT(6)         ? "6 "  : "  ",
     3432                             Pde.u & RT_BIT(6)      ? "6 "  : "  ",
    34333433                             Pde.n.u3Available,
    3434                              Pde.u & BIT(8)         ? "8"   : " ",
     3434                             Pde.u & RT_BIT(8)      ? "8"   : " ",
    34353435                             Pde.n.u1WriteThru      ? "pwt" : "   ",
    34363436                             Pde.n.u1CacheDisable   ? "pcd" : "   ",
    3437                              Pde.u & BIT(7)         ? "7"   : "",
     3437                             Pde.u & RT_BIT(7)      ? "7"   : "",
    34383438                             Pde.n.u1NoExecute      ? (fNXE ? "nx" : "NX") : "  ");
    34393439        if (Pde.u & UINT64_C(0x7fff000000000000))
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