Changeset 20374 in vbox for trunk/src/VBox/HostDrivers/Support
- Timestamp:
- Jun 8, 2009 12:43:21 AM (16 years ago)
- svn:sync-xref-src-repo-rev:
- 48298
- Location:
- trunk/src/VBox/HostDrivers/Support
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrvIDC.h
r20366 r20374 226 226 * Most OSes uses 227 227 */ 228 RT_ BEGIN_DECLS228 RT_C_DECLS_BEGIN 229 229 230 230 #if defined(RT_OS_DARWIN) … … 250 250 #endif 251 251 252 RT_ END_DECLS252 RT_C_DECLS_END 253 253 254 254 /** -
trunk/src/VBox/HostDrivers/Support/SUPDrvInternal.h
r20366 r20374 49 49 50 50 #if defined(RT_OS_WINDOWS) 51 RT_ BEGIN_DECLS51 RT_C_DECLS_BEGIN 52 52 # if (_MSC_VER >= 1400) && !defined(VBOX_WITH_PATCHED_DDK) 53 53 # define _InterlockedExchange _InterlockedExchange_StupidDDKVsCompilerCrap … … 76 76 # define memcmp(a,b,c) mymemcmp(a,b,c) 77 77 int VBOXCALL mymemcmp(const void *, const void *, size_t); 78 RT_ END_DECLS78 RT_C_DECLS_END 79 79 80 80 #elif defined(RT_OS_LINUX) … … 191 191 #endif 192 192 193 RT_ BEGIN_DECLS193 RT_C_DECLS_BEGIN 194 194 int linux_dprintf(const char *format, ...); 195 RT_ END_DECLS195 RT_C_DECLS_END 196 196 197 197 /* debug printf */ … … 624 624 625 625 626 RT_ BEGIN_DECLS626 RT_C_DECLS_BEGIN 627 627 628 628 /******************************************************************************* … … 651 651 bool VBOXCALL supdrvDetermineAsyncTsc(uint64_t *pu64DiffCores); 652 652 653 RT_ END_DECLS654 655 #endif 656 653 RT_C_DECLS_END 654 655 #endif 656 -
trunk/src/VBox/HostDrivers/Support/SUPLibInternal.h
r20366 r20374 242 242 * OS Specific Function * 243 243 *******************************************************************************/ 244 RT_ BEGIN_DECLS244 RT_C_DECLS_BEGIN 245 245 int suplibOsInstall(void); 246 246 int suplibOsUninstall(void); … … 315 315 316 316 317 RT_ END_DECLS318 319 320 #endif 321 317 RT_C_DECLS_END 318 319 320 #endif 321 -
trunk/src/VBox/HostDrivers/Support/SUPR0IdcClientInternal.h
r20366 r20374 43 43 # define _InterlockedAddLargeStatistic _InterlockedAddLargeStatistic_StupidDDKVsCompilerCrap 44 44 # pragma warning(disable : 4163) 45 RT_ BEGIN_DECLS45 RT_C_DECLS_BEGIN 46 46 # include <ntddk.h> 47 RT_ END_DECLS47 RT_C_DECLS_END 48 48 # pragma warning(default : 4163) 49 49 # undef _InterlockedExchange … … 52 52 # undef _InterlockedAddLargeStatistic 53 53 # else 54 RT_ BEGIN_DECLS54 RT_C_DECLS_BEGIN 55 55 # include <ntddk.h> 56 RT_ END_DECLS56 RT_C_DECLS_END 57 57 # endif 58 58 #endif /* RT_OS_WINDOWS */ … … 80 80 AssertCompile(RT_SIZEOFMEMB(SUPDRVIDCHANDLE, apvPadding) >= sizeof(struct SUPDRVIDCHANDLEPRIVATE)); 81 81 82 RT_ BEGIN_DECLS82 RT_C_DECLS_BEGIN 83 83 PSUPDRVIDCHANDLE supR0IdcGetHandleFromSession(PSUPDRVSESSION pSession); 84 84 int VBOXCALL supR0IdcNativeOpen(PSUPDRVIDCHANDLE pHandle, PSUPDRVIDCREQCONNECT pReq); 85 85 int VBOXCALL supR0IdcNativeClose(PSUPDRVIDCHANDLE pHandle, PSUPDRVIDCREQHDR pReq); 86 86 int VBOXCALL supR0IdcNativeCall(PSUPDRVIDCHANDLE pHandle, uint32_t iReq, PSUPDRVIDCREQHDR pReq); 87 RT_ END_DECLS87 RT_C_DECLS_END 88 88 89 89 #endif -
trunk/src/VBox/HostDrivers/Support/SUPSvcInternal.h
r20366 r20374 37 37 #include <iprt/getopt.h> 38 38 39 RT_ BEGIN_DECLS39 RT_C_DECLS_BEGIN 40 40 41 41 /** @name Common Helpers … … 90 90 /** @} */ 91 91 92 RT_ END_DECLS92 RT_C_DECLS_END 93 93 94 94 #endif -
trunk/src/VBox/HostDrivers/Support/darwin/SUPDrv-darwin.cpp
r20366 r20374 71 71 72 72 #ifdef VBOX_WITH_HOST_VMX 73 RT_ BEGIN_DECLS73 RT_C_DECLS_BEGIN 74 74 # include <i386/vmx.h> 75 RT_ END_DECLS75 RT_C_DECLS_END 76 76 #endif 77 77 … … 89 89 * Internal Functions * 90 90 *******************************************************************************/ 91 RT_ BEGIN_DECLS91 RT_C_DECLS_BEGIN 92 92 static kern_return_t VBoxDrvDarwinStart(struct kmod_info *pKModInfo, void *pvData); 93 93 static kern_return_t VBoxDrvDarwinStop(struct kmod_info *pKModInfo, void *pvData); … … 101 101 102 102 static IOReturn VBoxDrvDarwinSleepHandler(void *pvTarget, void *pvRefCon, UInt32 uMessageType, IOService *pProvider, void *pvMessageArgument, vm_size_t argSize); 103 RT_ END_DECLS103 RT_C_DECLS_END 104 104 105 105 … … 162 162 * Declare the module stuff. 163 163 */ 164 RT_ BEGIN_DECLS164 RT_C_DECLS_BEGIN 165 165 extern kern_return_t _start(struct kmod_info *pKModInfo, void *pvData); 166 166 extern kern_return_t _stop(struct kmod_info *pKModInfo, void *pvData); … … 170 170 DECLHIDDEN(kmod_stop_func_t *) _antimain = VBoxDrvDarwinStop; 171 171 DECLHIDDEN(int) _kext_apple_cc = __APPLE_CC__; 172 RT_ END_DECLS172 RT_C_DECLS_END 173 173 174 174 -
trunk/src/VBox/HostDrivers/Support/os2/SUPDrv-os2.cpp
r20366 r20374 64 64 #define SESSION_HASH(sfn) ((sfn) % RT_ELEMENTS(g_apSessionHashTab)) 65 65 66 RT_ BEGIN_DECLS66 RT_C_DECLS_BEGIN 67 67 /* Defined in SUPDrvA-os2.asm */ 68 68 extern uint16_t g_offLogHead; … … 74 74 extern uint16_t g_cchInitText; 75 75 extern uint16_t g_cchInitTextMax; 76 RT_ END_DECLS76 RT_C_DECLS_END 77 77 78 78 -
trunk/src/VBox/HostDrivers/Support/win/SUPDrv-win.cpp
r20366 r20374 91 91 * Exported Functions * 92 92 *******************************************************************************/ 93 RT_ BEGIN_DECLS93 RT_C_DECLS_BEGIN 94 94 ULONG _stdcall DriverEntry(PDRIVER_OBJECT pDrvObj, PUNICODE_STRING pRegPath); 95 RT_ END_DECLS95 RT_C_DECLS_END 96 96 97 97
Note:
See TracChangeset
for help on using the changeset viewer.