VirtualBox

Changeset 76402 in vbox for trunk/include


Ignore:
Timestamp:
Dec 23, 2018 3:13:04 PM (6 years ago)
Author:
vboxsync
Message:

VBox/vmm/apic.h: Try avoid dragging in pdmdev.h, so use function for APIC device registration rather than exposing g_DeviceAPIC. bugref:9344

Location:
trunk/include/VBox/vmm
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/apic.h

    r75300 r76402  
    2727#define ___VBox_vmm_apic_h
    2828
    29 #include <VBox/vmm/pdmins.h>
    30 #include <VBox/vmm/pdmdev.h>
     29#include <VBox/types.h>
     30struct PDMDEVREGCB;
    3131
    3232/** @defgroup grp_apic   The local APIC VMM API
     
    158158 * @{
    159159 */
     160VMMR3_INT_DECL(int)         APICR3RegisterDevice(struct PDMDEVREGCB *pCallbacks);
    160161VMMR3_INT_DECL(void)        APICR3InitIpi(PVMCPU pVCpu);
    161162VMMR3_INT_DECL(void)        APICR3HvEnable(PVM pVM);
     
    201202RT_C_DECLS_END
    202203
    203 extern const PDMDEVREG      g_DeviceAPIC;
    204204/** @} */
    205205
  • trunk/include/VBox/vmm/pdmdev.h

    r75534 r76402  
    2929#include <VBox/vmm/pdmqueue.h>
    3030#include <VBox/vmm/pdmcritsect.h>
    31 #include <VBox/vmm/pdmthread.h>
     31#ifdef IN_RING3
     32# include <VBox/vmm/pdmthread.h>
     33#endif
    3234#include <VBox/vmm/pdmifs.h>
    3335#include <VBox/vmm/pdmins.h>
     
    3941#include <VBox/vmm/cfgm.h>
    4042#include <VBox/vmm/dbgf.h>
    41 #include <VBox/err.h>
    42 #include <VBox/pci.h>
    43 #include <VBox/sup.h>
     43#include <VBox/err.h>  /* VINF_EM_DBG_STOP */
    4444#include <iprt/stdarg.h>
    4545
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