VirtualBox

Changeset 66831 in vbox for trunk


Ignore:
Timestamp:
May 8, 2017 4:56:26 PM (7 years ago)
Author:
vboxsync
Message:

VMM: Adjustments for Visual C++ v12 / Visual Studio 2013. New warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/PGMInternal.h

    r65986 r66831  
    910910/** The zero page.
    911911 * This is a per-VM page that's never ever mapped writable. */
    912 #define PGM_PAGE_STATE_ZERO             0
     912#define PGM_PAGE_STATE_ZERO             0U
    913913/** A allocated page.
    914914 * This is a per-VM page allocated from the page pool (or wherever
    915915 * we get MMIO2 pages from if the type is MMIO2).
    916916 */
    917 #define PGM_PAGE_STATE_ALLOCATED        1
     917#define PGM_PAGE_STATE_ALLOCATED        1U
    918918/** A allocated page that's being monitored for writes.
    919919 * The shadow page table mappings are read-only. When a write occurs, the
    920920 * fWrittenTo member is set, the page remapped as read-write and the state
    921921 * moved back to allocated. */
    922 #define PGM_PAGE_STATE_WRITE_MONITORED  2
     922#define PGM_PAGE_STATE_WRITE_MONITORED  2U
    923923/** The page is shared, aka. copy-on-write.
    924924 * This is a page that's shared with other VMs. */
    925 #define PGM_PAGE_STATE_SHARED           3
     925#define PGM_PAGE_STATE_SHARED           3U
    926926/** The page is ballooned, so no longer available for this VM. */
    927 #define PGM_PAGE_STATE_BALLOONED        4
     927#define PGM_PAGE_STATE_BALLOONED        4U
    928928/** @} */
    929929
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