VirtualBox

Changeset 12975 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Oct 3, 2008 10:22:37 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
37408
Message:

#1865: PDMLdr.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/types.h

    r11413 r12975  
    896896 */
    897897
    898 /** Raw mode context pointer; a 32 bits guest context pointer
     898/** Raw mode context pointer; a 32 bits guest context pointer.
    899899 * Keep in mind that this type is an unsigned integer in
    900  * HC and void pointer in GC.
     900 * HC and void pointer in RC.
    901901 */
    902902#ifdef IN_GC
     
    913913 */
    914914#define NIL_RTRCPTR    ((RTRCPTR)0)
    915 
    916915/** @def RTRCPTR_MAX
    917916 * The maximum value a RTRCPTR can have. Mostly used as INVALID value.
    918917 */
    919 #define RTRCPTR_MAX    ((RTRCPTR)~0)
    920 
    921 typedef int32_t       RTRCINTPTR;
    922 typedef uint32_t      RTRCUINTPTR;
     918#define RTRCPTR_MAX    ((RTRCPTR)UINT32_MAX)
     919
     920/** Raw mode context pointer, unsigned integer variant. */
     921typedef int32_t         RTRCINTPTR;
     922/** @def RTRCUINPTR_MAX
     923 * The maximum value a RTRCUINPTR can have.
     924 */
     925#define RTRCUINTPTR_MAX ((RTRCUINTPTR)UINT32_MAX)
     926
     927/** Raw mode context pointer, signed integer variant. */
     928typedef uint32_t        RTRCUINTPTR;
     929/** @def RTRCINPTR_MIN
     930 * The minimum value a RTRCINPTR can have.
     931 */
     932#define RTRCINTPTR_MIN ((RTRCINTPTR)INT32_MIN)
     933/** @def RTRCINPTR_MAX
     934 * The maximum value a RTRCINPTR can have.
     935 */
     936#define RTRCINTPTR_MAX ((RTRCINTPTR)INT32_MAX)
    923937
    924938/** @} */
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