VirtualBox

Ignore:
Timestamp:
Apr 4, 2016 5:01:14 PM (9 years ago)
Author:
vboxsync
Message:

bs3kit: Use \#define with BS3_DATA_NM to map data symbols to names accessible in all context. (Underscores in 16-bit and 32-bit, no underscores in 64-bit.) Detect PSE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-TestSkipped.c

    r60019 r60311  
    3939BS3_DECL(void) Bs3TestSkippedV(const char *pszFormat, va_list va)
    4040{
    41     if (BS3_DATA_NM(g_cusBs3TestErrors) == BS3_DATA_NM(g_cusBs3SubTestAtErrors))
     41    if (g_cusBs3TestErrors == g_cusBs3SubTestAtErrors)
    4242    {
    4343        /* Just mark it as skipped and deal with it when the sub-test is done. */
    44         BS3_DATA_NM(g_fbBs3SubTestSkipped) = true;
     44        g_fbBs3SubTestSkipped = true;
    4545
    4646        /* Tell VMMDev */
    47         if (BS3_DATA_NM(g_fbBs3VMMDevTesting))
     47        if (g_fbBs3VMMDevTesting)
    4848            ASMOutU32(VMMDEV_TESTING_IOPORT_CMD, VMMDEV_TESTING_CMD_SKIPPED);
    4949
     
    5454            Bs3StrFormatV(pszFormat, va, bs3TestFailedStrOutput, &fNewLine);
    5555        }
    56         else if (BS3_DATA_NM(g_fbBs3VMMDevTesting))
     56        else if (g_fbBs3VMMDevTesting)
    5757            ASMOutU8(VMMDEV_TESTING_IOPORT_DATA, 0);
    5858    }
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