VirtualBox

Changeset 25560 in vbox for trunk/src/VBox/Disassembler


Ignore:
Timestamp:
Dec 22, 2009 12:49:28 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
56237
Message:

Do not directly access rc pointers by default

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Disassembler/DisasmInternal.h

    r18422 r25560  
    161161
    162162
    163 #ifdef IN_RC
    164 #define  DISReadByte(pCpu,  pAddress) (*(uint8_t *)(pAddress))
    165 #define  DISReadWord(pCpu,  pAddress) (*(uint16_t *)(pAddress))
    166 #define  DISReadDWord(pCpu, pAddress) (*(uint32_t *)(pAddress))
    167 #define  DISReadQWord(pCpu, pAddress) (*(uint64_t *)(pAddress))
    168 #else
    169163/* Read functions */
    170164uint8_t  DISReadByte(PDISCPUSTATE pCpu, RTUINTPTR pAddress);
     
    172166uint32_t DISReadDWord(PDISCPUSTATE pCpu, RTUINTPTR pAddress);
    173167uint64_t DISReadQWord(PDISCPUSTATE pCpu, RTUINTPTR pAddress);
    174 #endif
    175168
    176169size_t disFormatBytes(PCDISCPUSTATE pCpu, char *pszDst, size_t cchDst, uint32_t fFlags);
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