- Timestamp:
- Jun 8, 2009 12:43:21 AM (16 years ago)
- Location:
- trunk/src
- Files:
-
- 137 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.h
r20369 r20374 32 32 #endif /* VBOX_WITH_HGSMI */ 33 33 34 RT_ BEGIN_DECLS34 RT_C_DECLS_BEGIN 35 35 #include "dderror.h" 36 36 #include "devioctl.h" … … 38 38 #include "ntddvdeo.h" 39 39 #include "video.h" 40 RT_ END_DECLS40 RT_C_DECLS_END 41 41 42 42 … … 158 158 { 159 159 160 RT_ BEGIN_DECLS160 RT_C_DECLS_BEGIN 161 161 ULONG DriverEntry(IN PVOID Context1, IN PVOID Context2); 162 RT_ END_DECLS162 RT_C_DECLS_END 163 163 164 164 VP_STATUS VBoxVideoFindAdapter( -
trunk/src/VBox/Additions/WINNT/MouseFilter/VBoxMouse.cpp
r20369 r20374 30 30 // VBOX end 31 31 32 RT_ BEGIN_DECLS32 RT_C_DECLS_BEGIN 33 33 NTSTATUS DriverEntry (PDRIVER_OBJECT, PUNICODE_STRING); 34 RT_ END_DECLS34 RT_C_DECLS_END 35 35 36 36 #ifdef ALLOC_PRAGMA -
trunk/src/VBox/Additions/WINNT/MouseFilter/VBoxMouse.h
r20369 r20374 25 25 26 26 #include <iprt/assert.h> 27 RT_ BEGIN_DECLS27 RT_C_DECLS_BEGIN 28 28 #include "ntddk.h" 29 29 #include "kbdmou.h" 30 30 #include <ntddmou.h> 31 31 #include <ntdd8042.h> 32 RT_ END_DECLS32 RT_C_DECLS_END 33 33 #include <VBox/VBoxGuest.h> 34 34 … … 151 151 // Prototypes 152 152 // 153 RT_ BEGIN_DECLS153 RT_C_DECLS_BEGIN 154 154 155 155 NTSTATUS … … 226 226 ); 227 227 228 RT_ END_DECLS228 RT_C_DECLS_END 229 229 230 230 #endif // VBOXMOUSE_H -
trunk/src/VBox/Additions/WINNT/VBoxGuest/VBoxGuest.cpp
r20369 r20374 80 80 * Exported Functions * 81 81 *******************************************************************************/ 82 RT_ BEGIN_DECLS82 RT_C_DECLS_BEGIN 83 83 ULONG DriverEntry(PDRIVER_OBJECT pDrvObj, PUNICODE_STRING pRegPath); 84 RT_ END_DECLS84 RT_C_DECLS_END 85 85 86 86 #ifdef ALLOC_PRAGMA -
trunk/src/VBox/Additions/WINNT/VBoxGuest/VBoxGuest_Internal.h
r20369 r20374 36 36 # define _InterlockedAddLargeStatistic _InterlockedAddLargeStatistic_StupidDDKVsCompilerCrap 37 37 # pragma warning(disable : 4163) 38 RT_ BEGIN_DECLS38 RT_C_DECLS_BEGIN 39 39 # include <ntddk.h> 40 RT_ END_DECLS40 RT_C_DECLS_END 41 41 # pragma warning(default : 4163) 42 42 # undef _InterlockedExchange … … 45 45 # undef _InterlockedAddLargeStatistic 46 46 # else 47 RT_ BEGIN_DECLS47 RT_C_DECLS_BEGIN 48 48 # include <ntddk.h> 49 RT_ END_DECLS49 RT_C_DECLS_END 50 50 # endif 51 51 #endif -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuest-os2.cpp
r20369 r20374 88 88 #define SESSION_HASH(sfn) ((sfn) % RT_ELEMENTS(g_apSessionHashTab)) 89 89 90 RT_ BEGIN_DECLS90 RT_C_DECLS_BEGIN 91 91 /* Defined in VBoxGuestA-os2.asm */ 92 92 extern uint32_t g_PhysMMIOBase; … … 109 109 extern uint16_t g_cchInitText; 110 110 extern uint16_t g_cchInitTextMax; 111 RT_ END_DECLS111 RT_C_DECLS_END 112 112 113 113 -
trunk/src/VBox/Additions/common/VBoxGuest/VBoxGuestInternal.h
r20369 r20374 147 147 148 148 149 RT_ BEGIN_DECLS149 RT_C_DECLS_BEGIN 150 150 151 151 int VBoxGuestInitDevExt(PVBOXGUESTDEVEXT pDevExt, uint16_t IOPortBase, void *pvMMIOBase, uint32_t cbMMIO, VBOXOSTYPE enmOSType); … … 162 162 void *pvData, size_t cbData, size_t *pcbDataReturned); 163 163 164 RT_ END_DECLS164 RT_C_DECLS_END 165 165 166 166 #endif -
trunk/src/VBox/Additions/common/VBoxGuestLib/SysHlp.cpp
r20369 r20374 142 142 143 143 #ifdef RT_OS_LINUX 144 RT_ BEGIN_DECLS144 RT_C_DECLS_BEGIN 145 145 extern DECLVBGL(void *) vboxadd_cmc_open (void); 146 146 extern DECLVBGL(void) vboxadd_cmc_close (void *); 147 147 extern DECLVBGL(int) vboxadd_cmc_call (void *opaque, uint32_t func, void *data); 148 RT_ END_DECLS148 RT_C_DECLS_END 149 149 #endif /* RT_OS_LINUX */ 150 150 151 151 #ifdef RT_OS_OS2 152 RT_ BEGIN_DECLS152 RT_C_DECLS_BEGIN 153 153 /* 154 154 * On OS/2 we'll do the connecting in the assembly code of the … … 157 157 */ 158 158 extern VBOXGUESTOS2IDCCONNECT g_VBoxGuestIDC; 159 RT_ END_DECLS159 RT_C_DECLS_END 160 160 #endif 161 161 162 162 #ifdef RT_OS_SOLARIS 163 RT_ BEGIN_DECLS163 RT_C_DECLS_BEGIN 164 164 extern DECLVBGL(void *) VBoxGuestSolarisServiceOpen (uint32_t *pu32Version); 165 165 extern DECLVBGL(void) VBoxGuestSolarisServiceClose (void *pvOpaque); 166 166 extern DECLVBGL(int) VBoxGuestSolarisServiceCall (void *pvOpaque, unsigned int iCmd, void *pvData, size_t cbSize, size_t *pcbReturn); 167 RT_ END_DECLS167 RT_C_DECLS_END 168 168 169 169 #elif defined (RT_OS_FREEBSD) 170 RT_ BEGIN_DECLS170 RT_C_DECLS_BEGIN 171 171 extern DECLVBGL(void *) VBoxGuestFreeBSDServiceOpen (uint32_t *pu32Version); 172 172 extern DECLVBGL(void) VBoxGuestFreeBSDServiceClose (void *pvOpaque); 173 173 extern DECLVBGL(int) VBoxGuestFreeBSDServiceCall (void *pvOpaque, unsigned int iCmd, void *pvData, size_t cbSize, size_t *pcbReturn); 174 RT_ END_DECLS174 RT_C_DECLS_END 175 175 176 176 #endif -
trunk/src/VBox/Additions/common/VBoxGuestLib/SysHlp.h
r20369 r20374 32 32 # define _InterlockedAddLargeStatistic _InterlockedAddLargeStatistic_StupidDDKVsCompilerCrap 33 33 # pragma warning(disable : 4163) 34 RT_ BEGIN_DECLS34 RT_C_DECLS_BEGIN 35 35 # include <ntddk.h> 36 RT_ END_DECLS36 RT_C_DECLS_END 37 37 # pragma warning(default : 4163) 38 38 # undef _InterlockedExchange … … 41 41 # undef _InterlockedAddLargeStatistic 42 42 # else 43 RT_ BEGIN_DECLS43 RT_C_DECLS_BEGIN 44 44 # include <ntddk.h> 45 RT_ END_DECLS45 RT_C_DECLS_END 46 46 # endif 47 47 /* XP DDK #defines ExFreePool to ExFreePoolWithTag. The latter does not exist on NT4, so... -
trunk/src/VBox/Additions/common/VBoxGuestLib/VBGLR3Internal.h
r20369 r20374 28 28 #include <VBox/VBoxGuest.h> 29 29 30 RT_ BEGIN_DECLS30 RT_C_DECLS_BEGIN 31 31 32 32 int vbglR3DoIOCtl(unsigned iFunction, void *pvData, size_t cbData); … … 93 93 #endif /* ___iprt_string_h */ 94 94 95 RT_ END_DECLS95 RT_C_DECLS_END 96 96 97 97 #endif -
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxCalls.h
r20369 r20374 34 34 # define _InterlockedAddLargeStatistic _InterlockedAddLargeStatistic_StupidDDKvsCompilerCrap 35 35 # pragma warning(disable : 4163) 36 RT_ BEGIN_DECLS36 RT_C_DECLS_BEGIN 37 37 # include <ntddk.h> 38 RT_ END_DECLS38 RT_C_DECLS_END 39 39 # pragma warning(default : 4163) 40 40 # undef _InterlockedExchange … … 43 43 # undef _InterlockedAddLargeStatistic 44 44 # else 45 RT_ BEGIN_DECLS45 RT_C_DECLS_BEGIN 46 46 # include <ntddk.h> 47 RT_ END_DECLS47 RT_C_DECLS_END 48 48 # endif 49 49 # endif -
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceInternal.h
r20369 r20374 116 116 #endif 117 117 118 RT_ BEGIN_DECLS118 RT_C_DECLS_BEGIN 119 119 120 120 extern char *g_pszProgName; … … 155 155 #endif /* RT_OS_WINDOWS */ 156 156 157 RT_ END_DECLS157 RT_C_DECLS_END 158 158 159 159 #endif -
trunk/src/VBox/Additions/os2/VBoxSF/VBoxSFInit.cpp
r20371 r20374 46 46 * Global Variables * 47 47 *******************************************************************************/ 48 RT_ BEGIN_DECLS48 RT_C_DECLS_BEGIN 49 49 /* from VBoxSFA.asm */ 50 50 extern RTFAR16 g_fpfnDevHlp; … … 53 53 /* from sys0.asm and the linker/end.lib. */ 54 54 extern char _text, _etext, _data, _end; 55 RT_ END_DECLS55 RT_C_DECLS_END 56 56 57 57 -
trunk/src/VBox/Devices/Builtins.h
r20367 r20374 25 25 #include <VBox/pdm.h> 26 26 27 RT_ BEGIN_DECLS27 RT_C_DECLS_BEGIN 28 28 29 29 /** The default BIOS logo data. */ … … 127 127 #endif 128 128 129 RT_ END_DECLS129 RT_C_DECLS_END 130 130 131 131 #endif -
trunk/src/VBox/Devices/Builtins2.h
r20367 r20374 25 25 #include <VBox/pdm.h> 26 26 27 RT_ BEGIN_DECLS27 RT_C_DECLS_BEGIN 28 28 29 29 #ifdef IN_VBOXDD2 … … 49 49 extern const PDMDEVREG g_DeviceIOAPIC; 50 50 51 RT_ END_DECLS51 RT_C_DECLS_END 52 52 53 53 #endif -
trunk/src/VBox/Devices/Bus/DevPCI.cpp
r20367 r20374 215 215 * Internal Functions * 216 216 *******************************************************************************/ 217 RT_ BEGIN_DECLS217 RT_C_DECLS_BEGIN 218 218 219 219 PDMBOTHCBDECL(void) pciSetIrq(PPDMDEVINS pDevIns, PPCIDEVICE pPciDev, int iIrq, int iLevel); … … 228 228 #endif 229 229 230 RT_ END_DECLS230 RT_C_DECLS_END 231 231 232 232 #define DEBUG_PCI -
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r20367 r20374 307 307 * Internal Functions * 308 308 *******************************************************************************/ 309 RT_ BEGIN_DECLS309 RT_C_DECLS_BEGIN 310 310 311 311 PDMBOTHCBDECL(int) vgaIOPortWrite(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT Port, uint32_t u32, unsigned cb); … … 336 336 337 337 338 RT_ END_DECLS338 RT_C_DECLS_END 339 339 340 340 -
trunk/src/VBox/Devices/Input/DevPS2.cpp
r20367 r20374 64 64 * Internal Functions * 65 65 *******************************************************************************/ 66 RT_ BEGIN_DECLS66 RT_C_DECLS_BEGIN 67 67 PDMBOTHCBDECL(int) kbdIOPortDataRead(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT Port, uint32_t *pu32, unsigned cb); 68 68 PDMBOTHCBDECL(int) kbdIOPortDataWrite(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT Port, uint32_t u32, unsigned cb); 69 69 PDMBOTHCBDECL(int) kbdIOPortStatusRead(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT Port, uint32_t *pu32, unsigned cb); 70 70 PDMBOTHCBDECL(int) kbdIOPortCommandWrite(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT Port, uint32_t u32, unsigned cb); 71 RT_ END_DECLS71 RT_C_DECLS_END 72 72 #endif /* !VBOX_DEVICE_STRUCT_TESTCASE */ 73 73 #endif /* VBOX */ -
trunk/src/VBox/Devices/Network/DevE1000.cpp
r20367 r20374 997 997 998 998 /* Forward declarations ******************************************************/ 999 RT_ BEGIN_DECLS999 RT_C_DECLS_BEGIN 1000 1000 PDMBOTHCBDECL(int) e1kMMIORead (PPDMDEVINS pDevIns, void *pvUser, RTGCPHYS GCPhysAddr, void *pv, unsigned cb); 1001 1001 PDMBOTHCBDECL(int) e1kMMIOWrite(PPDMDEVINS pDevIns, void *pvUser, RTGCPHYS GCPhysAddr, void *pv, unsigned cb); 1002 1002 PDMBOTHCBDECL(int) e1kIOPortIn (PPDMDEVINS pDevIns, void *pvUser, RTIOPORT port, uint32_t *pu32, unsigned cb); 1003 1003 PDMBOTHCBDECL(int) e1kIOPortOut(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT port, uint32_t u32, unsigned cb); 1004 RT_ END_DECLS1004 RT_C_DECLS_END 1005 1005 1006 1006 static int e1kRegReadUnimplemented (E1KSTATE* pState, uint32_t offset, uint32_t index, uint32_t *pu32Value); -
trunk/src/VBox/Devices/Network/DevINIP.cpp
r20367 r20374 25 25 *******************************************************************************/ 26 26 #define LOG_GROUP LOG_GROUP_DEV_INIP 27 #include <iprt/cdefs.h> /* include early to allow RT_ BEGIN_DECLShack */27 #include <iprt/cdefs.h> /* include early to allow RT_C_DECLS_BEGIN hack */ 28 28 #include <iprt/mem.h> /* include anything of ours that the lwip headers use. */ 29 29 #include <iprt/semaphore.h> … … 31 31 #include <iprt/alloca.h> 32 32 /* All lwip header files are not C++ safe. So hack around this. */ 33 RT_ BEGIN_DECLS33 RT_C_DECLS_BEGIN 34 34 #include "lwip/sys.h" 35 35 #include "lwip/stats.h" … … 44 44 #include "lwip/sockets.h" 45 45 #include "netif/etharp.h" 46 RT_ END_DECLS46 RT_C_DECLS_END 47 47 #include <VBox/pdmdev.h> 48 48 #include <VBox/tm.h> -
trunk/src/VBox/Devices/Network/DevPCNet.cpp
r20367 r20374 1139 1139 } 1140 1140 1141 RT_ BEGIN_DECLS1141 RT_C_DECLS_BEGIN 1142 1142 PDMBOTHCBDECL(int) pcnetIOPortRead(PPDMDEVINS pDevIns, void *pvUser, 1143 1143 RTIOPORT Port, uint32_t *pu32, unsigned cb); … … 1156 1156 RTGCPTR pvFault, RTGCPHYS GCPhysFault, void *pvUser); 1157 1157 #endif 1158 RT_ END_DECLS1158 RT_C_DECLS_END 1159 1159 1160 1160 #undef htonl -
trunk/src/VBox/Devices/Network/Pcap.h
r20367 r20374 25 25 #include <iprt/stream.h> 26 26 27 RT_ BEGIN_DECLS27 RT_C_DECLS_BEGIN 28 28 29 29 int PcapStreamHdr(PRTSTREAM pStream, uint64_t StartNanoTS); … … 33 33 int PcapFileFrame(RTFILE File, uint64_t StartNanoTS, const void *pvFrame, size_t cbFrame, size_t cbMax); 34 34 35 RT_ END_DECLS35 RT_C_DECLS_END 36 36 37 37 #endif -
trunk/src/VBox/Devices/PC/DevACPI.cpp
r20367 r20374 542 542 * Internal Functions * 543 543 *******************************************************************************/ 544 RT_ BEGIN_DECLS544 RT_C_DECLS_BEGIN 545 545 PDMBOTHCBDECL(int) acpiPMTmrRead( PPDMDEVINS pDevIns, void *pvUser, RTIOPORT Port, uint32_t *pu32, unsigned cb); 546 546 #ifdef IN_RING3 … … 566 566 # endif 567 567 #endif /* IN_RING3 */ 568 RT_ END_DECLS568 RT_C_DECLS_END 569 569 570 570 -
trunk/src/VBox/Devices/PC/DevAPIC.cpp
r20367 r20374 438 438 #ifdef VBOX 439 439 static uint32_t apic_get_delivery_bitmask(APICDeviceInfo* dev, uint8_t dest, uint8_t dest_mode); 440 RT_ BEGIN_DECLS440 RT_C_DECLS_BEGIN 441 441 PDMBOTHCBDECL(int) apicMMIORead(PPDMDEVINS pDevIns, void *pvUser, RTGCPHYS GCPhysAddr, void *pv, unsigned cb); 442 442 PDMBOTHCBDECL(int) apicMMIOWrite(PPDMDEVINS pDevIns, void *pvUser, RTGCPHYS GCPhysAddr, void *pv, unsigned cb); … … 457 457 458 458 static void apic_update_tpr(APICDeviceInfo *dev, APICState* s, uint32_t val); 459 RT_ END_DECLS459 RT_C_DECLS_END 460 460 #endif /* VBOX */ 461 461 -
trunk/src/VBox/Devices/PC/DevPIC.cpp
r20367 r20374 53 53 * Internal Functions * 54 54 *******************************************************************************/ 55 RT_ BEGIN_DECLS55 RT_C_DECLS_BEGIN 56 56 57 57 PDMBOTHCBDECL(void) picSetIrq(PPDMDEVINS pDevIns, int iIrq, int iLevel); … … 62 62 PDMBOTHCBDECL(int) picIOPortElcrWrite(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT Port, uint32_t u32, unsigned cb); 63 63 64 RT_ END_DECLS64 RT_C_DECLS_END 65 65 #endif /* !VBOX_DEVICE_STRUCT_TESTCASE */ 66 66 -
trunk/src/VBox/Devices/PC/DevPit-i8254.cpp
r20367 r20374 156 156 * Internal Functions * 157 157 *******************************************************************************/ 158 RT_ BEGIN_DECLS158 RT_C_DECLS_BEGIN 159 159 PDMBOTHCBDECL(int) pitIOPortRead(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT Port, uint32_t *pu32, unsigned cb); 160 160 PDMBOTHCBDECL(int) pitIOPortWrite(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT Port, uint32_t u32, unsigned cb); … … 164 164 static void pit_irq_timer_update(PITChannelState *s, uint64_t current_time, uint64_t now); 165 165 #endif 166 RT_ END_DECLS166 RT_C_DECLS_END 167 167 168 168 -
trunk/src/VBox/Devices/PC/DevRTC.cpp
r20367 r20374 70 70 *******************************************************************************/ 71 71 #ifndef VBOX_DEVICE_STRUCT_TESTCASE 72 RT_ BEGIN_DECLS72 RT_C_DECLS_BEGIN 73 73 PDMBOTHCBDECL(int) rtcIOPortRead(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT Port, uint32_t *pu32, unsigned cb); 74 74 PDMBOTHCBDECL(int) rtcIOPortWrite(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT Port, uint32_t u32, unsigned cb); … … 76 76 PDMBOTHCBDECL(void) rtcTimerSecond(PPDMDEVINS pDevIns, PTMTIMER pTimer, void *pvUser); 77 77 PDMBOTHCBDECL(void) rtcTimerSecond2(PPDMDEVINS pDevIns, PTMTIMER pTimer, void *pvUser); 78 RT_ END_DECLS78 RT_C_DECLS_END 79 79 #endif /* !VBOX_DEVICE_STRUCT_TESTCASE */ 80 80 -
trunk/src/VBox/Devices/Parallel/DevParallel.cpp
r20367 r20374 153 153 * Internal Functions * 154 154 *******************************************************************************/ 155 RT_ BEGIN_DECLS155 RT_C_DECLS_BEGIN 156 156 PDMBOTHCBDECL(int) parallelIOPortRead(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT Port, uint32_t *pu32, unsigned cb); 157 157 PDMBOTHCBDECL(int) parallelIOPortWrite(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT Port, uint32_t u32, unsigned cb); … … 160 160 PDMBOTHCBDECL(int) parallelIOPortWriteECP(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT Port, uint32_t u32, unsigned cb); 161 161 #endif 162 RT_ END_DECLS162 RT_C_DECLS_END 163 163 164 164 -
trunk/src/VBox/Devices/Serial/DevSerial.cpp
r20367 r20374 185 185 * Internal Functions * 186 186 *******************************************************************************/ 187 RT_ BEGIN_DECLS187 RT_C_DECLS_BEGIN 188 188 PDMBOTHCBDECL(int) serialIOPortRead(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT Port, uint32_t *pu32, unsigned cb); 189 189 PDMBOTHCBDECL(int) serialIOPortWrite(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT Port, uint32_t u32, unsigned cb); 190 RT_ END_DECLS190 RT_C_DECLS_END 191 191 192 192 #ifdef IN_RING3 -
trunk/src/VBox/Devices/Storage/ATAController.h
r20367 r20374 397 397 * Internal Functions * 398 398 ******************************************************************************/ 399 RT_ BEGIN_DECLS399 RT_C_DECLS_BEGIN 400 400 int ataControllerIOPortWrite1(PAHCIATACONTROLLER pCtl, RTIOPORT Port, uint32_t u32, unsigned cb); 401 401 int ataControllerIOPortRead1(PAHCIATACONTROLLER pCtl, RTIOPORT Port, uint32_t *u32, unsigned cb); … … 406 406 int ataControllerBMDMAIOPortRead(PAHCIATACONTROLLER pCtl, RTIOPORT Port, uint32_t *pu32, unsigned cb); 407 407 int ataControllerBMDMAIOPortWrite(PAHCIATACONTROLLER pCtl, RTIOPORT Port, uint32_t u32, unsigned cb); 408 RT_ END_DECLS408 RT_C_DECLS_END 409 409 410 410 #ifdef IN_RING3 -
trunk/src/VBox/Devices/Storage/DevATA.cpp
r20367 r20374 472 472 * Internal Functions * 473 473 ******************************************************************************/ 474 RT_ BEGIN_DECLS474 RT_C_DECLS_BEGIN 475 475 PDMBOTHCBDECL(int) ataIOPortWrite1(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT Port, uint32_t u32, unsigned cb); 476 476 PDMBOTHCBDECL(int) ataIOPortRead1(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT Port, uint32_t *u32, unsigned cb); … … 481 481 PDMBOTHCBDECL(int) ataBMDMAIOPortWrite(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT Port, uint32_t u32, unsigned cb); 482 482 PDMBOTHCBDECL(int) ataBMDMAIOPortRead(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT Port, uint32_t *pu32, unsigned cb); 483 RT_ END_DECLS483 RT_C_DECLS_END 484 484 485 485 -
trunk/src/VBox/Devices/Storage/DrvHostBase.h
r20367 r20374 25 25 #include <VBox/cdefs.h> 26 26 27 RT_ BEGIN_DECLS27 RT_C_DECLS_BEGIN 28 28 29 29 … … 198 198 #define PDMIBLOCK_2_DRVHOSTBASE(pInterface) ( (PDRVHOSTBASE)((uintptr_t)pInterface - RT_OFFSETOF(DRVHOSTBASE, IBlock)) ) 199 199 200 RT_ END_DECLS201 202 #endif 200 RT_C_DECLS_END 201 202 #endif -
trunk/src/VBox/Devices/Storage/DrvVD.cpp
r20367 r20374 39 39 #ifdef VBOX_WITH_INIP 40 40 /* All lwip header files are not C++ safe. So hack around this. */ 41 RT_ BEGIN_DECLS41 RT_C_DECLS_BEGIN 42 42 #include <lwip/inet.h> 43 43 #include <lwip/tcp.h> 44 44 #include <lwip/sockets.h> 45 RT_ END_DECLS45 RT_C_DECLS_END 46 46 #endif /* VBOX_WITH_INIP */ 47 47 -
trunk/src/VBox/Devices/Storage/VDICore.h
r20367 r20374 643 643 * Internal Functions * 644 644 *******************************************************************************/ 645 RT_ BEGIN_DECLS645 RT_C_DECLS_BEGIN 646 646 647 647 #ifndef VBOX_VDICORE_VD … … 651 651 #endif /* !VBOX_VDICORE_VD */ 652 652 653 RT_ END_DECLS653 RT_C_DECLS_END 654 654 655 655 #endif -
trunk/src/VBox/Devices/VMMDev/VMMDevHGCM.h
r20367 r20374 30 30 #include "VMMDevState.h" 31 31 32 RT_ BEGIN_DECLS32 RT_C_DECLS_BEGIN 33 33 DECLCALLBACK(int) vmmdevHGCMConnect (VMMDevState *pVMMDevState, VMMDevHGCMConnect *pHGCMConnect, RTGCPHYS GCPtr); 34 34 DECLCALLBACK(int) vmmdevHGCMDisconnect (VMMDevState *pVMMDevState, VMMDevHGCMDisconnect *pHGCMDisconnect, RTGCPHYS GCPtr); … … 41 41 int vmmdevHGCMLoadState(VMMDevState *pVMMDevState, PSSMHANDLE pSSM); 42 42 int vmmdevHGCMLoadStateDone(VMMDevState *pVMMDevState, PSSMHANDLE pSSM); 43 RT_ END_DECLS43 RT_C_DECLS_END 44 44 45 45 #endif /* !___VMMDev_VMMDevHGCM_h */ -
trunk/src/VBox/Devices/vl_vbox.h
r20371 r20374 41 41 #include "Builtins.h" 42 42 43 RT_ BEGIN_DECLS43 RT_C_DECLS_BEGIN 44 44 45 45 /* … … 372 372 /* end of bswap.h */ 373 373 374 RT_ END_DECLS374 RT_C_DECLS_END 375 375 376 376 #endif /* __vl_vbox_h__ */ -
trunk/src/VBox/Frontends/VBoxBFE/HGCM.h
r20368 r20374 37 37 typedef struct _HGCMSVCEXTHANDLEDATA *HGCMSVCEXTHANDLE; 38 38 39 RT_ BEGIN_DECLS39 RT_C_DECLS_BEGIN 40 40 int HGCMHostInit (void); 41 41 int HGCMHostShutdown (void); … … 57 57 int HGCMHostLoadState (PSSMHANDLE pSSM); 58 58 59 RT_ END_DECLS59 RT_C_DECLS_END 60 60 61 61 #endif /* __HGCM_h__ */ -
trunk/src/VBox/Frontends/VBoxBFE/SDLConsole.cpp
r20368 r20374 1072 1072 #ifdef RT_OS_DARWIN 1073 1073 1074 RT_ BEGIN_DECLS1074 RT_C_DECLS_BEGIN 1075 1075 /* Private interface in 10.3 and later. */ 1076 1076 typedef int CGSConnection; … … 1084 1084 extern CGError CGSGetGlobalHotKeyOperatingMode(CGSConnection Connection, CGSGlobalHotKeyOperatingMode *enmMode); 1085 1085 extern CGError CGSSetGlobalHotKeyOperatingMode(CGSConnection Connection, CGSGlobalHotKeyOperatingMode enmMode); 1086 RT_ END_DECLS1086 RT_C_DECLS_END 1087 1087 1088 1088 /** Keeping track of whether we disabled the hotkeys or not. */ -
trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp
r20368 r20374 3719 3719 #ifdef RT_OS_DARWIN 3720 3720 #include <Carbon/Carbon.h> 3721 RT_ BEGIN_DECLS3721 RT_C_DECLS_BEGIN 3722 3722 /* Private interface in 10.3 and later. */ 3723 3723 typedef int CGSConnection; … … 3731 3731 extern CGError CGSGetGlobalHotKeyOperatingMode(CGSConnection Connection, CGSGlobalHotKeyOperatingMode *enmMode); 3732 3732 extern CGError CGSSetGlobalHotKeyOperatingMode(CGSConnection Connection, CGSGlobalHotKeyOperatingMode enmMode); 3733 RT_ END_DECLS3733 RT_C_DECLS_END 3734 3734 3735 3735 /** Keeping track of whether we disabled the hotkeys or not. */ -
trunk/src/VBox/Frontends/VirtualBox/include/DarwinKeyboard.h
r20368 r20374 28 28 #include <CoreFoundation/CFBase.h> 29 29 30 RT_ BEGIN_DECLS30 RT_C_DECLS_BEGIN 31 31 32 32 /** Private hack for missing rightCmdKey enum. */ … … 51 51 void DarwinReleaseKeyboard(void); 52 52 53 RT_ END_DECLS53 RT_C_DECLS_END 54 54 55 55 #endif -
trunk/src/VBox/Frontends/VirtualBox/include/VBoxDockIconPreview.h
r20368 r20374 26 26 #include "VBoxUtils-darwin.h" 27 27 28 RT_ BEGIN_DECLS28 RT_C_DECLS_BEGIN 29 29 void darwinCreateVBoxDockIconTileView (void); 30 30 void darwinDestroyVBoxDockIconTileView (void); … … 35 35 void darwinOverlayApplicationDockTileImage (CGImageRef pImage); 36 36 void darwinRestoreApplicationDockTileImage (void); 37 RT_ END_DECLS37 RT_C_DECLS_END 38 38 39 39 #ifndef __OBJC__ -
trunk/src/VBox/Frontends/VirtualBox/include/VBoxIChatTheaterWrapper.h
r20368 r20374 27 27 # include <ApplicationServices/ApplicationServices.h> 28 28 29 RT_ BEGIN_DECLS29 RT_C_DECLS_BEGIN 30 30 31 31 void initSharedAVManager(); 32 32 void setImageRef (CGImageRef aImage); 33 33 34 RT_ END_DECLS34 RT_C_DECLS_END 35 35 36 36 #endif -
trunk/src/VBox/Frontends/VirtualBox/include/VBoxUtils-darwin.h
r20368 r20374 39 39 typedef NSView *NativeViewRef; 40 40 #else 41 # include <iprt/cdefs.h> /* for RT_ BEGIN_DECLS/RT_END_DECLS& stuff */41 # include <iprt/cdefs.h> /* for RT_C_DECLS_BEGIN/RT_C_DECLS_END & stuff */ 42 42 43 43 # include <qglobal.h> /* for QT_MAC_USE_COCOA */ … … 62 62 #endif /* __OBJC__ */ 63 63 64 RT_ BEGIN_DECLS64 RT_C_DECLS_BEGIN 65 65 66 66 /******************************************************************************** … … 92 92 void darwinWindowInvalidateShadowImpl (NativeWindowRef aWindow); 93 93 94 RT_ END_DECLS94 RT_C_DECLS_END 95 95 96 96 #ifndef __OBJC__ -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxX11Helper.cpp
r20368 r20374 27 27 28 28 /* rhel3 build hack */ 29 RT_ BEGIN_DECLS29 RT_C_DECLS_BEGIN 30 30 #include <X11/Xlib.h> 31 31 #include <X11/extensions/dpms.h> 32 RT_ END_DECLS32 RT_C_DECLS_END 33 33 34 34 static int gX11ScreenSaverTimeout; -
trunk/src/VBox/Frontends/VirtualBox/src/darwin/DarwinKeyboard.cpp
r20368 r20374 52 52 53 53 54 RT_ BEGIN_DECLS54 RT_C_DECLS_BEGIN 55 55 /* Private interface in 10.3 and later. */ 56 56 typedef int CGSConnection; … … 64 64 extern CGError CGSGetGlobalHotKeyOperatingMode(CGSConnection Connection, CGSGlobalHotKeyOperatingMode *enmMode); 65 65 extern CGError CGSSetGlobalHotKeyOperatingMode(CGSConnection Connection, CGSGlobalHotKeyOperatingMode enmMode); 66 RT_ END_DECLS66 RT_C_DECLS_END 67 67 68 68 -
trunk/src/VBox/Frontends/VirtualBox/src/darwin/VBoxCocoaApplication.h
r20368 r20374 29 29 #include <Carbon/Carbon.h> 30 30 31 RT_ BEGIN_DECLS31 RT_C_DECLS_BEGIN 32 32 33 33 /** Event handler callback. … … 94 94 /** @} */ 95 95 96 RT_ END_DECLS96 RT_C_DECLS_END 97 97 98 98 #endif -
trunk/src/VBox/GuestHost/OpenGL/include/cr_string.h
r20371 r20374 10 10 #include <iprt/cdefs.h> 11 11 12 RT_ BEGIN_DECLS12 RT_C_DECLS_BEGIN 13 13 14 14 DECLEXPORT(char *) crStrdup( const char *str ); … … 37 37 DECLEXPORT(void) crWordsToString( char *string, int nstring, void *data, int ndata ); 38 38 39 RT_ END_DECLS39 RT_C_DECLS_END 40 40 41 41 #endif /* CR_STRING_H */ -
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 -
trunk/src/VBox/HostDrivers/VBoxNetAdp/VBoxNetAdpInternal.h
r20366 r20374 29 29 30 30 31 RT_ BEGIN_DECLS31 RT_C_DECLS_BEGIN 32 32 33 33 /** Pointer to the globals. */ … … 338 338 339 339 340 RT_ END_DECLS340 RT_C_DECLS_END 341 341 342 342 #endif -
trunk/src/VBox/HostDrivers/VBoxNetAdp/darwin/VBoxNetAdp-darwin.cpp
r20366 r20374 45 45 46 46 #include <sys/systm.h> 47 RT_ BEGIN_DECLS/* Buggy 10.4 headers, fixed in 10.5. */47 RT_C_DECLS_BEGIN /* Buggy 10.4 headers, fixed in 10.5. */ 48 48 #include <sys/kpi_mbuf.h> 49 RT_ END_DECLS49 RT_C_DECLS_END 50 50 51 51 #include <net/ethernet.h> … … 96 96 * Internal Functions * 97 97 *******************************************************************************/ 98 RT_ BEGIN_DECLS98 RT_C_DECLS_BEGIN 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 RT_ END_DECLS101 RT_C_DECLS_END 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 RT_ BEGIN_DECLS113 RT_C_DECLS_BEGIN 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 RT_ END_DECLS121 RT_C_DECLS_END 122 122 123 123 /** -
trunk/src/VBox/HostDrivers/VBoxNetFlt/VBoxNetFltInternal.h
r20366 r20374 29 29 30 30 31 RT_ BEGIN_DECLS31 RT_C_DECLS_BEGIN 32 32 33 33 /** Pointer to the globals. */ … … 419 419 420 420 421 RT_ END_DECLS422 423 #endif 424 421 RT_C_DECLS_END 422 423 #endif 424 -
trunk/src/VBox/HostDrivers/VBoxNetFlt/darwin/VBoxNetFlt-darwin.cpp
r20366 r20374 58 58 #include <sys/kern_event.h> 59 59 #include <net/kpi_interface.h> 60 RT_ BEGIN_DECLS/* Buggy 10.4 headers, fixed in 10.5. */60 RT_C_DECLS_BEGIN /* Buggy 10.4 headers, fixed in 10.5. */ 61 61 #include <sys/kpi_mbuf.h> 62 62 #include <net/kpi_interfacefilter.h> 63 RT_ END_DECLS63 RT_C_DECLS_END 64 64 #include <net/if.h> 65 65 … … 84 84 * Internal Functions * 85 85 *******************************************************************************/ 86 RT_ BEGIN_DECLS86 RT_C_DECLS_BEGIN 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 RT_ END_DECLS89 RT_C_DECLS_END 90 90 91 91 … … 118 118 * Declare the module stuff. 119 119 */ 120 RT_ BEGIN_DECLS120 RT_C_DECLS_BEGIN 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 RT_ END_DECLS128 RT_C_DECLS_END 129 129 130 130 -
trunk/src/VBox/Main/Doxyfile.Main
r20370 r20374 1166 1166 # instead of the = operator. 1167 1167 1168 PREDEFINED = __DOXYGEN__ RT_ END_DECLS RT_BEGIN_DECLS1168 PREDEFINED = __DOXYGEN__ RT_C_DECLS_END RT_C_DECLS_BEGIN 1169 1169 1170 1170 # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then -
trunk/src/VBox/Main/darwin/iokit.h
r20371 r20374 77 77 #define VBOX_IOKIT_MODE_STRING "VBoxIOKitMode" 78 78 79 RT_ BEGIN_DECLS79 RT_C_DECLS_BEGIN 80 80 #ifdef VBOX_WITH_USB 81 81 void * DarwinSubscribeUSBNotifications(void); … … 87 87 PDARWINDVD DarwinGetDVDDrives(void); 88 88 PDARWINETHERNIC DarwinGetEthernetControllers(void); 89 RT_ END_DECLS89 RT_C_DECLS_END 90 90 91 91 #endif -
trunk/src/VBox/Main/include/hgcm/HGCM.h
r20370 r20374 37 37 typedef struct _HGCMSVCEXTHANDLEDATA *HGCMSVCEXTHANDLE; 38 38 39 RT_ BEGIN_DECLS39 RT_C_DECLS_BEGIN 40 40 int HGCMHostInit (void); 41 41 int HGCMHostShutdown (void); … … 57 57 int HGCMHostLoadState (PSSMHANDLE pSSM); 58 58 59 RT_ END_DECLS59 RT_C_DECLS_END 60 60 61 61 #endif /* __HGCM_h__ */ -
trunk/src/VBox/NetworkServices/NetLib/VBoxNetLib.h
r20370 r20374 26 26 #include <VBox/intnet.h> 27 27 28 RT_ BEGIN_DECLS28 RT_C_DECLS_BEGIN 29 29 30 30 … … 68 68 69 69 70 RT_ END_DECLS70 RT_C_DECLS_END 71 71 72 72 #endif -
trunk/src/VBox/Runtime/Doxyfile
r20364 r20374 1163 1163 1164 1164 PREDEFINED = DOXYGEN_RUNNING __DOXYGEN__ \ 1165 RT_ END_DECLS= \1166 RT_ BEGIN_DECLS= \1165 RT_C_DECLS_END= \ 1166 RT_C_DECLS_BEGIN= \ 1167 1167 VBOX=1 \ 1168 1168 RT_STRICT=1 \ -
trunk/src/VBox/Runtime/common/math/gcc/quad.h
r20364 r20374 136 136 #endif 137 137 138 RT_ BEGIN_DECLS138 RT_C_DECLS_BEGIN 139 139 quad_t __adddi3 __P((quad_t, quad_t)); 140 140 quad_t __anddi3 __P((quad_t, quad_t)); … … 163 163 u_quad_t __umoddi3 __P((u_quad_t, u_quad_t )); 164 164 quad_t __xordi3 __P((quad_t, quad_t)); 165 RT_ END_DECLS165 RT_C_DECLS_END -
trunk/src/VBox/Runtime/generic/env-generic.cpp
r20364 r20374 49 49 #endif 50 50 #if defined(RT_OS_SOLARIS) || defined(RT_OS_FREEBSD) || defined(RT_OS_NETBSD) || defined(RT_OS_OPENBSD) 51 RT_ BEGIN_DECLS51 RT_C_DECLS_BEGIN 52 52 extern char **environ; 53 RT_ END_DECLS53 RT_C_DECLS_END 54 54 #endif 55 55 -
trunk/src/VBox/Runtime/include/internal/dbgmod.h
r20364 r20374 27 27 #include "internal/magics.h" 28 28 29 RT_ BEGIN_DECLS29 RT_C_DECLS_BEGIN 30 30 31 31 /** @defgroup grp_rt_dbgmod RTDbgMod - Debug Module Interperter … … 248 248 /** @} */ 249 249 250 RT_ END_DECLS250 RT_C_DECLS_END 251 251 252 252 #endif -
trunk/src/VBox/Runtime/include/internal/file.h
r20364 r20374 34 34 #include <iprt/file.h> 35 35 36 RT_ BEGIN_DECLS36 RT_C_DECLS_BEGIN 37 37 38 38 /** … … 48 48 int rtFileRecalcAndValidateFlags(unsigned *pfOpen); 49 49 50 RT_ END_DECLS50 RT_C_DECLS_END 51 51 52 52 #endif -
trunk/src/VBox/Runtime/include/internal/fileaio.h
r20364 r20374 109 109 110 110 111 RT_ BEGIN_DECLS111 RT_C_DECLS_BEGIN 112 112 113 RT_ END_DECLS113 RT_C_DECLS_END 114 114 115 115 #endif -
trunk/src/VBox/Runtime/include/internal/fs.h
r20364 r20374 37 37 #endif 38 38 39 RT_ BEGIN_DECLS39 RT_C_DECLS_BEGIN 40 40 41 41 RTFMODE rtFsModeFromDos(RTFMODE fMode, const char *pszName, size_t cbName); … … 58 58 #endif 59 59 60 RT_ END_DECLS60 RT_C_DECLS_END 61 61 62 62 #endif -
trunk/src/VBox/Runtime/include/internal/initterm.h
r20364 r20374 34 34 #include <iprt/cdefs.h> 35 35 36 RT_ BEGIN_DECLS36 RT_C_DECLS_BEGIN 37 37 38 38 #ifdef IN_RING0 … … 52 52 #endif /* IN_RING0 */ 53 53 54 RT_ END_DECLS54 RT_C_DECLS_END 55 55 56 56 #endif -
trunk/src/VBox/Runtime/include/internal/ldr.h
r20364 r20374 35 35 #include "internal/magics.h" 36 36 37 RT_ BEGIN_DECLS37 RT_C_DECLS_BEGIN 38 38 39 39 … … 379 379 380 380 381 RT_ END_DECLS381 RT_C_DECLS_END 382 382 383 383 #endif -
trunk/src/VBox/Runtime/include/internal/memobj.h
r20364 r20374 36 36 #include "internal/magics.h" 37 37 38 RT_ BEGIN_DECLS38 RT_C_DECLS_BEGIN 39 39 40 40 /** @defgroup grp_rt_memobj_int Internals. … … 427 427 /** @} */ 428 428 429 RT_ END_DECLS429 RT_C_DECLS_END 430 430 431 431 #endif -
trunk/src/VBox/Runtime/include/internal/path.h
r20364 r20374 35 35 #include <iprt/param.h> 36 36 37 RT_ BEGIN_DECLS37 RT_C_DECLS_BEGIN 38 38 39 39 #if defined(RT_OS_OS2) || defined(RT_OS_WINDOWS) … … 109 109 110 110 111 RT_ END_DECLS111 RT_C_DECLS_END 112 112 113 113 #endif -
trunk/src/VBox/Runtime/include/internal/process.h
r20364 r20374 35 35 #include <iprt/param.h> 36 36 37 RT_ BEGIN_DECLS37 RT_C_DECLS_BEGIN 38 38 39 39 extern RTPROCESS g_ProcessSelf; … … 67 67 DECLHIDDEN(int) rtProcInitExePath(char *pszPath, size_t cchPath); 68 68 69 RT_ END_DECLS69 RT_C_DECLS_END 70 70 71 71 #endif -
trunk/src/VBox/Runtime/include/internal/rand.h
r20364 r20374 161 161 162 162 163 RT_ BEGIN_DECLS163 RT_C_DECLS_BEGIN 164 164 165 165 /** … … 190 190 DECLCALLBACK(int) rtRandAdvDefaultDestroy(PRTRANDINT pThis); 191 191 192 RT_ END_DECLS192 RT_C_DECLS_END 193 193 194 194 #endif -
trunk/src/VBox/Runtime/include/internal/sched.h
r20364 r20374 36 36 #include "internal/thread.h" 37 37 38 RT_ BEGIN_DECLS38 RT_C_DECLS_BEGIN 39 39 40 40 /** … … 47 47 int rtSchedNativeCalcDefaultPriority(RTTHREADTYPE enmType); 48 48 49 RT_ END_DECLS49 RT_C_DECLS_END 50 50 51 51 #endif -
trunk/src/VBox/Runtime/include/internal/string.h
r20364 r20374 34 34 #include <iprt/string.h> 35 35 36 RT_ BEGIN_DECLS36 RT_C_DECLS_BEGIN 37 37 38 38 /** @def RTSTR_STRICT … … 58 58 size_t rtstrFormatType(PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, const char **ppszFormat, va_list *pArgs, int cchWidth, int cchPrecision, unsigned fFlags, char chArgSize); 59 59 60 RT_ END_DECLS60 RT_C_DECLS_END 61 61 62 62 #endif -
trunk/src/VBox/Runtime/include/internal/thread.h
r20364 r20374 41 41 #include "internal/magics.h" 42 42 43 RT_ BEGIN_DECLS43 RT_C_DECLS_BEGIN 44 44 45 45 … … 208 208 #endif 209 209 210 RT_ END_DECLS211 212 #endif 210 RT_C_DECLS_END 211 212 #endif -
trunk/src/VBox/Runtime/include/internal/time.h
r20364 r20374 34 34 #include <iprt/types.h> 35 35 36 RT_ BEGIN_DECLS36 RT_C_DECLS_BEGIN 37 37 38 38 #if defined(IN_RING3) || defined(IN_RC) … … 44 44 #endif 45 45 46 RT_ END_DECLS46 RT_C_DECLS_END 47 47 48 48 #endif -
trunk/src/VBox/Runtime/r0drv/alloc-r0drv.h
r20364 r20374 36 36 #include "internal/magics.h" 37 37 38 RT_ BEGIN_DECLS38 RT_C_DECLS_BEGIN 39 39 40 40 /** … … 68 68 void rtMemFree(PRTMEMHDR pHdr); 69 69 70 RT_ END_DECLS70 RT_C_DECLS_END 71 71 #endif 72 72 -
trunk/src/VBox/Runtime/r0drv/darwin/the-darwin-kernel.h
r20364 r20374 87 87 88 88 89 RT_ BEGIN_DECLS89 RT_C_DECLS_BEGIN 90 90 /* mach/vm_types.h */ 91 91 typedef struct pmap *pmap_t; … … 120 120 extern int ml_get_max_cpus(void); 121 121 122 RT_ END_DECLS122 RT_C_DECLS_END 123 123 124 124 … … 127 127 */ 128 128 129 RT_ BEGIN_DECLS129 RT_C_DECLS_BEGIN 130 130 extern lck_grp_t *g_pDarwinLockGroup; 131 131 int rtThreadPreemptDarwinInit(void); 132 132 void rtThreadPreemptDarwinTerm(void); 133 RT_ END_DECLS133 RT_C_DECLS_END 134 134 135 135 -
trunk/src/VBox/Runtime/r0drv/linux/string.h
r20364 r20374 34 34 #include <iprt/cdefs.h> 35 35 36 RT_ BEGIN_DECLS36 RT_C_DECLS_BEGIN 37 37 #ifndef bool /* Linux 2.6.19 C++ nightmare */ 38 38 #define bool bool_type … … 56 56 ; 57 57 58 RT_ END_DECLS58 RT_C_DECLS_END 59 59 60 60 #endif -
trunk/src/VBox/Runtime/r0drv/mp-r0drv.h
r20364 r20374 34 34 #include <iprt/mp.h> 35 35 36 RT_ BEGIN_DECLS36 RT_C_DECLS_BEGIN 37 37 38 38 /** … … 71 71 void rtMpNotificationDoCallbacks(RTMPEVENT enmEvent, RTCPUID idCpu); 72 72 73 RT_ END_DECLS73 RT_C_DECLS_END 74 74 75 75 #endif -
trunk/src/VBox/Runtime/r0drv/nt/internal-r0drv-nt.h
r20364 r20374 34 34 #include <iprt/cpuset.h> 35 35 36 RT_ BEGIN_DECLS36 RT_C_DECLS_BEGIN 37 37 38 38 /******************************************************************************* … … 54 54 55 55 56 RT_ END_DECLS56 RT_C_DECLS_END 57 57 58 58 #endif -
trunk/src/VBox/Runtime/r0drv/nt/the-nt-kernel.h
r20364 r20374 41 41 # define _InterlockedAddLargeStatistic _InterlockedAddLargeStatistic_StupidDDKVsCompilerCrap 42 42 # pragma warning(disable : 4163) 43 RT_ BEGIN_DECLS43 RT_C_DECLS_BEGIN 44 44 # include <ntddk.h> 45 RT_ END_DECLS45 RT_C_DECLS_END 46 46 # pragma warning(default : 4163) 47 47 # undef _InterlockedExchange … … 50 50 # undef _InterlockedAddLargeStatistic 51 51 #else 52 RT_ BEGIN_DECLS52 RT_C_DECLS_BEGIN 53 53 # include <ntddk.h> 54 RT_ END_DECLS54 RT_C_DECLS_END 55 55 #endif 56 56 -
trunk/src/VBox/Runtime/r0drv/nt/thread-r0drv-nt.cpp
r20364 r20374 41 41 #include "internal-r0drv-nt.h" 42 42 43 RT_ BEGIN_DECLS43 RT_C_DECLS_BEGIN 44 44 NTSTATUS NTAPI ZwYieldExecution(void); 45 RT_ END_DECLS45 RT_C_DECLS_END 46 46 47 47 -
trunk/src/VBox/Runtime/r0drv/os2/the-os2-kernel.h
r20364 r20374 40 40 #include <os2ddk/devhlp.h> 41 41 42 RT_ BEGIN_DECLS42 RT_C_DECLS_BEGIN 43 43 44 44 extern PCDOSTABLE g_pDosTable; … … 51 51 DECLASM(int) RTR0Os2DHVMGlobalToProcess(ULONG fFlags, PVOID pvR0, ULONG cb, PPVOID ppvR3); 52 52 53 RT_ END_DECLS53 RT_C_DECLS_END 54 54 55 55 #endif -
trunk/src/VBox/Runtime/r0drv/os2/timer-r0drv-os2.cpp
r20364 r20374 101 101 * Internal Functions * 102 102 *******************************************************************************/ 103 RT_ BEGIN_DECLS103 RT_C_DECLS_BEGIN 104 104 DECLASM(void) rtTimerOs2Tick(void); 105 105 DECLASM(int) rtTimerOs2Arm(void); 106 106 DECLASM(int) rtTimerOs2Dearm(void); 107 RT_ END_DECLS107 RT_C_DECLS_END 108 108 109 109 -
trunk/src/VBox/Runtime/r0drv/power-r0drv.h
r20364 r20374 34 34 #include <iprt/power.h> 35 35 36 RT_ BEGIN_DECLS36 RT_C_DECLS_BEGIN 37 37 38 38 /* Called from initterm-r0drv.cpp: */ … … 40 40 void rtR0PowerNotificationTerm(void); 41 41 42 RT_ END_DECLS42 RT_C_DECLS_END 43 43 44 44 #endif -
trunk/src/VBox/Runtime/r0drv/solaris/the-solaris-kernel.h
r20364 r20374 61 61 #include <iprt/cdefs.h> 62 62 63 RT_ BEGIN_DECLS63 RT_C_DECLS_BEGIN 64 64 extern struct ddi_dma_attr g_SolarisX86PhysMemLimits; 65 RT_ END_DECLS65 RT_C_DECLS_END 66 66 67 67 #endif -
trunk/src/VBox/Runtime/r3/alloc-ef.h
r20364 r20374 159 159 * Internal Functions * 160 160 ******************************************************************************/ 161 RT_ BEGIN_DECLS161 RT_C_DECLS_BEGIN 162 162 void * rtMemAlloc(const char *pszOp, RTMEMTYPE enmType, size_t cb, void *pvCaller, unsigned iLine, const char *pszFile, const char *pszFunction); 163 163 void * rtMemRealloc(const char *pszOp, RTMEMTYPE enmType, void *pvOld, size_t cbNew, void *pvCaller, unsigned iLine, const char *pszFile, const char *pszFunction); 164 164 void rtMemFree(const char *pszOp, RTMEMTYPE enmType, void *pv, void *pvCaller, unsigned iLine, const char *pszFile, const char *pszFunction); 165 RT_ END_DECLS165 RT_C_DECLS_END 166 166 167 167 #endif -
trunk/src/VBox/Runtime/r3/win/timer-win.cpp
r20364 r20374 75 75 #include "internal/magics.h" 76 76 77 RT_ BEGIN_DECLS77 RT_C_DECLS_BEGIN 78 78 /* from sysinternals. */ 79 79 NTSYSAPI LONG NTAPI NtSetTimerResolution(IN ULONG DesiredResolution, IN BOOLEAN SetResolution, OUT PULONG CurrentResolution); 80 80 NTSYSAPI LONG NTAPI NtQueryTimerResolution(OUT PULONG MaximumResolution, OUT PULONG MinimumResolution, OUT PULONG CurrentResolution); 81 RT_ END_DECLS81 RT_C_DECLS_END 82 82 83 83 -
trunk/src/VBox/Runtime/testcase/tstR0ThreadPreemption.h
r20364 r20374 30 30 31 31 #ifdef IN_RING0 32 RT_ BEGIN_DECLS32 RT_C_DECLS_BEGIN 33 33 DECLEXPORT(int) TSTR0ThreadPreemptionSrvReqHandler(PSUPDRVSESSION pSession, uint32_t uOperation, 34 34 uint64_t u64Arg, PSUPR0SERVICEREQHDR pReqHdr); 35 RT_ END_DECLS35 RT_C_DECLS_END 36 36 #endif 37 37 -
trunk/src/VBox/VMM/CPUMInternal.h
r20365 r20374 384 384 typedef CPUMCPU *PCPUMCPU; 385 385 386 RT_ BEGIN_DECLS386 RT_C_DECLS_BEGIN 387 387 388 388 DECLASM(int) cpumHandleLazyFPUAsm(PCPUMCPU pCPUM); … … 405 405 #endif 406 406 407 RT_ END_DECLS407 RT_C_DECLS_END 408 408 409 409 /** @} */ -
trunk/src/VBox/VMM/DBGFBp.cpp
r20365 r20374 40 40 * Internal Functions * 41 41 *******************************************************************************/ 42 RT_ BEGIN_DECLS42 RT_C_DECLS_BEGIN 43 43 static DECLCALLBACK(int) dbgfR3BpSetReg(PVM pVM, PCDBGFADDRESS pAddress, uint64_t *piHitTrigger, uint64_t *piHitDisable, 44 44 uint8_t u8Type, uint8_t cb, PRTUINT piBp); … … 53 53 static int dbgfR3BpInt3Arm(PVM pVM, PDBGFBP pBp); 54 54 static int dbgfR3BpInt3Disarm(PVM pVM, PDBGFBP pBp); 55 RT_ END_DECLS55 RT_C_DECLS_END 56 56 57 57 -
trunk/src/VBox/VMM/EMInternal.h
r20365 r20374 33 33 #include <setjmp.h> 34 34 35 RT_ BEGIN_DECLS35 RT_C_DECLS_BEGIN 36 36 37 37 … … 396 396 /** @} */ 397 397 398 RT_ END_DECLS398 RT_C_DECLS_END 399 399 400 400 #endif -
trunk/src/VBox/VMM/HWACCMInternal.h
r20365 r20374 45 45 #define HWACCM_VTX_WITH_VPID 46 46 47 RT_ BEGIN_DECLS47 RT_C_DECLS_BEGIN 48 48 49 49 … … 731 731 /** @} */ 732 732 733 RT_ END_DECLS734 735 #endif 736 733 RT_C_DECLS_END 734 735 #endif 736 -
trunk/src/VBox/VMM/IOMInternal.h
r20365 r20374 402 402 403 403 404 RT_ BEGIN_DECLS404 RT_C_DECLS_BEGIN 405 405 406 406 #ifdef IN_RING3 … … 535 535 bool iomSaveDataToReg(PDISCPUSTATE pCpu, PCOP_PARAMETER pParam, PCPUMCTXCORE pRegFrame, uint64_t u32Data); 536 536 537 RT_ END_DECLS537 RT_C_DECLS_END 538 538 539 539 -
trunk/src/VBox/VMM/MMInternal.h
r20365 r20374 770 770 771 771 772 RT_ BEGIN_DECLS772 RT_C_DECLS_BEGIN 773 773 774 774 … … 815 815 void *mmPagePoolPhys2Ptr(PMMPAGEPOOL pPool, RTHCPHYS HCPhys); 816 816 817 RT_ END_DECLS817 RT_C_DECLS_END 818 818 819 819 /** @} */ -
trunk/src/VBox/VMM/PATM/CSAMInternal.h
r20365 r20374 279 279 } 280 280 281 RT_ BEGIN_DECLS281 RT_C_DECLS_BEGIN 282 282 VMMRCDECL(int) CSAMGCCodePageWriteHandler(PVM pVM, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame, RTGCPTR pvFault, RTGCPTR pvRange, uintptr_t offRange); 283 RT_ END_DECLS284 285 #endif 283 RT_C_DECLS_END 284 285 #endif -
trunk/src/VBox/VMM/PATM/PATMA.h
r20365 r20374 139 139 140 140 141 RT_ BEGIN_DECLS141 RT_C_DECLS_BEGIN 142 142 143 143 extern PATCHASMRECORD PATMCliRecord; … … 187 187 extern uint32_t PATMInterruptFlag; 188 188 189 RT_ END_DECLS189 RT_C_DECLS_END 190 190 191 191 #endif -
trunk/src/VBox/VMM/PATM/PATMInternal.h
r20365 r20374 727 727 #endif /* !IN_RC */ 728 728 729 RT_ BEGIN_DECLS729 RT_C_DECLS_BEGIN 730 730 /** 731 731 * #PF Virtual Handler callback for Guest access a page monitored by PATM … … 834 834 } 835 835 836 RT_ END_DECLS836 RT_C_DECLS_END 837 837 838 838 #ifdef LOG_ENABLED -
trunk/src/VBox/VMM/PDMAsyncCompletionInternal.h
r20365 r20374 29 29 #include <VBox/pdmasynccompletion.h> 30 30 31 RT_ BEGIN_DECLS31 RT_C_DECLS_BEGIN 32 32 33 33 /** … … 252 252 void pdmR3AsyncCompletionCompleteTask(PPDMASYNCCOMPLETIONTASK pTask); 253 253 254 RT_ END_DECLS254 RT_C_DECLS_END 255 255 256 256 extern const PDMASYNCCOMPLETIONEPCLASSOPS g_PDMAsyncCompletionEndpointClassFile; -
trunk/src/VBox/VMM/PDMInternal.h
r20365 r20374 35 35 #endif 36 36 37 RT_ BEGIN_DECLS37 RT_C_DECLS_BEGIN 38 38 39 39 … … 290 290 # error "Invalid header PDM order. Include PDMInternal.h before VBox/pdm.h!" 291 291 #endif 292 RT_ END_DECLS292 RT_C_DECLS_END 293 293 #include <VBox/pdm.h> 294 RT_ BEGIN_DECLS294 RT_C_DECLS_BEGIN 295 295 296 296 /** … … 1042 1042 /** @} */ 1043 1043 1044 RT_ END_DECLS1045 1046 #endif 1044 RT_C_DECLS_END 1045 1046 #endif -
trunk/src/VBox/VMM/PGMBth.h
r20365 r20374 24 24 * Internal Functions * 25 25 *******************************************************************************/ 26 RT_ BEGIN_DECLS26 RT_C_DECLS_BEGIN 27 27 PGM_BTH_DECL(int, InitData)(PVM pVM, PPGMMODEDATA pModeData, bool fResolveGCAndR0); 28 28 PGM_BTH_DECL(int, Enter)(PVMCPU pVCpu, RTGCPHYS GCPhysCR3); … … 38 38 PGM_BTH_DECL(int, MapCR3)(PVMCPU pVCpu, RTGCPHYS GCPhysCR3); 39 39 PGM_BTH_DECL(int, UnmapCR3)(PVMCPU pVCpu); 40 RT_ END_DECLS40 RT_C_DECLS_END 41 41 42 42 -
trunk/src/VBox/VMM/PGMGst.h
r20365 r20374 24 24 * Internal Functions * 25 25 *******************************************************************************/ 26 RT_ BEGIN_DECLS26 RT_C_DECLS_BEGIN 27 27 /* r3 */ 28 28 PGM_GST_DECL(int, InitData)(PVM pVM, PPGMMODEDATA pModeData, bool fResolveGCAndR0); … … 35 35 PGM_GST_DECL(int, ModifyPage)(PVMCPU pVCpu, RTGCPTR GCPtr, size_t cb, uint64_t fFlags, uint64_t fMask); 36 36 PGM_GST_DECL(int, GetPDE)(PVMCPU pVCpu, RTGCPTR GCPtr, PX86PDEPAE pPDE); 37 RT_ END_DECLS37 RT_C_DECLS_END 38 38 39 39 -
trunk/src/VBox/VMM/PGMInternal.h
r20365 r20374 2917 2917 2918 2918 2919 RT_ BEGIN_DECLS2919 RT_C_DECLS_BEGIN 2920 2920 2921 2921 int pgmLock(PVM pVM); … … 3007 3007 PX86PML4 pgmGstLazyMapPml4(PPGMCPU pPGM); 3008 3008 3009 RT_ END_DECLS3009 RT_C_DECLS_END 3010 3010 3011 3011 -
trunk/src/VBox/VMM/PGMShw.h
r20365 r20374 118 118 * Internal Functions * 119 119 *******************************************************************************/ 120 RT_ BEGIN_DECLS120 RT_C_DECLS_BEGIN 121 121 /* r3 */ 122 122 PGM_SHW_DECL(int, InitData)(PVM pVM, PPGMMODEDATA pModeData, bool fResolveGCAndR0); … … 128 128 PGM_SHW_DECL(int, GetPage)(PVMCPU pVCpu, RTGCPTR GCPtr, uint64_t *pfFlags, PRTHCPHYS pHCPhys); 129 129 PGM_SHW_DECL(int, ModifyPage)(PVMCPU pVCpu, RTGCPTR GCPtr, size_t cb, uint64_t fFlags, uint64_t fMask); 130 RT_ END_DECLS130 RT_C_DECLS_END 131 131 132 132 -
trunk/src/VBox/VMM/SELMInternal.h
r20365 r20374 179 179 } SELM, *PSELM; 180 180 181 RT_ BEGIN_DECLS181 RT_C_DECLS_BEGIN 182 182 183 183 VMMRCDECL(int) selmRCGuestGDTWriteHandler(PVM pVM, RTGCUINT uErrorCode, PCPUMCTXCORE pRegFrame, RTGCPTR pvFault, RTGCPTR pvRange, uintptr_t offRange); … … 191 191 void selmSetRing1Stack(PVM pVM, uint32_t ss, RTGCPTR32 esp); 192 192 193 RT_ END_DECLS193 RT_C_DECLS_END 194 194 195 195 /** @} */ -
trunk/src/VBox/VMM/SSMInternal.h
r20365 r20374 27 27 #include <VBox/ssm.h> 28 28 29 RT_ BEGIN_DECLS29 RT_C_DECLS_BEGIN 30 30 31 31 /** @defgroup grp_ssm_int Internals … … 179 179 /** @} */ 180 180 181 RT_ END_DECLS181 RT_C_DECLS_END 182 182 183 183 #endif /* !___SSMInternal_h */ -
trunk/src/VBox/VMM/STAMInternal.h
r20365 r20374 31 31 32 32 33 RT_ BEGIN_DECLS33 RT_C_DECLS_BEGIN 34 34 35 35 /** @defgroup grp_stam_int Internals … … 123 123 /** @} */ 124 124 125 RT_ END_DECLS125 RT_C_DECLS_END 126 126 127 127 #endif -
trunk/src/VBox/VMM/TM.cpp
r20365 r20374 1782 1782 } 1783 1783 1784 //RT_ BEGIN_DECLS1784 //RT_C_DECLS_BEGIN 1785 1785 //int iomLock(PVM pVM); 1786 1786 //void iomUnlock(PVM pVM); 1787 //RT_ END_DECLS1787 //RT_C_DECLS_END 1788 1788 1789 1789 -
trunk/src/VBox/VMM/TMInternal.h
r20365 r20374 31 31 #include <VBox/pdmcritsect.h> 32 32 33 RT_ BEGIN_DECLS33 RT_C_DECLS_BEGIN 34 34 35 35 … … 584 584 /** @} */ 585 585 586 RT_ END_DECLS586 RT_C_DECLS_END 587 587 588 588 #endif -
trunk/src/VBox/VMM/TRPMInternal.h
r20365 r20374 36 36 #define TRPM_HANDLER_INT_BASE 0x20 37 37 38 RT_ BEGIN_DECLS38 RT_C_DECLS_BEGIN 39 39 40 40 … … 287 287 /** @} */ 288 288 289 RT_ END_DECLS290 291 #endif 289 RT_C_DECLS_END 290 291 #endif -
trunk/src/VBox/VMM/VMInternal.h
r20365 r20374 454 454 typedef VMINTUSERPERVMCPU *PVMINTUSERPERVMCPU; 455 455 456 RT_ BEGIN_DECLS456 RT_C_DECLS_BEGIN 457 457 458 458 DECLCALLBACK(int) vmR3EmulationThread(RTTHREAD ThreadSelf, void *pvArg); … … 466 466 void vmR3SetState(PVM pVM, VMSTATE enmStateNew); 467 467 468 RT_ END_DECLS468 RT_C_DECLS_END 469 469 470 470 -
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r20365 r20374 25 25 * Internal Functions * 26 26 *******************************************************************************/ 27 RT_ BEGIN_DECLS27 RT_C_DECLS_BEGIN 28 28 PGM_BTH_DECL(int, Trap0eHandler)(PVMCPU pVCpu, RTGCUINT uErr, PCPUMCTXCORE pRegFrame, RTGCPTR pvFault); 29 29 PGM_BTH_DECL(int, InvalidatePage)(PVMCPU pVCpu, RTGCPTR GCPtrPage); … … 42 42 PGM_BTH_DECL(int, MapCR3)(PVMCPU pVCpu, RTGCPHYS GCPhysCR3); 43 43 PGM_BTH_DECL(int, UnmapCR3)(PVMCPU pVCpu); 44 RT_ END_DECLS44 RT_C_DECLS_END 45 45 46 46 … … 3448 3448 * @param pHlp Pointer to the output functions. 3449 3449 */ 3450 RT_ BEGIN_DECLS3450 RT_C_DECLS_BEGIN 3451 3451 VMMR3DECL(int) PGMR3DumpHierarchyHC(PVM pVM, uint32_t cr3, uint32_t cr4, bool fLongMode, unsigned cMaxDepth, PCDBGFINFOHLP pHlp); 3452 RT_ END_DECLS3452 RT_C_DECLS_END 3453 3453 3454 3454 #endif -
trunk/src/VBox/VMM/VMMAll/PGMAllGst.h
r20365 r20374 24 24 * Internal Functions * 25 25 *******************************************************************************/ 26 RT_ BEGIN_DECLS26 RT_C_DECLS_BEGIN 27 27 PGM_GST_DECL(int, GetPage)(PVMCPU pVCpu, RTGCPTR GCPtr, uint64_t *pfFlags, PRTGCPHYS pGCPhys); 28 28 PGM_GST_DECL(int, ModifyPage)(PVMCPU pVCpu, RTGCPTR GCPtr, size_t cb, uint64_t fFlags, uint64_t fMask); 29 29 PGM_GST_DECL(int, GetPDE)(PVMCPU pVCpu, RTGCPTR GCPtr, PX86PDEPAE pPDE); 30 30 PGM_GST_DECL(bool, HandlerVirtualUpdate)(PVM pVM, uint32_t cr4); 31 RT_ END_DECLS31 RT_C_DECLS_END 32 32 33 33 -
trunk/src/VBox/VMM/VMMAll/PGMAllPool.cpp
r20365 r20374 46 46 * Internal Functions * 47 47 *******************************************************************************/ 48 RT_ BEGIN_DECLS48 RT_C_DECLS_BEGIN 49 49 static void pgmPoolFlushAllInt(PPGMPOOL pPool); 50 50 #ifdef PGMPOOL_WITH_USER_TRACKING … … 76 76 void pgmPoolTrackPhysExtFreeList(PVM pVM, uint16_t iPhysExt); 77 77 78 RT_ END_DECLS78 RT_C_DECLS_END 79 79 80 80 -
trunk/src/VBox/VMM/VMMAll/PGMAllShw.h
r20365 r20374 120 120 * Internal Functions * 121 121 *******************************************************************************/ 122 RT_ BEGIN_DECLS122 RT_C_DECLS_BEGIN 123 123 PGM_SHW_DECL(int, GetPage)(PVMCPU pVCpu, RTGCUINTPTR GCPtr, uint64_t *pfFlags, PRTHCPHYS pHCPhys); 124 124 PGM_SHW_DECL(int, ModifyPage)(PVMCPU pVCpu, RTGCUINTPTR GCPtr, size_t cbPages, uint64_t fFlags, uint64_t fMask); 125 RT_ END_DECLS125 RT_C_DECLS_END 126 126 127 127 -
trunk/src/VBox/VMM/VMMGC/CPUMGC.cpp
r20365 r20374 38 38 * Internal Functions * 39 39 *******************************************************************************/ 40 RT_ BEGIN_DECLS/* addressed from asm (not called so no DECLASM). */40 RT_C_DECLS_BEGIN /* addressed from asm (not called so no DECLASM). */ 41 41 DECLCALLBACK(int) cpumGCHandleNPAndGP(PVM pVM, PCPUMCTXCORE pRegFrame, uintptr_t uUser); 42 RT_ END_DECLS42 RT_C_DECLS_END 43 43 44 44 -
trunk/src/VBox/VMM/VMMGC/PDMGCDevice.cpp
r20365 r20374 43 43 * Global Variables * 44 44 *******************************************************************************/ 45 RT_ BEGIN_DECLS45 RT_C_DECLS_BEGIN 46 46 extern DECLEXPORT(const PDMDEVHLPRC) g_pdmRCDevHlp; 47 47 extern DECLEXPORT(const PDMPICHLPRC) g_pdmRCPicHlp; … … 49 49 extern DECLEXPORT(const PDMIOAPICHLPRC) g_pdmRCIoApicHlp; 50 50 extern DECLEXPORT(const PDMPCIHLPRC) g_pdmRCPciHlp; 51 RT_ END_DECLS51 RT_C_DECLS_END 52 52 53 53 -
trunk/src/VBox/VMM/VMMGC/PGMGCBth.h
r20365 r20374 24 24 * Internal Functions * 25 25 *******************************************************************************/ 26 RT_ BEGIN_DECLS27 RT_ END_DECLS26 RT_C_DECLS_BEGIN 27 RT_C_DECLS_END 28 28 29 29 -
trunk/src/VBox/VMM/VMMGC/PGMGCShw.h
r20365 r20374 74 74 * Internal Functions * 75 75 *******************************************************************************/ 76 RT_ BEGIN_DECLS77 RT_ END_DECLS76 RT_C_DECLS_BEGIN 77 RT_C_DECLS_END 78 78 -
trunk/src/VBox/VMM/VMMGC/TRPMGCHandlers.cpp
r20365 r20374 99 99 * Global Variables * 100 100 *******************************************************************************/ 101 RT_ BEGIN_DECLS101 RT_C_DECLS_BEGIN 102 102 /** Defined in VMMGC0.asm or VMMGC99.asm. 103 103 * @{ */ … … 109 109 extern const TRPMGCHYPER g_aTrap0eHandlersEnd[1]; 110 110 /** @} */ 111 RT_ END_DECLS111 RT_C_DECLS_END 112 112 113 113 … … 115 115 * Internal Functions * 116 116 *******************************************************************************/ 117 RT_ BEGIN_DECLS/* addressed from asm (not called so no DECLASM). */117 RT_C_DECLS_BEGIN /* addressed from asm (not called so no DECLASM). */ 118 118 DECLCALLBACK(int) trpmGCTrapInGeneric(PVM pVM, PCPUMCTXCORE pRegFrame, uintptr_t uUser); 119 RT_ END_DECLS119 RT_C_DECLS_END 120 120 121 121 -
trunk/src/VBox/VMM/VMMInternal.h
r20365 r20374 429 429 430 430 431 RT_ BEGIN_DECLS431 RT_C_DECLS_BEGIN 432 432 433 433 #ifdef IN_RING3 … … 552 552 #endif /* IN_RC */ 553 553 554 RT_ END_DECLS554 RT_C_DECLS_END 555 555 556 556 /** @} */ -
trunk/src/VBox/VMM/VMMR0/HWSVMR0.h
r20365 r20374 32 32 #include <VBox/hwacc_svm.h> 33 33 34 RT_ BEGIN_DECLS34 RT_C_DECLS_BEGIN 35 35 36 36 /** @defgroup grp_svm_int Internal … … 224 224 /** @} */ 225 225 226 RT_ END_DECLS226 RT_C_DECLS_END 227 227 228 228 #endif -
trunk/src/VBox/VMM/VMMR0/HWVMXR0.h
r20365 r20374 32 32 #include <VBox/hwacc_vmx.h> 33 33 34 RT_ BEGIN_DECLS34 RT_C_DECLS_BEGIN 35 35 36 36 /** @defgroup grp_vmx_int Internal … … 368 368 /** @} */ 369 369 370 RT_ END_DECLS370 RT_C_DECLS_END 371 371 372 372 #endif -
trunk/src/VBox/VMM/VMMR0/PDMR0Device.cpp
r20365 r20374 45 45 * Global Variables * 46 46 *******************************************************************************/ 47 RT_ BEGIN_DECLS47 RT_C_DECLS_BEGIN 48 48 extern DECLEXPORT(const PDMDEVHLPR0) g_pdmR0DevHlp; 49 49 extern DECLEXPORT(const PDMPICHLPR0) g_pdmR0PicHlp; … … 51 51 extern DECLEXPORT(const PDMIOAPICHLPR0) g_pdmR0IoApicHlp; 52 52 extern DECLEXPORT(const PDMPCIHLPR0) g_pdmR0PciHlp; 53 RT_ END_DECLS53 RT_C_DECLS_END 54 54 55 55 -
trunk/src/VBox/VMM/VMMR0/PGMR0.cpp
r20365 r20374 31 31 #include <iprt/assert.h> 32 32 33 RT_ BEGIN_DECLS33 RT_C_DECLS_BEGIN 34 34 #define PGM_BTH_NAME(name) PGM_BTH_NAME_32BIT_PROT(name) 35 35 #include "PGMR0Bth.h" … … 48 48 #undef PGM_BTH_NAME 49 49 50 RT_ END_DECLS50 RT_C_DECLS_END 51 51 52 52 -
trunk/src/VBox/VMM/VMMR0/PGMR0Bth.h
r20365 r20374 24 24 * Internal Functions * 25 25 *******************************************************************************/ 26 RT_ BEGIN_DECLS26 RT_C_DECLS_BEGIN 27 27 PGM_BTH_DECL(int, Trap0eHandler)(PVMCPU pVCpu, RTGCUINT uErr, PCPUMCTXCORE pRegFrame, RTGCPTR pvFault); 28 RT_ END_DECLS28 RT_C_DECLS_END 29 29 30 30 -
trunk/src/VBox/VMM/VMMR0/VMMR0.cpp
r20365 r20374 59 59 * Internal Functions * 60 60 *******************************************************************************/ 61 RT_ BEGIN_DECLS61 RT_C_DECLS_BEGIN 62 62 VMMR0DECL(int) ModuleInit(void); 63 63 VMMR0DECL(void) ModuleTerm(void); 64 RT_ END_DECLS64 RT_C_DECLS_END 65 65 66 66 -
trunk/src/VBox/VMM/VMMSwitcher/VMMSwitcher.h
r20365 r20374 131 131 #pragma pack() 132 132 133 RT_ BEGIN_DECLS133 RT_C_DECLS_BEGIN 134 134 extern VMMSWITCHERDEF vmmR3Switcher32BitTo32Bit_Def; 135 135 extern VMMSWITCHERDEF vmmR3Switcher32BitToPAE_Def; … … 151 151 extern DECLCALLBACK(void) vmmR3SwitcherAMD64ToPAE_Relocate(PVM pVM, PVMMSWITCHERDEF pSwitcher, RTR0PTR R0PtrCode, uint8_t *pu8CodeR3, RTGCPTR GCPtrCode, uint32_t u32IdCode); 152 152 extern DECLCALLBACK(void) vmmR3SwitcherAMD64ToAMD64_Relocate(PVM pVM, PVMMSWITCHERDEF pSwitcher, RTR0PTR R0PtrCode, uint8_t *pu8CodeR3, RTGCPTR GCPtrCode, uint32_t u32IdCode); 153 RT_ END_DECLS153 RT_C_DECLS_END 154 154 155 155 #endif -
trunk/src/VBox/VMM/testcase/tstHelp.h
r20365 r20374 26 26 #include <VBox/cpum.h> 27 27 28 RT_ BEGIN_DECLS28 RT_C_DECLS_BEGIN 29 29 void tstDumpCtx(PCPUMCTX pCtx, const char *pszComment); 30 RT_ END_DECLS30 RT_C_DECLS_END 31 31 32 32 -
trunk/src/VBox/VMM/testcase/tstMicro.h
r20365 r20374 118 118 119 119 120 RT_ BEGIN_DECLS120 RT_C_DECLS_BEGIN 121 121 122 122 DECLASM(void) idtOnly42(PTSTMICRO pTst); … … 143 143 DECLASM(void) tstInterrupt42(void); 144 144 145 RT_ END_DECLS145 RT_C_DECLS_END 146 146 147 147 #endif -
trunk/src/VBox/VMM/testcase/tstMicroGC.cpp
r20365 r20374 38 38 * Internal Functions * 39 39 *******************************************************************************/ 40 RT_ BEGIN_DECLS40 RT_C_DECLS_BEGIN 41 41 DECLEXPORT(int) tstMicroGC(PTSTMICRO pTst, unsigned uTestcase); 42 RT_ END_DECLS42 RT_C_DECLS_END 43 43 44 44 -
trunk/src/recompiler/Sun/crt/stdio.h
r20372 r20374 38 38 #endif 39 39 40 RT_ BEGIN_DECLS40 RT_C_DECLS_BEGIN 41 41 42 42 typedef struct FILE FILE; … … 72 72 #endif 73 73 74 RT_ END_DECLS74 RT_C_DECLS_END 75 75 76 76 #endif
Note:
See TracChangeset
for help on using the changeset viewer.