Changeset 57336 in vbox for trunk/src/VBox/VMM
- Timestamp:
- Aug 13, 2015 10:17:35 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/PGMDbg.cpp
r57334 r57336 104 104 */ 105 105 106 #if defined(_MSC_VER) || defined(RT_OS_OS2) 107 # define DECLASMCALLBACK(type) type __cdecl 108 #elif defined(__GNUC__) && defined(RT_ARCH_X86) 109 # define DECLASMCALLBACK(type) type __attribute__((cdecl,regparm(0))) 110 #else 111 # define DECLASMCALLBACK(type) type 112 #endif 113 typedef DECLASMCALLBACK(uint8_t const *) FNPGMR3DBGFIXEDMEMSCAN(void const *pvHaystack, uint32_t cbHaystack, 114 void const *pvNeedle, size_t cbNeedle); 106 typedef DECLCALLBACK(uint8_t const *) FNPGMR3DBGFIXEDMEMSCAN(void const *pvHaystack, uint32_t cbHaystack, 107 void const *pvNeedle, size_t cbNeedle); 115 108 /** Pointer to an fixed size and step assembly scanner function. */ 116 109 typedef FNPGMR3DBGFIXEDMEMSCAN *PFNPGMR3DBGFIXEDMEMSCAN;
Note:
See TracChangeset
for help on using the changeset viewer.