VirtualBox

Changeset 1840 in vbox for trunk/include


Ignore:
Timestamp:
Mar 30, 2007 6:42:46 PM (18 years ago)
Author:
vboxsync
Message:

Support driver interface cleanup.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/sup.h

    r1480 r1840  
    138138    /** Magic (SUPGLOBALINFOPAGE_MAGIC). */
    139139    uint32_t            u32Magic;
     140    /** The GIP version. */
     141    uint32_t            u32Version;
    140142
    141143    /** The GIP update mode, see SUPGIPMODE. */
    142144    uint32_t            u32Mode;
    143 
    144145    /** The update frequency of the of the NanoTS. */
    145146    volatile uint32_t   u32UpdateHz;
     
    170171/** The value of the SUPGLOBALINFOPAGE::u32Magic field. (Soryo Fuyumi) */
    171172#define SUPGLOBALINFOPAGE_MAGIC     0x19590106
     173/** The GIP version.
     174 * Upper 16 bits is the major version. Major version is only changed with
     175 * incompatible changes in the GIP. */
     176#define SUPGLOBALINFOPAGE_VERSION   0x00020000
    172177
    173178/**
     
    552557SUPR0DECL(int) SUPR0MemGetPhys(PSUPDRVSESSION pSession, RTHCUINTPTR uPtr, PSUPPAGE paPages);
    553558SUPR0DECL(int) SUPR0MemFree(PSUPDRVSESSION pSession, RTHCUINTPTR uPtr);
    554 SUPR0DECL(int) SUPR0GipMap(PSUPDRVSESSION pSession, PCSUPGLOBALINFOPAGE *ppGip, PRTHCPHYS pHCPhysGid);
     559SUPR0DECL(int) SUPR0GipMap(PSUPDRVSESSION pSession, PRTR3PTR ppGipR3, PRTHCPHYS pHCPhysGid);
    555560SUPR0DECL(int) SUPR0GipUnmap(PSUPDRVSESSION pSession);
    556561SUPR0DECL(int) SUPR0Printf(const char *pszFormat, ...);
  • trunk/include/VBox/types.h

    r1580 r1840  
    7474 * (The data is a R0 entity and private to the the R0 SUP part. All
    7575 * other should consider this a sort of handle.) */
    76 typedef struct SUPDRVSESSION   *PSUPDRVSESSION;
     76typedef R0PTRTYPE(struct SUPDRVSESSION *) PSUPDRVSESSION;
    7777
    7878/** Pointer to a VM. */
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