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-paging.h

    r60231 r60311  
    55
    66/*
    7  * Copyright (C) 2007-2015 Oracle Corporation
     7 * Copyright (C) 2007-2016 Oracle Corporation
    88 *
    99 * This file is part of VirtualBox Open Source Edition (OSE), as
     
    3535/** Root directory for page protected mode.
    3636 * UINT32_MAX if not initialized. */
    37 extern uint32_t BS3_DATA_NM(g_PhysPagingRootPP);
     37#ifndef DOXYGEN_RUNNING
     38# define g_PhysPagingRootPP BS3_DATA_NM(g_PhysPagingRootPP)
     39#endif
     40extern uint32_t g_PhysPagingRootPP;
    3841/** Root directory pointer table for PAE mode.
    3942 * UINT32_MAX if not initialized. */
    40 extern uint32_t BS3_DATA_NM(g_PhysPagingRootPAE);
     43#ifndef DOXYGEN_RUNNING
     44# define g_PhysPagingRootPAE BS3_DATA_NM(g_PhysPagingRootPAE)
     45#endif
     46extern uint32_t g_PhysPagingRootPAE;
    4147/** Root table (level 4) for long mode.
    4248 * UINT32_MAX if not initialized. */
    43 extern uint32_t BS3_DATA_NM(g_PhysPagingRootLM);
     49#ifndef DOXYGEN_RUNNING
     50# define g_PhysPagingRootLM BS3_DATA_NM(g_PhysPagingRootLM)
     51#endif
     52extern uint32_t g_PhysPagingRootLM;
    4453
    4554RT_C_DECLS_END;
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