Changeset 20366 in vbox
- Timestamp:
- Jun 8, 2009 12:21:10 AM (16 years ago)
- Location:
- trunk/src/VBox/HostDrivers
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrvIDC.h
r10377 r20366 226 226 * Most OSes uses 227 227 */ 228 __BEGIN_DECLS228 RT_BEGIN_DECLS 229 229 230 230 #if defined(RT_OS_DARWIN) … … 250 250 #endif 251 251 252 __END_DECLS252 RT_END_DECLS 253 253 254 254 /** -
trunk/src/VBox/HostDrivers/Support/SUPDrvInternal.h
r19866 r20366 49 49 50 50 #if defined(RT_OS_WINDOWS) 51 __BEGIN_DECLS51 RT_BEGIN_DECLS 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 __END_DECLS78 RT_END_DECLS 79 79 80 80 #elif defined(RT_OS_LINUX) … … 191 191 #endif 192 192 193 __BEGIN_DECLS193 RT_BEGIN_DECLS 194 194 int linux_dprintf(const char *format, ...); 195 __END_DECLS195 RT_END_DECLS 196 196 197 197 /* debug printf */ … … 624 624 625 625 626 __BEGIN_DECLS626 RT_BEGIN_DECLS 627 627 628 628 /******************************************************************************* … … 651 651 bool VBOXCALL supdrvDetermineAsyncTsc(uint64_t *pu64DiffCores); 652 652 653 __END_DECLS654 655 #endif 656 653 RT_END_DECLS 654 655 #endif 656 -
trunk/src/VBox/HostDrivers/Support/SUPLibInternal.h
r19924 r20366 242 242 * OS Specific Function * 243 243 *******************************************************************************/ 244 __BEGIN_DECLS244 RT_BEGIN_DECLS 245 245 int suplibOsInstall(void); 246 246 int suplibOsUninstall(void); … … 315 315 316 316 317 __END_DECLS318 319 320 #endif 321 317 RT_END_DECLS 318 319 320 #endif 321 -
trunk/src/VBox/HostDrivers/Support/SUPR0IdcClientInternal.h
r18500 r20366 43 43 # define _InterlockedAddLargeStatistic _InterlockedAddLargeStatistic_StupidDDKVsCompilerCrap 44 44 # pragma warning(disable : 4163) 45 __BEGIN_DECLS45 RT_BEGIN_DECLS 46 46 # include <ntddk.h> 47 __END_DECLS47 RT_END_DECLS 48 48 # pragma warning(default : 4163) 49 49 # undef _InterlockedExchange … … 52 52 # undef _InterlockedAddLargeStatistic 53 53 # else 54 __BEGIN_DECLS54 RT_BEGIN_DECLS 55 55 # include <ntddk.h> 56 __END_DECLS56 RT_END_DECLS 57 57 # endif 58 58 #endif /* RT_OS_WINDOWS */ … … 80 80 AssertCompile(RT_SIZEOFMEMB(SUPDRVIDCHANDLE, apvPadding) >= sizeof(struct SUPDRVIDCHANDLEPRIVATE)); 81 81 82 __BEGIN_DECLS82 RT_BEGIN_DECLS 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 __END_DECLS87 RT_END_DECLS 88 88 89 89 #endif -
trunk/src/VBox/HostDrivers/Support/SUPSvcInternal.h
r11725 r20366 37 37 #include <iprt/getopt.h> 38 38 39 __BEGIN_DECLS39 RT_BEGIN_DECLS 40 40 41 41 /** @name Common Helpers … … 90 90 /** @} */ 91 91 92 __END_DECLS92 RT_END_DECLS 93 93 94 94 #endif -
trunk/src/VBox/HostDrivers/Support/darwin/SUPDrv-darwin.cpp
r16356 r20366 71 71 72 72 #ifdef VBOX_WITH_HOST_VMX 73 __BEGIN_DECLS73 RT_BEGIN_DECLS 74 74 # include <i386/vmx.h> 75 __END_DECLS75 RT_END_DECLS 76 76 #endif 77 77 … … 89 89 * Internal Functions * 90 90 *******************************************************************************/ 91 __BEGIN_DECLS91 RT_BEGIN_DECLS 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 __END_DECLS103 RT_END_DECLS 104 104 105 105 … … 162 162 * Declare the module stuff. 163 163 */ 164 __BEGIN_DECLS164 RT_BEGIN_DECLS 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 __END_DECLS172 RT_END_DECLS 173 173 174 174 -
trunk/src/VBox/HostDrivers/Support/os2/SUPDrv-os2.cpp
r13998 r20366 64 64 #define SESSION_HASH(sfn) ((sfn) % RT_ELEMENTS(g_apSessionHashTab)) 65 65 66 __BEGIN_DECLS66 RT_BEGIN_DECLS 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 __END_DECLS76 RT_END_DECLS 77 77 78 78 -
trunk/src/VBox/HostDrivers/Support/win/SUPDrv-win.cpp
r19957 r20366 91 91 * Exported Functions * 92 92 *******************************************************************************/ 93 __BEGIN_DECLS93 RT_BEGIN_DECLS 94 94 ULONG _stdcall DriverEntry(PDRIVER_OBJECT pDrvObj, PUNICODE_STRING pRegPath); 95 __END_DECLS95 RT_END_DECLS 96 96 97 97 -
trunk/src/VBox/HostDrivers/VBoxNetAdp/VBoxNetAdpInternal.h
r18973 r20366 29 29 30 30 31 __BEGIN_DECLS31 RT_BEGIN_DECLS 32 32 33 33 /** Pointer to the globals. */ … … 221 221 DECLHIDDEN(void) vboxNetAdpDeleteGlobalsBase(PVBOXNETADPGLOBALS pGlobals); 222 222 DECLHIDDEN(int) vboxNetAdpTryDeleteIdc(PVBOXNETADPGLOBALS pGlobals); 223 223 224 224 225 225 … … 338 338 339 339 340 __END_DECLS340 RT_END_DECLS 341 341 342 342 #endif -
trunk/src/VBox/HostDrivers/VBoxNetAdp/darwin/VBoxNetAdp-darwin.cpp
r18859 r20366 45 45 46 46 #include <sys/systm.h> 47 __BEGIN_DECLS /* Buggy 10.4 headers, fixed in 10.5. */47 RT_BEGIN_DECLS /* Buggy 10.4 headers, fixed in 10.5. */ 48 48 #include <sys/kpi_mbuf.h> 49 __END_DECLS49 RT_END_DECLS 50 50 51 51 #include <net/ethernet.h> … … 96 96 * Internal Functions * 97 97 *******************************************************************************/ 98 __BEGIN_DECLS98 RT_BEGIN_DECLS 99 99 static kern_return_t VBoxNetAdpDarwinStart(struct kmod_info *pKModInfo, void *pvData); 100 100 static kern_return_t VBoxNetAdpDarwinStop(struct kmod_info *pKModInfo, void *pvData); 101 __END_DECLS101 RT_END_DECLS 102 102 103 103 static int VBoxNetAdpDarwinOpen(dev_t Dev, int fFlags, int fDevType, struct proc *pProcess); … … 111 111 * Declare the module stuff. 112 112 */ 113 __BEGIN_DECLS113 RT_BEGIN_DECLS 114 114 extern kern_return_t _start(struct kmod_info *pKModInfo, void *pvData); 115 115 extern kern_return_t _stop(struct kmod_info *pKModInfo, void *pvData); … … 119 119 DECLHIDDEN(kmod_stop_func_t *) _antimain = VBoxNetAdpDarwinStop; 120 120 DECLHIDDEN(int) _kext_apple_cc = __APPLE_CC__; 121 __END_DECLS121 RT_END_DECLS 122 122 123 123 /** -
trunk/src/VBox/HostDrivers/VBoxNetFlt/VBoxNetFltInternal.h
r18810 r20366 29 29 30 30 31 __BEGIN_DECLS31 RT_BEGIN_DECLS 32 32 33 33 /** Pointer to the globals. */ … … 419 419 420 420 421 __END_DECLS422 423 #endif 424 421 RT_END_DECLS 422 423 #endif 424 -
trunk/src/VBox/HostDrivers/VBoxNetFlt/darwin/VBoxNetFlt-darwin.cpp
r18098 r20366 58 58 #include <sys/kern_event.h> 59 59 #include <net/kpi_interface.h> 60 __BEGIN_DECLS /* Buggy 10.4 headers, fixed in 10.5. */60 RT_BEGIN_DECLS /* Buggy 10.4 headers, fixed in 10.5. */ 61 61 #include <sys/kpi_mbuf.h> 62 62 #include <net/kpi_interfacefilter.h> 63 __END_DECLS63 RT_END_DECLS 64 64 #include <net/if.h> 65 65 … … 84 84 * Internal Functions * 85 85 *******************************************************************************/ 86 __BEGIN_DECLS86 RT_BEGIN_DECLS 87 87 static kern_return_t VBoxNetFltDarwinStart(struct kmod_info *pKModInfo, void *pvData); 88 88 static kern_return_t VBoxNetFltDarwinStop(struct kmod_info *pKModInfo, void *pvData); 89 __END_DECLS89 RT_END_DECLS 90 90 91 91 … … 118 118 * Declare the module stuff. 119 119 */ 120 __BEGIN_DECLS120 RT_BEGIN_DECLS 121 121 extern kern_return_t _start(struct kmod_info *pKModInfo, void *pvData); 122 122 extern kern_return_t _stop(struct kmod_info *pKModInfo, void *pvData); … … 126 126 DECLHIDDEN(kmod_stop_func_t *) _antimain = VBoxNetFltDarwinStop; 127 127 DECLHIDDEN(int) _kext_apple_cc = __APPLE_CC__; 128 __END_DECLS128 RT_END_DECLS 129 129 130 130
Note:
See TracChangeset
for help on using the changeset viewer.