VirtualBox

Changeset 36899 in vbox for trunk/src


Ignore:
Timestamp:
Apr 29, 2011 3:52:47 PM (14 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
71478
Message:

Fix builds with undefined VBOX_WITH_WDDM

Location:
trunk/src/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxTray/Makefile.kmk

    r35385 r36899  
    5454        $(VBOX_LIB_VBGL_R3)
    5555
     56include $(KBUILD_PATH)/sdks/WINDDK.kmk
     57VBoxTray_INCS   += $(PATH_SDK_WINDDK_INC_API) $(PATH_SDK_WINDDK_INC_DDK)
     58
    5659ifdef VBOX_WITH_WDDM
    5760 VBoxTray_DEFS   += VBOX_WITH_WDDM
    5861 # VBoxTray_DEFS   += LOG_ENABLED
    59  # we need only includes for PFND3DKMT stuff as all we link dynamicaly to it
    60  include $(KBUILD_PATH)/sdks/WINDDK.kmk
    61  VBoxTray_INCS   += $(PATH_SDK_WINDDK_INC_API) $(PATH_SDK_WINDDK_INC_DDK)
    6262endif
     63
    6364# VBoxTray.cpp uses VBOX_SVN_REV.
    6465VBoxTray.cpp_DEFS += VBOX_SVN_REV=$(VBOX_SVN_REV)
  • trunk/src/VBox/Devices/Graphics/DevVGA.h

    r34399 r36899  
    280280#endif
    281281
     282#if HC_ARCH_BITS == 32
     283# if defined(VBOX_WITH_HGSMI) != defined(VBOX_WITH_VDMA)
     284    uint32_t                    Padding3;
     285# endif
     286#endif
     287
     288
    282289    uint32_t                    cMonitors;
    283290    /** Current refresh timer interval. */
     
    309316#else
    310317# if HC_ARCH_BITS == 32
    311     uint32_t                    Padding3;
     318    uint32_t                    Padding4;
    312319# endif
    313320#endif
     
    345352    /** VBE Extra Data write address one byte buffer */
    346353    uint8_t                     cbWriteVBEExtraAddress;
    347     uint8_t                     Padding4;
     354    uint8_t                     Padding5;
    348355# else
    349     uint8_t                     Padding4[2];
     356    uint8_t                     Padding5[2];
    350357# endif
    351358#endif
     
    353360    /** Retrace emulation state */
    354361    bool                        fRealRetrace;
    355     bool                        Padding5[HC_ARCH_BITS == 64 ? 7 : 3];
     362    bool                        Padding6[HC_ARCH_BITS == 64 ? 7 : 3];
    356363    vga_retrace_s               retrace_state;
    357364
     
    363370    /** The VBE BIOS current memory address. */
    364371    uint16_t                    u16VBEExtraAddress;
    365     uint16_t                    Padding6[2];
     372    uint16_t                    Padding7[2];
    366373#endif
    367374    /** Current logo data offset. */
     
    393400    /** Clear screen flag. */
    394401    uint8_t                     fLogoClearScreen;
    395     uint8_t                     Padding7[7];
     402    uint8_t                     Padding8[7];
    396403    /** Palette data. */
    397404    uint32_t                    au32LogoPalette[256];
     
    407414    RTIOPORT                    IOPortBase;
    408415#ifdef VBOX_WITH_WDDM
    409     uint8_t                     Padding8[2];
     416    uint8_t                     Padding9[2];
    410417    /* specifies guest driver caps, i.e. whether it can handle IRQs from the adapter,
    411418     * the way it can handle async HGSMI command completion, etc. */
    412419    uint32_t                    fGuestCaps;
    413420#else
    414     uint8_t                     Padding8[6];
     421    uint8_t                     Padding10[6];
    415422#endif
    416423#endif /* VBOX_WITH_HGSMI */
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