VirtualBox

Changeset 7072 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Feb 21, 2008 2:06:23 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
28312
Message:

Make our devices use the RTGCPHYS32 type & backed out the alignment changes
Added SSMR3PutGCPhys32 & SSMR3GetGCPhys32
Removed obsolete VBOX types

Location:
trunk/include/VBox
Files:
4 edited

Legend:

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

    r7061 r7072  
    4040
    4141/** Hypervisor linear pointer size type */
    42 typedef uint32_t vmmDevHypPtr;
     42typedef RTGCPTR vmmDevHypPtr;
    4343/** Hypervisor physical pointer size type */
    44 typedef uint32_t vmmDevHypPhys;
     44typedef RTGCPHYS32 vmmDevHypPhys;
    4545
    4646#if defined(RT_OS_LINUX)
  • trunk/include/VBox/pci.h

    r5999 r7072  
    5353 * PCI Address space specification.
    5454 * This is used when registering a I/O region.
     55 */
     56/** Note: There are all sorts of dirty dependencies on the values in the
     57 *  pci device. Be careful when changing this.
     58 *  @todo we should introduce 32 & 64 bits physical address types
    5559 */
    5660typedef enum PCIADDRESSSPACE
  • trunk/include/VBox/ssm.h

    r6401 r7072  
    769769
    770770/**
     771 * Saves a 32 bits GC physical address item to the current data unit.
     772 *
     773 * @returns VBox status.
     774 * @param   pSSM            SSM operation handle.
     775 * @param   GCPhys          The item to save
     776 */
     777SSMR3DECL(int) SSMR3PutGCPhys32(PSSMHANDLE pSSM, RTGCPHYS32 GCPhys);
     778
     779/**
    771780 * Saves a GC physical address item to the current data unit.
    772781 *
     
    10111020 * @param   pGCPhys         Where to store the GC physical address.
    10121021 */
     1022SSMR3DECL(int) SSMR3GetGCPhys32(PSSMHANDLE pSSM, PRTGCPHYS32 pGCPhys);
     1023
     1024/**
     1025 * Loads a GC physical address item from the current data unit.
     1026 *
     1027 * @returns VBox status.
     1028 * @param   pSSM            SSM operation handle.
     1029 * @param   pGCPhys         Where to store the GC physical address.
     1030 */
    10131031SSMR3DECL(int) SSMR3GetGCPhys(PSSMHANDLE pSSM, PRTGCPHYS pGCPhys);
    10141032
  • trunk/include/VBox/types.h

    r6796 r7072  
    6363 * @{
    6464 */
    65 
    66 /** @deprecated
    67  * @{ */
    68 typedef RTGCPHYS    VBOXGCPHYS;
    69 typedef VBOXGCPHYS *PVBOXGCPHYS;
    70 #define NILVBOXGCPHYS NIL_RTGCPHYS
    71 typedef RTGCPTR     VBOXGCPTR;
    72 typedef VBOXGCPTR  *PVBOXGCPTR;
    73 /** @} */
    7465
    7566/** @} */
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