- Timestamp:
- Jun 8, 2009 12:25:19 AM (16 years ago)
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 22 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Builtins.h
r20167 r20367 25 25 #include <VBox/pdm.h> 26 26 27 __BEGIN_DECLS27 RT_BEGIN_DECLS 28 28 29 29 /** The default BIOS logo data. */ … … 127 127 #endif 128 128 129 __END_DECLS129 RT_END_DECLS 130 130 131 131 #endif -
trunk/src/VBox/Devices/Builtins2.h
r19183 r20367 25 25 #include <VBox/pdm.h> 26 26 27 __BEGIN_DECLS27 RT_BEGIN_DECLS 28 28 29 29 #ifdef IN_VBOXDD2 … … 49 49 extern const PDMDEVREG g_DeviceIOAPIC; 50 50 51 __END_DECLS51 RT_END_DECLS 52 52 53 53 #endif -
trunk/src/VBox/Devices/Bus/DevPCI.cpp
r20163 r20367 215 215 * Internal Functions * 216 216 *******************************************************************************/ 217 __BEGIN_DECLS217 RT_BEGIN_DECLS 218 218 219 219 PDMBOTHCBDECL(void) pciSetIrq(PPDMDEVINS pDevIns, PPCIDEVICE pPciDev, int iIrq, int iLevel); … … 228 228 #endif 229 229 230 __END_DECLS230 RT_END_DECLS 231 231 232 232 #define DEBUG_PCI -
trunk/src/VBox/Devices/Graphics/DevVGA.cpp
r20087 r20367 307 307 * Internal Functions * 308 308 *******************************************************************************/ 309 __BEGIN_DECLS309 RT_BEGIN_DECLS 310 310 311 311 PDMBOTHCBDECL(int) vgaIOPortWrite(PPDMDEVINS pDevIns, void *pvUser, RTIOPORT Port, uint32_t u32, unsigned cb); … … 336 336 337 337 338 __END_DECLS338 RT_END_DECLS 339 339 340 340 -
trunk/src/VBox/Devices/Input/DevPS2.cpp
r19614 r20367 64 64 * Internal Functions * 65 65 *******************************************************************************/ 66 __BEGIN_DECLS66 RT_BEGIN_DECLS 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 __END_DECLS71 RT_END_DECLS 72 72 #endif /* !VBOX_DEVICE_STRUCT_TESTCASE */ 73 73 #endif /* VBOX */ -
trunk/src/VBox/Devices/Network/DevE1000.cpp
r20087 r20367 997 997 998 998 /* Forward declarations ******************************************************/ 999 __BEGIN_DECLS999 RT_BEGIN_DECLS 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 __END_DECLS1004 RT_END_DECLS 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
r20087 r20367 25 25 *******************************************************************************/ 26 26 #define LOG_GROUP LOG_GROUP_DEV_INIP 27 #include <iprt/cdefs.h> /* include early to allow __BEGIN_DECLS hack */27 #include <iprt/cdefs.h> /* include early to allow RT_BEGIN_DECLS 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 __BEGIN_DECLS33 RT_BEGIN_DECLS 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 __END_DECLS46 RT_END_DECLS 47 47 #include <VBox/pdmdev.h> 48 48 #include <VBox/tm.h> -
trunk/src/VBox/Devices/Network/DevPCNet.cpp
r20119 r20367 1139 1139 } 1140 1140 1141 __BEGIN_DECLS1141 RT_BEGIN_DECLS 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 __END_DECLS1158 RT_END_DECLS 1159 1159 1160 1160 #undef htonl -
trunk/src/VBox/Devices/Network/Pcap.h
r10755 r20367 25 25 #include <iprt/stream.h> 26 26 27 __BEGIN_DECLS27 RT_BEGIN_DECLS 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 __END_DECLS35 RT_END_DECLS 36 36 37 37 #endif -
trunk/src/VBox/Devices/PC/DevACPI.cpp
r20217 r20367 542 542 * Internal Functions * 543 543 *******************************************************************************/ 544 __BEGIN_DECLS544 RT_BEGIN_DECLS 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 __END_DECLS568 RT_END_DECLS 569 569 570 570 … … 1852 1852 N_("Configuration error: Failed to read \"ShowCpu\"")); 1853 1853 1854 /* Always show the CPU leafs when we have multiple VCPUs or when the IO-APIC is enabled. 1855 * The Windows SMP kernel needs a CPU leaf or else its idle loop will burn cpu cycles; the 1854 /* Always show the CPU leafs when we have multiple VCPUs or when the IO-APIC is enabled. 1855 * The Windows SMP kernel needs a CPU leaf or else its idle loop will burn cpu cycles; the 1856 1856 * intelppm driver refuses to register an idle state handler. 1857 1857 */ -
trunk/src/VBox/Devices/PC/DevAPIC.cpp
r20197 r20367 438 438 #ifdef VBOX 439 439 static uint32_t apic_get_delivery_bitmask(APICDeviceInfo* dev, uint8_t dest, uint8_t dest_mode); 440 __BEGIN_DECLS440 RT_BEGIN_DECLS 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 __END_DECLS459 RT_END_DECLS 460 460 #endif /* VBOX */ 461 461 -
trunk/src/VBox/Devices/PC/DevPIC.cpp
r12977 r20367 53 53 * Internal Functions * 54 54 *******************************************************************************/ 55 __BEGIN_DECLS55 RT_BEGIN_DECLS 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 __END_DECLS64 RT_END_DECLS 65 65 #endif /* !VBOX_DEVICE_STRUCT_TESTCASE */ 66 66 -
trunk/src/VBox/Devices/PC/DevPit-i8254.cpp
r20131 r20367 156 156 * Internal Functions * 157 157 *******************************************************************************/ 158 __BEGIN_DECLS158 RT_BEGIN_DECLS 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 __END_DECLS166 RT_END_DECLS 167 167 168 168 -
trunk/src/VBox/Devices/PC/DevRTC.cpp
r20087 r20367 70 70 *******************************************************************************/ 71 71 #ifndef VBOX_DEVICE_STRUCT_TESTCASE 72 __BEGIN_DECLS72 RT_BEGIN_DECLS 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 __END_DECLS78 RT_END_DECLS 79 79 #endif /* !VBOX_DEVICE_STRUCT_TESTCASE */ 80 80 -
trunk/src/VBox/Devices/Parallel/DevParallel.cpp
r12978 r20367 153 153 * Internal Functions * 154 154 *******************************************************************************/ 155 __BEGIN_DECLS155 RT_BEGIN_DECLS 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 __END_DECLS162 RT_END_DECLS 163 163 164 164 -
trunk/src/VBox/Devices/Serial/DevSerial.cpp
r16583 r20367 185 185 * Internal Functions * 186 186 *******************************************************************************/ 187 __BEGIN_DECLS187 RT_BEGIN_DECLS 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 __END_DECLS190 RT_END_DECLS 191 191 192 192 #ifdef IN_RING3 -
trunk/src/VBox/Devices/Storage/ATAController.h
r15252 r20367 179 179 /** Pointer to the I/O buffer. */ 180 180 RCPTRTYPE(uint8_t *) pbIOBufferRC; 181 181 182 182 RTRCPTR Aligmnent1; /**< Align the statistics at an 8-byte boundrary. */ 183 183 … … 397 397 * Internal Functions * 398 398 ******************************************************************************/ 399 __BEGIN_DECLS399 RT_BEGIN_DECLS 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 __END_DECLS408 RT_END_DECLS 409 409 410 410 #ifdef IN_RING3 -
trunk/src/VBox/Devices/Storage/DevATA.cpp
r19366 r20367 472 472 * Internal Functions * 473 473 ******************************************************************************/ 474 __BEGIN_DECLS474 RT_BEGIN_DECLS 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 __END_DECLS483 RT_END_DECLS 484 484 485 485 -
trunk/src/VBox/Devices/Storage/DrvHostBase.h
r19968 r20367 25 25 #include <VBox/cdefs.h> 26 26 27 __BEGIN_DECLS27 RT_BEGIN_DECLS 28 28 29 29 … … 198 198 #define PDMIBLOCK_2_DRVHOSTBASE(pInterface) ( (PDRVHOSTBASE)((uintptr_t)pInterface - RT_OFFSETOF(DRVHOSTBASE, IBlock)) ) 199 199 200 __END_DECLS201 202 #endif 200 RT_END_DECLS 201 202 #endif -
trunk/src/VBox/Devices/Storage/DrvVD.cpp
r20257 r20367 39 39 #ifdef VBOX_WITH_INIP 40 40 /* All lwip header files are not C++ safe. So hack around this. */ 41 __BEGIN_DECLS41 RT_BEGIN_DECLS 42 42 #include <lwip/inet.h> 43 43 #include <lwip/tcp.h> 44 44 #include <lwip/sockets.h> 45 __END_DECLS45 RT_END_DECLS 46 46 #endif /* VBOX_WITH_INIP */ 47 47 -
trunk/src/VBox/Devices/Storage/VDICore.h
r18265 r20367 643 643 * Internal Functions * 644 644 *******************************************************************************/ 645 __BEGIN_DECLS645 RT_BEGIN_DECLS 646 646 647 647 #ifndef VBOX_VDICORE_VD … … 651 651 #endif /* !VBOX_VDICORE_VD */ 652 652 653 __END_DECLS653 RT_END_DECLS 654 654 655 655 #endif -
trunk/src/VBox/Devices/VMMDev/VMMDevHGCM.h
r11282 r20367 30 30 #include "VMMDevState.h" 31 31 32 __BEGIN_DECLS32 RT_BEGIN_DECLS 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 __END_DECLS43 RT_END_DECLS 44 44 45 45 #endif /* !___VMMDev_VMMDevHGCM_h */
Note:
See TracChangeset
for help on using the changeset viewer.