VirtualBox

Changeset 3239 in vbox


Ignore:
Timestamp:
Jun 23, 2007 12:35:15 AM (18 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
22231
Message:

Added current context (CC) variations on the RG/RG types; RCi,RCp,RCr,RCu,RCv,RCx. (this is just a very easy way of dealying having to figure out what to do with IN_GUEST code and the context stuff.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/strformatrt.cpp

    r2981 r3239  
    6868 *      - \%RHv             - Takes a #RTHCPTR, #RTHCINTPTR or #RTHCUINTPTR value.
    6969 *      - \%RHx             - Takes a #RTHCUINT or #RTHCINT value, formatting it as hex.
     70 *      - \%RCi             - Takes a #RTCCINT value.
     71 *      - \%RCp             - Takes a #RTCCPHYS value.
     72 *      - \%RCr             - Takes a #RTCCUINTREG value.
     73 *      - \%RCu             - Takes a #RTUINT value.
     74 *      - \%RCv             - Takes a #uintptr_t, #intptr_t, void * value.
     75 *      - \%RCx             - Takes a #RTUINT or #RTINT value, formatting it as hex.
    7076 *
    7177 *
     
    163169            case 'G':
    164170            case 'H':
     171            case 'C':
    165172            case 'I':
    166173            case 'X':
     
    184191                {
    185192#define STRMEM(str) sizeof(str) - 1, str
     193                    { STRMEM("Ci"),      sizeof(RTINT),          10, RTSF_INT,   RTSTR_F_VALSIGNED },
     194                    { STRMEM("Cp"),      sizeof(RTGCPHYS),       16, RTSF_INTW,  0 },
     195                    { STRMEM("Cr"),      sizeof(RTCCUINTREG),    16, RTSF_INTW,  0 },
     196                    { STRMEM("Cu"),      sizeof(RTUINT),         10, RTSF_INT,   0 },
     197                    { STRMEM("Cv"),      sizeof(void *),         16, RTSF_INTW,  0 },
     198                    { STRMEM("Cx"),      sizeof(RTUINT),         16, RTSF_INT,   0 },
    186199                    { STRMEM("Gi"),      sizeof(RTGCINT),        10, RTSF_INT,   RTSTR_F_VALSIGNED },
    187200                    { STRMEM("Gp"),      sizeof(RTGCPHYS),       16, RTSF_INTW,  0 },
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