VirtualBox

Changeset 12982 in vbox for trunk/src/VBox/VMM/PDMDevice.cpp


Ignore:
Timestamp:
Oct 4, 2008 9:46:15 PM (16 years ago)
Author:
vboxsync
Message:

PDMDev* adjustments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/PDMDevice.cpp

    r12980 r12982  
    6565    /** VM Handle. */
    6666    PVM             pVM;
    67 } PDMDEVREGCBINT, *PPDMDEVREGCBINT;
     67} PDMDEVREGCBINT;
     68/** Pointer to a PDMDEVREGCBINT structure. */
     69typedef PDMDEVREGCBINT *PPDMDEVREGCBINT;
     70/** Pointer to a const PDMDEVREGCBINT structure. */
    6871typedef const PDMDEVREGCBINT *PCPDMDEVREGCBINT;
    6972
     
    7275*   Internal Functions                                                         *
    7376*******************************************************************************/
    74 __BEGIN_DECLS
    7577static DECLCALLBACK(int)    pdmR3DevReg_Register(PPDMDEVREGCB pCallbacks, PCPDMDEVREG pDevReg);
    7678static DECLCALLBACK(void *) pdmR3DevReg_MMHeapAlloc(PPDMDEVREGCB pCallbacks, size_t cb);
    77 
    78 static int pdmR3DevLoadModules(PVM pVM);
    79 static int pdmR3DevLoad(PVM pVM, PPDMDEVREGCBINT pRegCB, const char *pszFilename, const char *pszName);
    80 
    81 
    82 /*
    83  * Allow physical read and writes from any thread
    84  */
    85 #define PDM_PHYS_READWRITE_FROM_ANY_THREAD
    86 
    87 __END_DECLS
     79static int                  pdmR3DevLoadModules(PVM pVM);
     80static int                  pdmR3DevLoad(PVM pVM, PPDMDEVREGCBINT pRegCB, const char *pszFilename, const char *pszName);
     81
    8882
    8983
     
    594588
    595589
    596 
    597590/**
    598591 * Registers a device with the current VM instance.
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