VirtualBox

Changeset 86266 in vbox


Ignore:
Timestamp:
Sep 24, 2020 2:35:34 PM (4 years ago)
Author:
vboxsync
Message:

Devices/Graphics: Split DevVGA-SVGA.cpp to two source files (device and command implementation) and an internal header file (missed a define). bugref:9830

Location:
trunk/src/VBox/Devices/Graphics
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA-cmd.cpp

    r86265 r86266  
    3131#include "DevVGA.h"
    3232
     33/* Should be included after DevVGA.h/DevVGA-SVGA.h to pick all defines. */
    3334#include "DevVGA-SVGA-internal.h"
    3435#ifdef VBOX_WITH_VMSVGA3D
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA.cpp

    r86265 r86266  
    130130*********************************************************************************************************************************/
    131131#define LOG_GROUP LOG_GROUP_DEV_VMSVGA
    132 #define VMSVGA_USE_EMT_HALT_CODE
    133132#include <VBox/vmm/pdmdev.h>
    134133#include <VBox/version.h>
     
    136135#include <VBox/log.h>
    137136#include <VBox/vmm/pgm.h>
    138 #ifdef VMSVGA_USE_EMT_HALT_CODE
    139 # include <VBox/vmm/vmapi.h>
    140 # include <VBox/vmm/vmcpuset.h>
    141 #endif
    142137#include <VBox/sup.h>
    143138
     
    161156#include "DevVGA.h"
    162157
    163 #include "DevVGA-SVGA.h"
    164158#ifdef IN_RING3
     159/* Should be included after DevVGA.h/DevVGA-SVGA.h to pick all defines. */
    165160#include "DevVGA-SVGA-internal.h"
    166161#endif
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA.h

    r86237 r86266  
    2525#endif
    2626
     27#define VMSVGA_USE_EMT_HALT_CODE
     28
    2729#include <VBox/pci.h>
    2830#include <VBox/vmm/pdmifs.h>
    2931#include <VBox/vmm/pdmthread.h>
    3032#include <VBox/vmm/stam.h>
     33#ifdef VMSVGA_USE_EMT_HALT_CODE
     34# include <VBox/vmm/vmapi.h>
     35# include <VBox/vmm/vmcpuset.h>
     36#endif
    3137
    3238/*
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