Changeset 68675 in vbox
- Timestamp:
- Sep 6, 2017 10:08:59 AM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 117906
- Location:
- trunk
- Files:
-
- 2 added
- 23 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/Makefile.kmk
r68670 r68675 28 28 VBox/HostServices/GuestControlSvc.h \ 29 29 VBox/HostServices/DragAndDropSvc.h \ 30 VBox/HostServices/Service.h \ 31 VBox/GuestHost/GuestControl.h \ 32 VBox/GuestHost/DragAndDrop.h \ 30 33 VBox/VBoxCrHgsmi.h \ 31 34 VBox/VBoxUhgsmi.h \ 32 35 VBox/dbus.h \ 33 VBox/VBoxPktDmp.h 36 VBox/VBoxPktDmp.h \ 37 $(wildcard iprt/cpp/*) 34 38 35 39 # Omit headers that are C++ and ring-3. … … 50 54 VBox/VBoxUhgsmi.h \ 51 55 VBox/VBoxNetCfg-win.h \ 56 VBox/VBoxDrvCfg-win.h \ 52 57 VBox/dbus.h \ 58 $(if-expr "$(KBUILD_TARGET)" == "win",VBox/usblib.h,) \ 53 59 VBox/usblib-win.h \ 54 60 VBox/vd.h \ … … 62 68 VBox/vmm/uvm.h \ 63 69 VBox/vscsi.h \ 64 $(wildcard VBox/ExtPack/*.h ) \ 65 $(wildcard iprt/win/*.h ) \ 70 VBox/ExtPack/% \ 71 VBox/GuestHost/DragAndDrop.h \ 72 VBox/HostServices/Service.h \ 73 iprt/win/% \ 66 74 iprt/alloca.h \ 67 75 iprt/tcp.h \ 68 76 iprt/localipc.h \ 69 77 iprt/linux/sysfs.h \ 70 iprt/socket.h 78 iprt/socket.h \ 79 iprt/udp.h 71 80 72 81 # Ring-0 only headers. … … 74 83 VBox/VBoxGuestLibSharedFolders.h 75 84 76 # We omit a few headers which have platform specific issues or are templates. 77 hdrs := $(filter-out \ 85 # GCC only headers. 86 gcc_only_hdrs := \ 87 iprt/nocrt/fenv.h \ 88 iprt/nocrt/math.h 89 90 # Headers to omit all together. 91 omit_hdrs := \ 78 92 VBox/HostServices/glext.h \ 79 93 VBox/HostServices/glxext.h \ … … 89 103 VBox/VBoxNetCfg-win.h \ 90 104 VBox/usblib-win.h \ 91 , ) \105 ,$(gcc_only_hdrs)) \ 92 106 \ 93 107 VBox/dbus-calls.h \ … … 96 110 iprt/runtime-loader.h \ 97 111 iprt/mangling.h \ 98 \ 112 $(wildcard iprt/asm*watcom*.h) \ 113 iprt/asn1-generator% \ 114 iprt/win/% \ 115 iprt/nt/% \ 116 \ 99 117 $(foreach os,$(filter-out $(KBUILD_TARGET),$(KBUILD_OSES)),iprt/$(os)/% VBox/$(os)/%) \ 100 $(xforeach arch,$(KBUILD_ARCHES),iprt/nocrt/$(arch)/%) \ 101 , $(wildcard VBox/*.h VBox/*/*.h iprt/*.h iprt/*/*.h)) 118 $(foreach arch,$(KBUILD_ARCHES),iprt/nocrt/$(arch)/%) 119 120 # We omit a few headers which have platform specific issues or are templates. 121 hdrs := $(filter-out $(omit_hdrs), $(wildcard VBox/*.h VBox/*/*.h iprt/*.h iprt/*/*.h)) 102 122 103 123 # ring-3, ring-0 and raw-mode context specific exclusions. … … 113 133 iprt/memsafer.h \ 114 134 iprt/alloc.h \ 135 iprt/vector.h \ 115 136 $(r3_cpp_hdrs) \ 116 137 $(r3_only_hdrs) \ … … 118 139 , $(hdrs)) 119 140 hdrs-c.rc := $(filter-out $(cpp_features_hdrs), $(hdrs.rc)) 141 #$(error $(subst $(SP),$(NLTAB),$(strip $(sort $(hdrs-c.rc))))) 120 142 121 143 SyntaxVBoxIncludeR3_TEMPLATE = VBOXMAINEXE … … 147 169 148 170 171 # Headers that must only be included once. 172 only_once_hdrs := \ 173 iprt/bldprog-strtab-template.cpp.h 174 149 175 define def_hdr 150 176 $(eval flatname := $(subst /,_,$(basename $(hdr)))) 177 $(eval functioname := $(translate $(flatname),-./,___)) 151 178 $$(PATH_TARGET)/$(flatname)-cpp.cpp: $(VBOX_ROOT_INCLUDE_MAKEFILE) | $$(PATH_TARGET)/ 152 $(QUIET)$$(APPEND) -t -n $$@ '#include <$(hdr)>' 'int main(int argc, char **argv) {(void)argc; (void)argv; return 0;}' 179 $(QUIET)$$(APPEND) -t -n $$@ \ 180 '#include <$(hdr)>' \ 181 $(if-expr $(intersects $(hdr),$(only_once_hdrs)),, '#include <$(hdr)>') \ 182 'extern int $(functioname)_cpp(void);' \ 183 'int $(functioname)_cpp(void) { return 0;}' 153 184 154 185 $$(PATH_TARGET)/$(flatname)-c.c: $(VBOX_ROOT_INCLUDE_MAKEFILE) | $$(PATH_TARGET)/ 155 $(QUIET)$$(APPEND) -t -n $$@ '#include <$(hdr)>' 'int main(int argc, char **argv) {(void)argc; (void)argv; return 0;}' 186 $(QUIET)$$(APPEND) -t -n $$@ \ 187 '#include <$(hdr)>' \ 188 $(if-expr $(intersects $(hdr),$(only_once_hdrs)),, '#include <$(hdr)>') \ 189 'extern int $(functioname)_c(void);' \ 190 'int $(functioname)_c(void) { return 0;}' 156 191 157 192 $(subst .h,.o,$(notdir $(hdr))):: -
trunk/include/VBox/GuestHost/DragAndDrop.h
r59855 r68675 232 232 uint64_t m_cbTotal; 233 233 }; 234 #endif /* ___VBox_GuestHost_DragAndDrop_h */ 235 234 235 #endif /* !___VBox_GuestHost_DragAndDrop_h */ 236 -
trunk/include/VBox/GuestHost/GuestControl.h
r61893 r68675 27 27 #ifndef ___VBox_GuestHost_GuestControl_h 28 28 #define ___VBox_GuestHost_GuestControl_h 29 30 #include <iprt/types.h> 29 31 30 32 /* Everything defined in this file lives in this namespace. */ -
trunk/include/VBox/HostServices/VBoxClipboardSvc.h
r68660 r68675 75 75 * HGCM parameter structures. 76 76 */ 77 #pragma pack 77 #pragma pack(1) 78 78 typedef struct _VBoxClipboardGetHostMsg 79 79 { … … 131 131 #define VBOX_SHARED_CLIPBOARD_CPARMS_WRITE_DATA 2 132 132 133 #pragma pack 133 #pragma pack() 134 134 135 135 #endif -
trunk/include/VBox/HostServices/VBoxOGLOp.h
r62476 r68675 28 28 #define ___VBox_HostService_VBoxOGLOp_h 29 29 30 #include <iprt/types.h> 31 30 32 #ifdef VBOX_OGL_GUEST_SIDE 31 33 /************************************************************************************************************ … … 517 519 } 518 520 519 #elif VBOX_OGL_HOST_SIDE521 #elif defined(VBOX_OGL_HOST_SIDE) 520 522 521 523 /************************************************************************************************************ -
trunk/include/VBox/RemoteDesktop/VRDEInput.h
r62476 r68675 27 27 #define ___VBox_RemoteDesktop_VRDEInput_h 28 28 29 #include <VBox/RemoteDesktop/VRDE.h> 29 30 30 31 /* -
trunk/include/VBox/RemoteDesktop/VRDEVideoIn.h
r62476 r68675 31 31 32 32 #ifdef VRDE_VIDEOIN_WITH_VRDEINTERFACE 33 # include <VBox/RemoteDesktop/VRDE.h>33 # include <VBox/RemoteDesktop/VRDE.h> 34 34 #endif /* VRDE_VIDEOIN_WITH_VRDEINTERFACE */ 35 35 36 36 #ifdef AssertCompileSize 37 # define ASSERTSIZE(type, size) AssertCompileSize(type, size);37 # define ASSERTSIZE(type, size) AssertCompileSize(type, size); 38 38 #else 39 # define ASSERTSIZE(type, size)39 # define ASSERTSIZE(type, size) 40 40 #endif /* AssertCompileSize */ 41 42 #include <iprt/types.h> 41 43 42 44 -
trunk/include/VBox/com/errorprint.h
r62476 r68675 294 294 }) 295 295 #else 296 # define CHECK_PROGRESS_ERROR_BREAK(progress, msg) \296 # define CHECK_PROGRESS_ERROR_BREAK(progress, msg) \ 297 297 if (1) \ 298 298 { \ … … 342 342 } while (0) 343 343 344 #endif345 344 346 345 /** … … 362 361 } /* namespace com */ 363 362 363 364 364 /** @} */ 365 365 366 #endif 367 -
trunk/include/VBox/vmm/cpumctx-v1_6.h
r62476 r68675 28 28 29 29 #include <iprt/x86.h> 30 #include <VBox/vmm/cpumctx.h> 30 31 31 32 -
trunk/include/VBox/vmm/cpumctx.h
r68405 r68675 597 597 AssertCompileMemberOffset(CPUMCTX, hwvirt.CPUM_UNION_NM(s.) svm.pvIoBitmapR3, HC_ARCH_BITS == 64 ? 976 : 964); 598 598 AssertCompileMemberOffset(CPUMCTX, hwvirt.CPUM_UNION_NM(s.) svm.HCPhysVmcb, HC_ARCH_BITS == 64 ? 984 : 968); 599 AssertCompileMemberOffset(CPUMCTX, hwvirt. CPUM_UNION_NM(s.)fLocalForcedActions, 992);599 AssertCompileMemberOffset(CPUMCTX, hwvirt.fLocalForcedActions, 992); 600 600 AssertCompileMemberAlignment(CPUMCTX, hwvirt.CPUM_UNION_NM(s.) svm.pVmcbR0, 8); 601 601 AssertCompileMemberAlignment(CPUMCTX, hwvirt.CPUM_UNION_NM(s.) svm.pvMsrBitmapR0, 8); -
trunk/include/VBox/vmm/dbgfcorefmt.h
r62476 r68675 62 62 uint16_t uReserved0; 63 63 uint32_t uReserved1; 64 } VBOXX86SEL;64 } DBGFCORESEL; 65 65 AssertCompileSizeAlignment(DBGFCORESEL, 8); 66 66 … … 73 73 uint32_t cb; 74 74 uint32_t uReserved0; 75 } DBGF XDTR;76 AssertCompileSizeAlignment(DBGFCORE SEL, 8);75 } DBGFCOREXDTR; 76 AssertCompileSizeAlignment(DBGFCOREXDTR, 8); 77 77 78 78 /** … … 115 115 DBGFCOREXDTR gdtr; 116 116 DBGFCOREXDTR idtr; 117 VBOXX86SELldtr;118 VBOXX86SELtr;117 DBGFCORESEL ldtr; 118 DBGFCORESEL tr; 119 119 struct 120 120 { -
trunk/include/VBox/vmm/pdmaudioifs.h
r68485 r68675 884 884 } PDMAUDIOSTREAMOUT, *PPDMAUDIOSTREAMOUT; 885 885 886 struct PDMAUDIOSTREAM; 887 typedef PDMAUDIOSTREAM *PPDMAUDIOSTREAM; 886 typedef struct PDMAUDIOSTREAM *PPDMAUDIOSTREAM; 888 887 889 888 /** -
trunk/include/VBox/vmm/pdmnetinline.h
r63267 r68675 26 26 * terms and conditions of either the GPL or the CDDL or both. 27 27 */ 28 29 #ifndef ___VBox_vmm_pdmnetinline_h_ 30 #define ___VBox_vmm_pdmnetinline_h_ 28 31 29 32 … … 37 40 #include <iprt/net.h> 38 41 #include <iprt/string.h> 39 40 42 41 43 … … 670 672 /** @} */ 671 673 674 #endif 675 -
trunk/include/VBox/vmm/pdmstorageifs.h
r66193 r68675 32 32 33 33 RT_C_DECLS_BEGIN 34 35 struct PDMISECKEY; 36 struct PDMISECKEYHLP; 37 34 38 35 39 /** @defgroup grp_pdm_ifs_storage PDM Storage Interfaces … … 327 331 * @thread Any thread. 328 332 */ 329 DECLR3CALLBACKMEMBER(int, pfnSetSecKeyIf,(PPDMIMEDIA pInterface, PPDMISECKEYpIfSecKey,330 PPDMISECKEYHLPpIfSecKeyHlp));333 DECLR3CALLBACKMEMBER(int, pfnSetSecKeyIf,(PPDMIMEDIA pInterface, struct PDMISECKEY *pIfSecKey, 334 struct PDMISECKEYHLP *pIfSecKeyHlp)); 331 335 332 336 /** -
trunk/include/iprt/bldprog-strtab-template.cpp.h
r66823 r68675 901 901 else 902 902 fprintf(pOut, "\\x%02", (unsigned)uch); 903 NOREF(pThis); 903 904 #endif 904 905 } -
trunk/include/iprt/cpp/meta.h
r62474 r68675 26 26 #ifndef ___iprt_cpp_meta_h 27 27 #define ___iprt_cpp_meta_h 28 29 #include <iprt/types.h> 28 30 29 31 /** @defgroup grp_rt_cpp_meta C++ Meta programming utilities -
trunk/include/iprt/cpp/utils.h
r62474 r68675 26 26 #ifndef ___iprt_cpputils_h 27 27 #define ___iprt_cpputils_h 28 29 #include <iprt/types.h> 28 30 29 31 /** @defgroup grp_rt_cpp IPRT C++ APIs */ -
trunk/include/iprt/crypto/pkcs7.h
r64883 r68675 32 32 33 33 RT_C_DECLS_BEGIN 34 35 struct RTCRPKCS7CONTENTINFO; 36 34 37 35 38 /** @defgroup grp_rt_crpkcs7 RTCrPkcs7 - PKCS \#7, Cryptographic Message Syntax Standard (aka CMS). -
trunk/include/iprt/crypto/x509.h
r62474 r68675 32 32 33 33 RT_C_DECLS_BEGIN 34 35 struct RTCRPKCS7SETOFCERTS; 34 36 35 37 -
trunk/include/iprt/formats/xar.h
r62474 r68675 28 28 #define ___iprt_formats_xar_h 29 29 30 #include <iprt/types.h> 31 32 33 /** @defgroup grp_rt_formats_xar Extensible Archive (XAR) format 34 * @ingroup grp_rt_formats 35 * 36 * @{ */ 30 37 31 38 #pragma pack(4) /* Misdesigned header, not 8-byte aligned size. */ … … 64 71 /** @} */ 65 72 73 /** @} */ 66 74 67 75 #endif -
trunk/include/iprt/krnlmod.h
r67287 r68675 62 62 * @returns Number of kernel modules loaded. 63 63 */ 64 RTDECL(uint32_t) RTKrnlModLoadedGetCount( );64 RTDECL(uint32_t) RTKrnlModLoadedGetCount(void); 65 65 66 66 /** -
trunk/include/iprt/runtime-loader.h
r62473 r68675 156 156 * RT_RUNTIME_LOADER_LIB_NAME */ 157 157 # define RT_PROXY_STUB(function, rettype, signature, shortsig) \ 158 RTR3DECL(rettype) ( function )signature ;158 RTR3DECL(rettype) function signature ; 159 159 160 160 RT_RUNTIME_LOADER_INSERT_SYMBOLS -
trunk/src/VBox/Runtime/r3/darwin/krnlmod-darwin.cpp
r67284 r68675 164 164 165 165 166 RTDECL(uint32_t) RTKrnlModLoadedGetCount( )166 RTDECL(uint32_t) RTKrnlModLoadedGetCount(void) 167 167 { 168 168 uint32_t cLoadedKexts = 0;
Note:
See TracChangeset
for help on using the changeset viewer.