- Timestamp:
- Oct 7, 2015 5:07:25 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 57 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Doxyfile.Core
r58089 r58106 32 32 "vmstateto=@par VM State Out:\n" 33 33 34 # Input / output paragraphs. 35 ALIASES += \ 36 "output=@par Output:\n" \ 37 "input=@par Input:\n" 38 34 39 # Interface method implementation macros. 35 40 ALIASES += \ … … 460 465 RT_IPRT_FORMAT_ATTR(a,b)= \ 461 466 RT_IPRT_FORMAT_ATTR_MAYBE_NULL(a,b)= \ 462 RT_NO_THROW_PROTO= 467 RT_NO_THROW_PROTO= \ 468 RTASN1CONTEXTTAG_IMPL_CURSOR_INLINES(a)= 463 469 464 470 # decl and calling conventions. … … 475 481 DECLNORETURN(type)=type \ 476 482 VBOXCALL= \ 477 RTCALL= 483 RTCALL= \ 484 DECLVBGL(type)=type \ 485 DECLR0VBGL(type)=type \ 486 USBLIB_DECL(type)=type 487 478 488 # context hacks. 479 489 PREDEFINED += RCPTRTYPE(RCType)=RCType … … 482 492 PREDEFINED += HCPTRTYPE(HCType)=HCType 483 493 PREDEFINED += R3R0PTRTYPE(R3R0Type)=R3R0Type 494 484 495 # Compile assertion hacks. 485 496 PREDEFINED += \ … … 497 508 AssertCompileMembersSameSize(type1, member1, type2, member2) \ 498 509 AssertCompileMembersSameSizeAndOffset(type1, member1, type2, member2) 510 499 511 # COM/XPCOM hacks. 500 PREDEFINED += STDMETHODIMP=HRESULT 501 PREDEFINED += "COMGETTER(n)=get_##n" 502 PREDEFINED += "COMSETTER(n)=set_##n" 512 PREDEFINED += \ 513 STDMETHODIMP=HRESULT \ 514 "COMGETTER(n)=get_##n" \ 515 "COMSETTER(n)=set_##n" \ 516 "ComSafeArrayIn(aType,aArg)=aType *aArg" \ 517 "ComSafeArrayOut(aType, aArg)=aType **aArg" \ 518 DECLARE_CLS_COPY_CTOR_ASSIGN_NOOP(a)= 519 503 520 # COM hacks from From http://www.stack.nl/~dimitri/doxygen/preprocessing.html 504 PREDEFINED += "DECLARE_INTERFACE(name)=class name" \ 505 "STDMETHOD_(result,name)=virtual result name" \ 506 "PURE= = 0" \ 507 THIS_= \ 508 THIS= \ 509 DECLARE_REGISTRY_RESOURCEID=// \ 510 DECLARE_PROTECT_FINAL_CONSTRUCT=// \ 511 "DECLARE_AGGREGATABLE(Class)= " \ 512 "DECLARE_REGISTRY_RESOURCEID(Id)= " \ 513 DECLARE_MESSAGE_MAP= \ 514 BEGIN_MESSAGE_MAP=/* \ 515 END_MESSAGE_MAP=*/// \ 516 BEGIN_COM_MAP=/* \ 517 END_COM_MAP=*/// \ 518 BEGIN_PROP_MAP=/* \ 519 END_PROP_MAP=*/// \ 520 BEGIN_MSG_MAP=/* \ 521 END_MSG_MAP=*/// \ 522 BEGIN_PROPERTY_MAP=/* \ 523 END_PROPERTY_MAP=*/// \ 524 BEGIN_OBJECT_MAP=/* \ 525 END_OBJECT_MAP()=*/// \ 526 DECLARE_VIEW_STATUS=// \ 527 "STDMETHOD(a)=HRESULT a" \ 528 "ATL_NO_VTABLE= " \ 529 "__declspec(a)= " \ 530 BEGIN_CONNECTION_POINT_MAP=/* \ 531 END_CONNECTION_POINT_MAP=*/// \ 532 "DECLARE_DYNAMIC(class)= " \ 533 "IMPLEMENT_DYNAMIC(class1, class2)= " \ 534 "DECLARE_DYNCREATE(class)= " \ 535 "IMPLEMENT_DYNCREATE(class1, class2)= " \ 536 "IMPLEMENT_SERIAL(class1, class2, class3)= " \ 537 "DECLARE_MESSAGE_MAP()= " \ 538 TRY=try \ 539 "CATCH_ALL(e)= catch(...)" \ 540 END_CATCH_ALL= \ 541 "THROW_LAST()= throw"\ 542 "RUNTIME_CLASS(class)=class" \ 543 "MAKEINTRESOURCE(nId)=nId" \ 544 "IMPLEMENT_REGISTER(v, w, x, y, z)= " \ 545 "ASSERT(x)=assert(x)" \ 546 "ASSERT_VALID(x)=assert(x)" \ 547 "TRACE0(x)=printf(x)" \ 548 "OS_ERR(A,B)={ #A, B }" \ 549 __cplusplus \ 550 "DECLARE_OLECREATE(class)= " \ 551 "BEGIN_DISPATCH_MAP(class1, class2)= " \ 552 "BEGIN_INTERFACE_MAP(class1, class2)= " \ 553 "INTERFACE_PART(class, id, name)= " \ 554 "END_INTERFACE_MAP()=" \ 555 "DISP_FUNCTION(class, name, function, result, id)=" \ 556 "END_DISPATCH_MAP()=" \ 557 "IMPLEMENT_OLECREATE2(class, name, id1, id2, id3, id4,\ 558 id5, id6, id7, id8, id9, id10, id11)=" 521 PREDEFINED += \ 522 "DECLARE_INTERFACE(name)=class name" \ 523 "STDMETHOD_(result,name)=virtual result name" \ 524 "PURE= = 0" \ 525 THIS_= \ 526 THIS= \ 527 DECLARE_REGISTRY_RESOURCEID=// \ 528 DECLARE_PROTECT_FINAL_CONSTRUCT=// \ 529 "DECLARE_AGGREGATABLE(Class)= " \ 530 "DECLARE_REGISTRY_RESOURCEID(Id)= " \ 531 DECLARE_MESSAGE_MAP= \ 532 BEGIN_MESSAGE_MAP=/* \ 533 END_MESSAGE_MAP=*/// \ 534 BEGIN_COM_MAP=/* \ 535 END_COM_MAP=*/// \ 536 BEGIN_PROP_MAP=/* \ 537 END_PROP_MAP=*/// \ 538 BEGIN_MSG_MAP=/* \ 539 END_MSG_MAP=*/// \ 540 BEGIN_PROPERTY_MAP=/* \ 541 END_PROPERTY_MAP=*/// \ 542 BEGIN_OBJECT_MAP=/* \ 543 END_OBJECT_MAP()=*/// \ 544 DECLARE_VIEW_STATUS=// \ 545 "STDMETHOD(a)=HRESULT a" \ 546 "ATL_NO_VTABLE= " \ 547 "__declspec(a)= " \ 548 BEGIN_CONNECTION_POINT_MAP=/* \ 549 END_CONNECTION_POINT_MAP=*/// \ 550 "DECLARE_DYNAMIC(class)= " \ 551 "IMPLEMENT_DYNAMIC(class1, class2)= " \ 552 "DECLARE_DYNCREATE(class)= " \ 553 "IMPLEMENT_DYNCREATE(class1, class2)= " \ 554 "IMPLEMENT_SERIAL(class1, class2, class3)= " \ 555 "DECLARE_MESSAGE_MAP()= " \ 556 TRY=try \ 557 "CATCH_ALL(e)= catch(...)" \ 558 END_CATCH_ALL= \ 559 "THROW_LAST()= throw"\ 560 "RUNTIME_CLASS(class)=class" \ 561 "MAKEINTRESOURCE(nId)=nId" \ 562 "IMPLEMENT_REGISTER(v, w, x, y, z)= " \ 563 "ASSERT(x)=assert(x)" \ 564 "ASSERT_VALID(x)=assert(x)" \ 565 "TRACE0(x)=printf(x)" \ 566 "OS_ERR(A,B)={ #A, B }" \ 567 __cplusplus \ 568 "DECLARE_OLECREATE(class)= " \ 569 "BEGIN_DISPATCH_MAP(class1, class2)= " \ 570 "BEGIN_INTERFACE_MAP(class1, class2)= " \ 571 "INTERFACE_PART(class, id, name)= " \ 572 "END_INTERFACE_MAP()=" \ 573 "DISP_FUNCTION(class, name, function, result, id)=" \ 574 "END_DISPATCH_MAP()=" \ 575 "IMPLEMENT_OLECREATE2(class, name, id1, id2, id3, id4,\ 576 id5, id6, id7, id8, id9, id10, id11)=" 559 577 560 578 EXPAND_AS_DEFINED = \ -
trunk/include/VBox/GuestHost/clipboard-helper.h
r56291 r58106 1 1 /* $Id$ */ 2 2 /** @file 3 * Shared Clipboard : Some helper function for converting between the various eol.3 * Shared Clipboard - Some helper function for converting between the various EOLs. 4 4 */ 5 5 … … 25 25 */ 26 26 27 #ifndef ___ CLIPBOARD_HELPER_H28 #define ___ CLIPBOARD_HELPER_H27 #ifndef ___VBox_GuestHost_clipboard_helper_h 28 #define ___VBox_GuestHost_clipboard_helper_h 29 29 30 30 #include <iprt/string.h> … … 36 36 /** In Windows, lines end with a carriage return and a linefeed character. */ 37 37 CARRIAGERETURN = 0xd, 38 /** Little endian "real" U tf16 strings start with this marker. */38 /** Little endian "real" UTF-16 strings start with this marker. */ 39 39 UTF16LEMARKER = 0xfeff, 40 /** Big endian "real" U tf16 strings start with this marker. */40 /** Big endian "real" UTF-16 strings start with this marker. */ 41 41 UTF16BEMARKER = 0xfffe 42 42 }; 43 43 44 44 /** 45 * Get the size of the buffer needed to hold a U tf16-LE zero terminated string with Windows EOLs46 * converted from a Utf16 string with Linux EOLs.45 * Get the size of the buffer needed to hold a UTF-16-LE zero terminated string 46 * with Windows EOLs converted from a UTF-16 string with Linux EOLs. 47 47 * 48 * @returns RT error code48 * @returns VBox status code. 49 49 * 50 * @param pwszSrc The source U tf16 string51 * @param cw Src The length in 16 bit words of the source string52 * @ retval pcwDest The length of the destination string in 16 bit words50 * @param pwszSrc The source UTF-16 string. 51 * @param cwcSrc The length of the source string in RTUTF16 units. 52 * @param pcwcDst The length of the destination string in RTUTF16 units. 53 53 */ 54 int vboxClipboardUtf16GetWinSize(PRTUTF16 pwszSrc, size_t cw Src, size_t *pcwDest);54 int vboxClipboardUtf16GetWinSize(PRTUTF16 pwszSrc, size_t cwcSrc, size_t *pcwcDst); 55 55 56 56 /** 57 * Convert a Utf16 text with Linux EOLs to null-terminated Utf16-LE with Windows EOLs. Does no 58 * checking for validity. 57 * Convert a UTF-16 text with Linux EOLs to null-terminated UTF-16-LE with 58 * Windows EOLs. 59 * 60 * Does no checking for validity. 59 61 * 60 62 * @returns VBox status code 61 63 * 62 * @param pwszSrc Source U tf16 text to convert63 * @param cw Src Size of the source text in 16 bit words64 * @ retval pu16DestBuffer to store the converted text to.65 * @ retval pcwDest Size of the buffer for the converted text in 16 bit words64 * @param pwszSrc Source UTF-16 text to convert. 65 * @param cwcSrc Size of the source text int RTUTF16 units 66 * @param pwszDst Buffer to store the converted text to. 67 * @param cwcDst Size of the buffer for the converted text in RTUTF16 units. 66 68 */ 67 int vboxClipboardUtf16LinToWin(PRTUTF16 pwszSrc, size_t cw Src, PRTUTF16 pu16Dest, size_t cwDest);69 int vboxClipboardUtf16LinToWin(PRTUTF16 pwszSrc, size_t cwcSrc, PRTUTF16 pwszDst, size_t cwcDst); 68 70 69 71 /** 70 * Get the size of the buffer needed to hold a zero-terminated U tf16 string with Linux EOLs71 * converted from a Utf16 string with Windows EOLs.72 * Get the size of the buffer needed to hold a zero-terminated UTF-16 string 73 * with Linux EOLs converted from a UTF-16 string with Windows EOLs. 72 74 * 73 75 * @returns RT status code 74 76 * 75 * @param pwszSrc The source U tf16 string76 * @param cw Src The length in 16 bit words of the source string77 * @retval pcw Dest The length of the destination string in 16 bit words77 * @param pwszSrc The source UTF-16 string 78 * @param cwcSrc The length of the source string in RTUTF16 units. 79 * @retval pcwcDst The length of the destination string in RTUTF16 units. 78 80 */ 79 int vboxClipboardUtf16GetLinSize(PRTUTF16 pwszSrc, size_t cw Src, size_t *pcwDest);81 int vboxClipboardUtf16GetLinSize(PRTUTF16 pwszSrc, size_t cwcSrc, size_t *pcwcDst); 80 82 81 83 /** 82 * Convert U tf16-LE text with Windows EOLs to zero-terminated Utf16 with Linux EOLs. This83 * function does not verify that the Utf16 is valid.84 * Convert UTF-16-LE text with Windows EOLs to zero-terminated UTF-16 with Linux 85 * EOLs. This function does not verify that the UTF-16 is valid. 84 86 * 85 87 * @returns VBox status code 86 88 * 87 * @param pwszSrc Text to convert 88 * @param cwSrc Size of the source text in 16 bit words 89 * @param pu16Dest The buffer to store the converted text to 90 * @param cwDest The size of the buffer for the destination text in 16 bit words 89 * @param pwszSrc Text to convert 90 * @param cwcSrc Size of the source text in RTUTF16 units. 91 * @param pwszDst The buffer to store the converted text to 92 * @param cwcDst The size of the buffer for the destination text in RTUTF16 93 * chars. 91 94 */ 92 int vboxClipboardUtf16WinToLin(PRTUTF16 pwszSrc, size_t cw Src, PRTUTF16 pu16Dest, size_t cwDest);95 int vboxClipboardUtf16WinToLin(PRTUTF16 pwszSrc, size_t cwcSrc, PRTUTF16 pwszDst, size_t cwcDst); 93 96 94 97 #pragma pack(1) … … 101 104 typedef struct BMFILEHEADER 102 105 { 106 /** @todo r=bird: this type centric prefixing is what give hungarian notation a bad name... */ 103 107 uint16_t u16Type; 104 108 uint32_t u32Size; … … 118 122 typedef struct BMINFOHEADER 119 123 { 124 /** @todo r=bird: this type centric prefixing is what give hungarian notation a bad name... */ 120 125 uint32_t u32Size; 121 126 uint32_t u32Width; … … 132 137 /** Pointer to a BMINFOHEADER structure. */ 133 138 typedef BMINFOHEADER *PBMINFOHEADER; 134 #pragma pack() 139 #pragma pack() /** @todo r=bird: Only BMFILEHEADER needs packing. The BMINFOHEADER is perfectly aligned. */ 135 140 136 141 /** … … 140 145 * @returns VBox status code 141 146 * 142 * @param p SrcDIB data to convert147 * @param pvSrc DIB data to convert 143 148 * @param cbSrc Size of the DIB data to convert in bytes 144 * @param ppDest Where to store the pointer to the buffer for the destination data 145 * @param pcbDest Pointer to the size of the buffer for the destination data in bytes 149 * @param ppvDst Where to store the pointer to the buffer for the 150 * destination data 151 * @param pcbDst Pointer to the size of the buffer for the destination 152 * data in bytes. 146 153 */ 147 int vboxClipboardDibToBmp(const void *pvSrc, size_t cbSrc, void **ppvD est, size_t *pcbDest);154 int vboxClipboardDibToBmp(const void *pvSrc, size_t cbSrc, void **ppvDst, size_t *pcbDst); 148 155 149 156 /** … … 153 160 * @returns VBox status code 154 161 * 155 * @param p SrcBMP data to convert162 * @param pvSrc BMP data to convert 156 163 * @param cbSrc Size of the BMP data to convert in bytes 157 * @param pp Dest Where to store the pointer to the destination data158 * @param pcbD estPointer to the size of the destination data in bytes164 * @param ppvDst Where to store the pointer to the destination data 165 * @param pcbDst Pointer to the size of the destination data in bytes 159 166 */ 160 int vboxClipboardBmpGetDib(const void *pvSrc, size_t cbSrc, const void **ppvD est, size_t *pcbDest);167 int vboxClipboardBmpGetDib(const void *pvSrc, size_t cbSrc, const void **ppvDst, size_t *pcbDst); 161 168 162 169 -
trunk/include/VBox/HostServices/Service.h
r56323 r58106 36 36 #include <memory> /* for auto_ptr */ 37 37 38 /** @todo document the poor classes. */ 38 39 namespace HGCM 39 40 { … … 406 407 407 408 /** 408 * @copydoc VBOXHGCMSVC HELPERS::pfnUnload409 * @copydoc VBOXHGCMSVCFNTABLE::pfnUnload 409 410 * Simply deletes the service object 410 411 */ … … 421 422 422 423 /** 423 * @copydoc VBOXHGCMSVC HELPERS::pfnConnect424 * @copydoc VBOXHGCMSVCFNTABLE::pfnConnect 424 425 * Stub implementation of pfnConnect and pfnDisconnect. 425 426 */ … … 437 438 438 439 /** 439 * @copydoc VBOXHGCMSVC HELPERS::pfnConnect440 * @copydoc VBOXHGCMSVCFNTABLE::pfnConnect 440 441 * Stub implementation of pfnConnect and pfnDisconnect. 441 442 */ … … 453 454 454 455 /** 455 * @copydoc VBOXHGCMSVC HELPERS::pfnCall456 * @copydoc VBOXHGCMSVCFNTABLE::pfnCall 456 457 * Wraps to the call member function 457 458 */ … … 472 473 473 474 /** 474 * @copydoc VBOXHGCMSVC HELPERS::pfnHostCall475 * @copydoc VBOXHGCMSVCFNTABLE::pfnHostCall 475 476 * Wraps to the hostCall member function 476 477 */ … … 489 490 490 491 /** 491 * @copydoc VBOXHGCMSVC HELPERS::pfnRegisterExtension492 * @copydoc VBOXHGCMSVCFNTABLE::pfnRegisterExtension 492 493 * Installs a host callback for notifications of property changes. 493 494 */ -
trunk/include/VBox/VBoxTpG.h
r56291 r58106 105 105 # define VTG_DECL_VTGPROBELOC(a_VarName) \ 106 106 __declspec(allocate(VTG_LOC_SECT)) static VTGPROBELOC a_VarName 107 # elif defined(__GNUC__) 107 # elif defined(__GNUC__) || defined(DOXYGEN_RUNNING) 108 108 # define VTG_DECL_VTGPROBELOC(a_VarName) \ 109 109 static VTGPROBELOC __attribute__((section(VTG_LOC_SECT))) a_VarName … … 116 116 # define VTG_LOC_SECT "__VTGPrLc" 117 117 # define VTG_LOC_SEG "__VTG" 118 # if def __GNUC__118 # if defined(__GNUC__) || defined(DOXYGEN_RUNNING) 119 119 # define VTG_DECL_VTGPROBELOC(a_VarName) \ 120 120 static VTGPROBELOC __attribute__((section(VTG_LOC_SEG "," VTG_LOC_SECT ",regular")/*, aligned(16)*/)) a_VarName … … 127 127 # define VTG_LOC_SECT "__VTGPrLc" 128 128 # define VTG_LOC_SET "__VTGPrLcSet" 129 # if def __GNUC__129 # if defined(__GNUC__) || defined(DOXYGEN_RUNNING) 130 130 # define VTG_DECL_VTGPROBELOC(a_VarName) \ 131 131 static VTGPROBELOC a_VarName; \ … … 139 139 # define VTG_OBJ_SECT ".VTGObj" 140 140 # define VTG_LOC_SECT ".VTGPrLc" 141 # if def __GNUC__141 # if defined(__GNUC__) || defined(DOXYGEN_RUNNING) 142 142 # define VTG_DECL_VTGPROBELOC(a_VarName) \ 143 143 static VTGPROBELOC __attribute__((section(VTG_LOC_SECT))) a_VarName -
trunk/include/VBox/com/AutoLock.h
r56291 r58106 120 120 /** 121 121 * Returns the current write lock level of this semaphore. The lock level 122 * determines the number of nested #lock () calls on the given semaphore123 * handle.122 * determines the number of nested #lockWrite() calls on the given 123 * semaphore handle. 124 124 * 125 125 * Note that this call is valid only when the current thread owns a write … … 522 522 523 523 /** 524 * Release all write locks acquired by this instance through the # lock()524 * Release all write locks acquired by this instance through the #acquire() 525 525 * call and destroys the instance. 526 526 * 527 * Note that if there there are nested # lock() calls without the528 * corresponding number of # unlock() calls when the destructor is called, it527 * Note that if there there are nested #acquire() calls without the 528 * corresponding number of #release() calls when the destructor is called, it 529 529 * will assert. This is because having an unbalanced number of nested locks 530 530 * is a program logic error which must be fixed. -
trunk/include/VBox/com/ErrorInfo.h
r56291 r58106 191 191 192 192 /** Specialization for the IVirtualBoxErrorInfo smart pointer */ 193 ErrorInfo (const ComPtr<IVirtualBoxErrorInfo> &aPtr)194 : mIsBasicAvailable (false), mIsFullAvailable(false)195 , mResultCode 196 { init 193 ErrorInfo(const ComPtr<IVirtualBoxErrorInfo> &aPtr) 194 : mIsBasicAvailable(false), mIsFullAvailable(false) 195 , mResultCode(S_OK), mResultDetail(0) 196 { init(aPtr); } 197 197 198 198 /** … … 204 204 * holds error info to be fetched by this instance 205 205 */ 206 ErrorInfo 207 : mIsBasicAvailable (false), mIsFullAvailable(false)208 , mResultCode 209 { init 206 ErrorInfo(IVirtualBoxErrorInfo *aInfo) 207 : mIsBasicAvailable(false), mIsFullAvailable(false) 208 , mResultCode(S_OK), mResultDetail(0) 209 { init(aInfo); } 210 210 211 211 ErrorInfo(const ErrorInfo &x) … … 320 320 * 321 321 * This method returns a non-null IID only if the instance was created 322 * using #template <class I> ErrorInfo(I *i) or322 * using template <class I> ErrorInfo(I *i) or 323 323 * template <class I> ErrorInfo(const ComPtr<I> &i) constructor. 324 * 325 * @todo broken ErrorInfo documentation links, possibly misleading. 324 326 */ 325 327 const Guid& getCalleeIID() const … … 332 334 * 333 335 * This method returns a non-null name only if the instance was created 334 * using #template <class I> ErrorInfo(I *i) or336 * using template <class I> ErrorInfo(I *i) or 335 337 * template <class I> ErrorInfo(const ComPtr<I> &i) constructor. 338 * 339 * @todo broken ErrorInfo documentation links, possibly misleading. 336 340 */ 337 341 const Bstr& getCalleeName() const -
trunk/include/VBox/com/MultiResult.h
r56291 r58106 129 129 * 130 130 * Here is the typical usage pattern: 131 * <code> 132 131 * @code 133 132 HRESULT Bar::method() 134 133 { … … 157 156 return S_OK; 158 157 } 159 160 * </code> 158 * @endcode 161 159 * 162 160 * @note This class is intended to be instantiated on the stack, therefore … … 170 168 171 169 /** 172 * @copydoc FWResult::FWResult() .170 * @copydoc FWResult::FWResult() 173 171 */ 174 172 MultiResult (HRESULT aRC = E_FAIL) : FWResult (aRC) { incCounter(); } -
trunk/include/VBox/com/VirtualBox.h
r56291 r58106 9 9 * interfaces; the include file is called VirtualBox.h on Windows hosts 10 10 * and VirtualBox_XPCOM.h on Linux hosts. The build process places it in 11 * out/ <platform>/bin/sdk/include, from where it gets11 * out/{platform}/bin/sdk/include, from where it gets 12 12 * included by the rest of the VirtualBox code. 13 13 */ -
trunk/include/VBox/com/array.h
r56291 r58106 156 156 * Arrays of interface pointers are also supported but they require to use a 157 157 * special SafeArray implementation, com::SafeIfacePointer, which takes the 158 * interface class name as a template argument (e.g. com::SafeIfacePointer 159 * <IUnknown>). This implementation functions identically to com::SafeArray. 158 * interface class name as a template argument (e.g. 159 * com::SafeIfacePointer\<IUnknown\>). This implementation functions 160 * identically to com::SafeArray. 160 161 */ 161 162 … … 687 688 * @param aCntr Container object to copy. 688 689 * 689 * @ param CStandard C++ container template class (normally deduced from690 * @tparam C Standard C++ container template class (normally deduced from 690 691 * @c aCntr). 691 692 */ … … 712 713 * @param aMap Map object to copy. 713 714 * 714 * @ param CStandard C++ map template class (normally deduced from715 * @ c aCntr).716 * @ param L Standard C++ compare class (deduced from @c aCntr).717 * @ param A Standard C++ allocator class (deduced from @c aCntr).718 * @ param K Map key class (deduced from @c aCntr).715 * @tparam C Standard C++ map template class (normally deduced from 716 * @a aMap). 717 * @tparam L Standard C++ compare class (deduced from @a aMap). 718 * @tparam A Standard C++ allocator class (deduced from @a aMap). 719 * @tparam K Map key class (deduced from @a aMap). 719 720 */ 720 721 template<template<typename, typename, typename, typename> … … 829 830 * <tt>Bstr("foo").detachTo(array.appendedRaw());</tt>. Don't use it as 830 831 * an l-value (<tt>array.appendedRaw() = SysAllocString(L"tralala");</tt>) 831 * since this doesn't check for a NULL condition; use #resize() and832 * #setRawAt() instead. If you need to assign a copy of the existing value833 * instead of transferringthe ownership, look at #push_back().832 * since this doesn't check for a NULL condition; use #resize() instead. If 833 * you need to assign a copy of the existing value instead of transferring 834 * the ownership, look at #push_back(). 834 835 * 835 836 * @return Raw pointer to the added element or NULL if no memory. … … 1629 1630 /** 1630 1631 * Creates a deep copy of the given standard C++ container that stores 1631 * interface pointers as objects of the ComPtr <I> class.1632 * interface pointers as objects of the ComPtr\<I\> class. 1632 1633 * 1633 1634 * @param aCntr Container object to copy. 1634 1635 * 1635 * @ param CStandard C++ container template class (normally deduced from1636 * @tparam C Standard C++ container template class (normally deduced from 1636 1637 * @c aCntr). 1637 * @ param AStandard C++ allocator class (deduced from @c aCntr).1638 * @ param OIArgument to the ComPtr template (deduced from @c aCntr).1638 * @tparam A Standard C++ allocator class (deduced from @c aCntr). 1639 * @tparam OI Argument to the ComPtr template (deduced from @c aCntr). 1639 1640 */ 1640 1641 template<template<typename, typename> class C, class A, class OI> … … 1658 1659 /** 1659 1660 * Creates a deep copy of the given standard C++ container that stores 1660 * interface pointers as objects of the ComObjPtr <I> class.1661 * interface pointers as objects of the ComObjPtr\<I\> class. 1661 1662 * 1662 1663 * @param aCntr Container object to copy. 1663 1664 * 1664 * @ param CStandard C++ container template class (normally deduced from1665 * @tparam C Standard C++ container template class (normally deduced from 1665 1666 * @c aCntr). 1666 * @ param AStandard C++ allocator class (deduced from @c aCntr).1667 * @ param OIArgument to the ComObjPtr template (deduced from @c aCntr).1667 * @tparam A Standard C++ allocator class (deduced from @c aCntr). 1668 * @tparam OI Argument to the ComObjPtr template (deduced from @c aCntr). 1668 1669 */ 1669 1670 template<template<typename, typename> class C, class A, class OI> … … 1687 1688 /** 1688 1689 * Creates a deep copy of the given standard C++ map whose values are 1689 * interface pointers stored as objects of the ComPtr <I> class.1690 * interface pointers stored as objects of the ComPtr\<I\> class. 1690 1691 * 1691 1692 * @param aMap Map object to copy. 1692 1693 * 1693 * @ param CStandard C++ map template class (normally deduced from1694 * @tparam C Standard C++ map template class (normally deduced from 1694 1695 * @c aCntr). 1695 * @ param LStandard C++ compare class (deduced from @c aCntr).1696 * @ param AStandard C++ allocator class (deduced from @c aCntr).1697 * @ param KMap key class (deduced from @c aCntr).1698 * @ param OIArgument to the ComPtr template (deduced from @c aCntr).1696 * @tparam L Standard C++ compare class (deduced from @c aCntr). 1697 * @tparam A Standard C++ allocator class (deduced from @c aCntr). 1698 * @tparam K Map key class (deduced from @c aCntr). 1699 * @tparam OI Argument to the ComPtr template (deduced from @c aCntr). 1699 1700 */ 1700 1701 template<template<typename, typename, typename, typename> … … 1719 1720 /** 1720 1721 * Creates a deep copy of the given standard C++ map whose values are 1721 * interface pointers stored as objects of the ComObjPtr <I> class.1722 * interface pointers stored as objects of the ComObjPtr\<I\> class. 1722 1723 * 1723 1724 * @param aMap Map object to copy. 1724 1725 * 1725 * @ param CStandard C++ map template class (normally deduced from1726 * @tparam C Standard C++ map template class (normally deduced from 1726 1727 * @c aCntr). 1727 * @ param LStandard C++ compare class (deduced from @c aCntr).1728 * @ param AStandard C++ allocator class (deduced from @c aCntr).1729 * @ param KMap key class (deduced from @c aCntr).1730 * @ param OIArgument to the ComObjPtr template (deduced from @c aCntr).1728 * @tparam L Standard C++ compare class (deduced from @c aCntr). 1729 * @tparam A Standard C++ allocator class (deduced from @c aCntr). 1730 * @tparam K Map key class (deduced from @c aCntr). 1731 * @tparam OI Argument to the ComObjPtr template (deduced from @c aCntr). 1731 1732 */ 1732 1733 template<template<typename, typename, typename, typename> -
trunk/include/VBox/com/com.h
r56291 r58106 37 37 * willing to perform COM operations. 38 38 * 39 * @param f Mainif call is performed on the GUI thread39 * @param fGui if call is performed on the GUI thread 40 40 * @return COM result code 41 41 */ -
trunk/include/VBox/com/defs.h
r56291 r58106 145 145 146 146 /** 147 * Expands to @ true if the given input safearray parameter is a "null pointer"147 * Expands to @c true if the given input safearray parameter is a "null pointer" 148 148 * which makes it impossible to use it for reading safearray data. 149 149 */ … … 180 180 181 181 /** 182 * Expands to @ true if the given output safearray parameter is a "null pointer"183 * which makes it impossible to use it for returning a safearray.182 * Expands to @c true if the given output safearray parameter is a "null 183 * pointer" which makes it impossible to use it for returning a safearray. 184 184 */ 185 185 #define ComSafeArrayOutIsNull(aArg) ((aArg) == NULL) … … 241 241 * interface. 242 242 * 243 * @param iinterface class243 * @param I interface class 244 244 */ 245 245 #define COM_IIDOF(I) _ATL_IIDOF(I) -
trunk/include/VBox/com/errorprint.h
r56291 r58106 239 239 * statement after error reporting. 240 240 * 241 * @param hrc The result variable (type HRESULT). 241 242 * @param iface The interface pointer (can be a smart pointer object). 242 243 * @param method The method to invoke together with the parameters. -
trunk/include/VBox/com/list.h
r56291 r58106 37 37 * Specialized list class for using with com::ComPtr<C> 38 38 * 39 * @note :This is necessary cause ComPtr<IFACE> has a size of 8.39 * @note This is necessary cause ComPtr<IFACE> has a size of 8. 40 40 */ 41 41 template <typename C> … … 54 54 * This preallocates @a cCapacity elements within the list. 55 55 * 56 * @param cCapacit iy The initial capacity the list has.56 * @param cCapacity The initial capacity the list has. 57 57 * @throws std::bad_alloc 58 58 */ … … 84 84 * This preallocates @a cCapacity elements within the list. 85 85 * 86 * @param cCapacit iy The initial capacity the list has.86 * @param cCapacity The initial capacity the list has. 87 87 * @throws std::bad_alloc 88 88 */ … … 114 114 * This preallocates @a cCapacity elements within the list. 115 115 * 116 * @param cCapacit iyThe initial capacity the list has.116 * @param cCapacity The initial capacity the list has. 117 117 * @throws std::bad_alloc 118 118 */ -
trunk/include/VBox/com/mtlist.h
r56291 r58106 53 53 * This preallocates @a cCapacity elements within the list. 54 54 * 55 * @param cCapacit iy The initial capacity the list has.55 * @param cCapacity The initial capacity the list has. 56 56 * @throws std::bad_alloc 57 57 */ … … 83 83 * This preallocates @a cCapacity elements within the list. 84 84 * 85 * @param cCapacit iy The initial capacity the list has.85 * @param cCapacity The initial capacity the list has. 86 86 * @throws std::bad_alloc 87 87 */ … … 113 113 * This preallocates @a cCapacity elements within the list. 114 114 * 115 * @param cCapacit iyThe initial capacity the list has.115 * @param cCapacity The initial capacity the list has. 116 116 * @throws std::bad_alloc 117 117 */ -
trunk/include/VBox/com/string.h
r57005 r58106 456 456 * @param a_pszSrc The source string. The caller guarantees 457 457 * that this is valid UTF-8. 458 * @param a_cch Max The maximum number of chars (not459 * co depoints) to copy. If you pass RTSTR_MAX460 * it'll be exactlylike copyFrom().458 * @param a_cchSrc The maximum number of chars (not codepoints) to 459 * copy. If you pass RTSTR_MAX it'll be exactly 460 * like copyFrom(). 461 461 * 462 462 * @throws std::bad_alloc - the object is representing an empty string. … … 582 582 * 583 583 * @returns S_OK, E_OUTOFMEMORY or E_INVALIDARG. 584 * @param a_ pcszSrcThe source string584 * @param a_rSrcStr The source string 585 585 * @param a_offSrc The character (byte) offset of the substring. 586 586 * @param a_cchSrc The number of characters (bytes) to copy from the source -
trunk/include/VBox/dbg.h
r57006 r58106 684 684 685 685 /** 686 * @copydoc DBGCCMDHLP::pfnPrintf 686 * Command helper for writing formatted text to the debug console. 687 * 688 * @returns VBox status. 689 * @param pCmdHlp Pointer to the command callback structure. 690 * @param pszFormat The format string. This may use all IPRT extensions as 691 * well as the debugger ones. 692 * @param ... Arguments specified in the format string. 687 693 */ 688 694 DECLINLINE(int) RT_IPRT_FORMAT_ATTR(2, 3) DBGCCmdHlpPrintf(PDBGCCMDHLP pCmdHlp, const char *pszFormat, ...) … … 716 722 717 723 /** 718 * @copydoc FNDBGCHLPVBOXERROR724 * @copydoc DBGCCMDHLP::pfnVBoxError 719 725 */ 720 726 DECLINLINE(int) RT_IPRT_FORMAT_ATTR(3, 4) DBGCCmdHlpVBoxError(PDBGCCMDHLP pCmdHlp, int rc, const char *pszFormat, ...) … … 730 736 731 737 /** 732 * @copydoc FNDBGCHLPMEMREAD738 * @copydoc DBGCCMDHLP::pfnMemRead 733 739 */ 734 740 DECLINLINE(int) DBGCCmdHlpMemRead(PDBGCCMDHLP pCmdHlp, void *pvBuffer, size_t cbRead, PCDBGCVAR pVarPointer, size_t *pcbRead) … … 845 851 846 852 /** 847 * @copydoc DBGCCMDHLP::pfnVar ToDbgfAddr853 * @copydoc DBGCCMDHLP::pfnVarFromDbgfAddr 848 854 */ 849 855 DECLINLINE(int) DBGCCmdHlpVarFromDbgfAddr(PDBGCCMDHLP pCmdHlp, PCDBGFADDRESS pAddress, PDBGCVAR pResult) -
trunk/include/VBox/dbggui.h
r56291 r58106 90 90 */ 91 91 DBGDECL(int) DBGGuiCreate(ISession *pSession, PDBGGUI *ppGui, PCDBGGUIVT *ppGuiVT); 92 /** @copydoc DBGGuiCreate .*/92 /** @copydoc DBGGuiCreate */ 93 93 typedef DECLCALLBACK(int) FNDBGGUICREATE(ISession *pSession, PDBGGUI *ppGui, PCDBGGUIVT *ppGuiVT); 94 94 /** Pointer to DBGGuiCreate. */ … … 105 105 */ 106 106 DBGDECL(int) DBGGuiCreateForVM(PUVM pUVM, PDBGGUI *ppGui, PCDBGGUIVT *ppGuiVT); 107 /** @copydoc DBGGuiCreateForVM .*/107 /** @copydoc DBGGuiCreateForVM */ 108 108 typedef DECLCALLBACK(int) FNDBGGUICREATEFORVM(PUVM pUVM, PDBGGUI *ppGui, PCDBGGUIVT *ppGuiVT); 109 109 /** Pointer to DBGGuiCreateForVM. */ -
trunk/include/VBox/err.h
r57989 r58106 492 492 /** Catch write access and route it thru PGM. */ 493 493 #define VERR_PGM_PHYS_TLB_CATCH_WRITE (-1635) 494 /** No CR3 root shadow page table. .*/494 /** No CR3 root shadow page table. */ 495 495 #define VERR_PGM_NO_CR3_SHADOW_ROOT (-1636) 496 496 /** Trying to free a page with an invalid Page ID. */ … … 2359 2359 /** Generic debugger command failure. */ 2360 2360 #define VERR_DBGC_COMMAND_FAILED (-5407) 2361 /** Logic bug in the DBGC code. .*/2361 /** Logic bug in the DBGC code. */ 2362 2362 #define VERR_DBGC_IPE (-5408) 2363 2363 -
trunk/include/VBox/hgcmsvc.h
r56291 r58106 73 73 74 74 /** Service helpers pointers table. */ 75 typedef struct _VBOXHGCMSVCHELPERS75 typedef struct VBOXHGCMSVCHELPERS 76 76 { 77 77 /** The service has processed the Call request. */ … … 355 355 356 356 /* The structure is used in separately compiled binaries so an explicit packing is required. */ 357 #pragma pack(1) 358 typedef struct _VBOXHGCMSVCFNTABLE357 #pragma pack(1) /** @todo r=bird: The pragma pack(1) is not at all required!! */ 358 typedef struct VBOXHGCMSVCFNTABLE 359 359 { 360 /** Filled by HGCM */ 360 /** @name Filled by HGCM 361 * @{ */ 361 362 362 363 /** Size of the structure. */ … … 367 368 368 369 PVBOXHGCMSVCHELPERS pHelpers; 369 370 /** Filled by the service. */ 370 /** @} */ 371 372 /** @name Filled in by the service. 373 * @{ */ 371 374 372 375 /** Size of client information the service want to have. */ … … 408 411 void *pvService; 409 412 413 /** @} */ 410 414 } VBOXHGCMSVCFNTABLE; 411 415 #pragma pack() -
trunk/include/VBox/intnetinline.h
r56291 r58106 398 398 * @param pRingBuf The ring buffer. 399 399 * @param cbFrame The frame size. 400 * @param u8Type The header type. 400 401 * @param ppHdr Where to return the frame header. 401 402 * Don't touch this! … … 738 739 * 739 740 * @returns Size of the frame in bytes. 0 is returned if nothing in the buffer. 740 * @param pRingBuf fThe ring buffer to read from.741 * @param pRingBuf The ring buffer to read from. 741 742 * @param pvFrameDst Where to put the frame. The caller is responsible for 742 743 * ensuring that there is sufficient space for the frame. -
trunk/include/VBox/pci.h
r56291 r58106 793 793 * 794 794 * @param pPciDev The PCI device. 795 * @param iReg Base address register number (0..5). 795 796 * @param fIOSpace Whether it's I/O (true) or memory (false) space. 796 797 * @param fPrefetchable Whether the memory is prefetachable. Must be false if fIOSpace == true. … … 798 799 * @param u32Addr The address value. 799 800 */ 800 DECLINLINE(void) PCIDevSetBaseAddress(PPCIDEVICE pPciDev, uint8_t iReg, bool fIOSpace, bool fPrefetchable, bool f64Bit, uint32_t u32Addr) 801 DECLINLINE(void) PCIDevSetBaseAddress(PPCIDEVICE pPciDev, uint8_t iReg, bool fIOSpace, bool fPrefetchable, bool f64Bit, 802 uint32_t u32Addr) 801 803 { 802 804 if (fIOSpace) -
trunk/include/VBox/sup.h
r57235 r58106 1150 1150 * @param pszService The service name. 1151 1151 * @param cchService The length of the service name. 1152 * @param u ReqThe request number.1152 * @param uOperation The request number. 1153 1153 * @param u64Arg Constant argument. 1154 1154 * @param pReqHdr Pointer to a request header. Optional. … … 1373 1373 * 1374 1374 * @returns VBox status code. 1375 * @param p szModule The module to free.1375 * @param pvImageBase The base address of the image to free. 1376 1376 * @remark This will not actually 'free' the module, there are of course usage counting. 1377 1377 */ … … 1394 1394 * 1395 1395 * @returns VBox status code. 1396 * @param p szModule The module name.1396 * @param pvImageBase The base address of the image to search. 1397 1397 * @param pszSymbol Symbol name. If it's value is less than 64k it's treated like a 1398 1398 * ordinal value rather than a string pointer. … … 1983 1983 /** The actual module bit count (corresponds to cbProbeLocsEn). */ 1984 1984 uint8_t cBits; 1985 /** Set if this is a Umod, otherwise clear. .*/1985 /** Set if this is a Umod, otherwise clear. */ 1986 1986 bool fUmod; 1987 1987 /** Explicit alignment padding (paranoia). */ -
trunk/include/VBox/vd-ifs-internal.h
r56291 r58106 129 129 * @param pszLocation Name of the location to open. 130 130 * @param fOpen Flags for opening the backend. 131 * See RTFILE_O_* #defines, inventing another set131 * See RTFILE_O_* \#defines, inventing another set 132 132 * of open flags is not worth the mapping effort. 133 133 * @param ppStorage Where to store the storage handle. … … 256 256 * @param pvCompleteUser Opaque user data passed in the completion callback. 257 257 * 258 * @note sIf pIoCtx is NULL the metadata read is handled synchronously259 * i.e. the call returns only if the data is available in the given260 * buffer. ppMetaXfer, pfnCompleted and pvCompleteUser are ignored in that case.261 * Use the synchronous version only when opening/closing the image262 * or when doing certain operations like resizing, compacting or repairing263 * the disk.258 * @note If pIoCtx is NULL the metadata read is handled synchronously 259 * i.e. the call returns only if the data is available in the given 260 * buffer. ppMetaXfer, pfnCompleted and pvCompleteUser are ignored in that case. 261 * Use the synchronous version only when opening/closing the image 262 * or when doing certain operations like resizing, compacting or repairing 263 * the disk. 264 264 */ 265 265 DECLR3CALLBACKMEMBER(int, pfnReadMeta, (void *pvUser, PVDIOSTORAGE pStorage, … … 283 283 * @param pvCompleteUser Opaque user data passed in the completion callback. 284 284 * 285 * @ notes See pfnReadMeta().285 * @sa VDINTERFACEIOINT::pfnReadMeta 286 286 */ 287 287 DECLR3CALLBACKMEMBER(int, pfnWriteMeta, (void *pvUser, PVDIOSTORAGE pStorage, … … 311 311 * @param pvCompleteUser Opaque user data passed in the completion callback. 312 312 * 313 * @ notes See pfnReadMeta().313 * @sa VDINTERFACEIOINT::pfnReadMeta 314 314 */ 315 315 DECLR3CALLBACKMEMBER(int, pfnFlush, (void *pvUser, PVDIOSTORAGE pStorage, -
trunk/include/VBox/vd-ifs.h
r58092 r58106 143 143 * @param enmInterface Type of the interface. 144 144 * @param pvUser Opaque user data passed on every function call. 145 * @param cbInterface The interface size. 145 146 * @param ppVDIfs Pointer to the VD interface list. 146 147 */ 147 DECLINLINE(int) VDInterfaceAdd(PVDINTERFACE pInterface, const char *pszName, 148 VDINTERFACETYPE enmInterface, void *pvUser, 148 DECLINLINE(int) VDInterfaceAdd(PVDINTERFACE pInterface, const char *pszName, VDINTERFACETYPE enmInterface, void *pvUser, 149 149 size_t cbInterface, PVDINTERFACE *ppVDIfs) 150 150 { … … 240 240 * @param pvUser The opaque data passed on container creation. 241 241 * @param rc The VBox error code. 242 * @param RT_SRC_POS_DECLUse RT_SRC_POS.242 * @param SRC_POS Use RT_SRC_POS. 243 243 * @param pszFormat Error message format string. 244 244 * @param va Error message arguments. … … 285 285 * @param pIfError The error interface. 286 286 * @param rc The status code. 287 * @param RT_SRC_POS_DECLThe position in the source code.287 * @param SRC_POS The position in the source code. 288 288 * @param pszFormat The format string to pass. 289 289 * @param ... Arguments to the format string. … … 350 350 * @param pszLocation Name of the location to open. 351 351 * @param fOpen Flags for opening the backend. 352 * See RTFILE_O_* #defines, inventing another set352 * See RTFILE_O_* \#defines, inventing another set 353 353 * of open flags is not worth the mapping effort. 354 354 * @param pfnCompleted The callback which is called whenever a task … … 1091 1091 * @return iprt status code. 1092 1092 * @retval VERR_NOT_SUPPORTED if the combination of flags is not supported. 1093 * @param fFlags Combination of the VD_INTERFACETCPNET_CONNECT_* #defines.1093 * @param fFlags Combination of the VD_INTERFACETCPNET_CONNECT_* \#defines. 1094 1094 * @param pSock Where to store the handle. 1095 1095 */ … … 1298 1298 * container. Opening or closing images is covered by the synchronization, but 1299 1299 * that does not mean it is safe to close images while a thread executes 1300 * <link to="VDMerge"/> or <link to="VDCopy"/> operating on these images.1301 * Making them safe would require the lock to be held during the entire1302 * operation, which prevents otherconcurrent acitivities.1300 * #VDMerge or #VDCopy operating on these images. Making them safe would require 1301 * the lock to be held during the entire operation, which prevents other 1302 * concurrent acitivities. 1303 1303 * 1304 1304 * @note Right now this is kept as simple as possible, and does not even -
trunk/include/VBox/vd.h
r57064 r58106 190 190 uint32_t uFlags; 191 191 /** Filename for the raw disk. Ignored for partitioned raw disks. 192 * For Linux e.g. /dev/sda, and for Windows e.g. \\\\.\\PhysicalDisk0. */192 * For Linux e.g. /dev/sda, and for Windows e.g. //./PhysicalDisk0. */ 193 193 const char *pszRawDisk; 194 194 /** Number of entries in the partition descriptor array. */ … … 564 564 * @return VBox status code. 565 565 * @param pszBackend The backend name (case insensitive). 566 * @param pEntr iesPointer to an entry.566 * @param pEntry Pointer to an entry. 567 567 */ 568 568 VBOXDDU_DECL(int) VDBackendInfoOne(const char *pszBackend, PVDBACKENDINFO pEntry); … … 585 585 * @return VBox status code. 586 586 * @param pszFilter The filter name (case insensitive). 587 * @param pEntr iesPointer to an entry.587 * @param pEntry Pointer to an entry. 588 588 */ 589 589 VBOXDDU_DECL(int) VDFilterInfoOne(const char *pszFilter, PVDFILTERINFO pEntry); … … 731 731 * @return VBox status code. 732 732 * @param pDisk Name of the cache file backend to use (case insensitive). 733 * @param pszBackend Name of the image file backend to use (case insensitive). 733 734 * @param pszFilename Name of the differencing cache file to create. 734 735 * @param cbSize Maximum size of the cache. … … 764 765 /** 765 766 * Copies an image from one HDD container to another - extended version. 766 * The copy is opened in the target HDD container. 767 * It is possible to convert between different image formats, because the 768 * backend for the destination may be different from the source. 769 * If both the source and destination reference the same HDD container, 770 * then the image is moved (by copying/deleting or renaming) to the new location. 771 * The source container is unchanged if the move operation fails, otherwise 772 * the image at the new location is opened in the same way as the old one was. 767 * 768 * The copy is opened in the target HDD container. It is possible to convert 769 * between different image formats, because the backend for the destination may 770 * be different from the source. If both the source and destination reference 771 * the same HDD container, then the image is moved (by copying/deleting or 772 * renaming) to the new location. The source container is unchanged if the move 773 * operation fails, otherwise the image at the new location is opened in the 774 * same way as the old one was. 773 775 * 774 776 * @note The read/write accesses across disks are not synchronized, just the … … 778 780 * @return VBox status code. 779 781 * @return VERR_VD_IMAGE_NOT_FOUND if image with specified number was not opened. 782 * 780 783 * @param pDiskFrom Pointer to source HDD container. 781 * @param nImage Image number, counts from 0. 0 is always base image of container. 784 * @param nImage Image number, counts from 0. 0 is always base image 785 * of container. 782 786 * @param pDiskTo Pointer to destination HDD container. 783 * @param pszBackend Name of the image file backend to use (may be NULL to use the same as the source, case insensitive). 784 * @param pszFilename New name of the image (may be NULL to specify that the 785 * copy destination is the destination container, or 786 * if pDiskFrom == pDiskTo, i.e. when moving). 787 * @param fMoveByRename If true, attempt to perform a move by renaming (if successful the new size is ignored). 787 * @param pszBackend Name of the image file backend to use (may be NULL 788 * to use the same as the source, case insensitive). 789 * @param pszFilename New name of the image (may be NULL to specify that 790 * the copy destination is the destination container, 791 * or if pDiskFrom == pDiskTo, i.e. when moving). 792 * @param fMoveByRename If true, attempt to perform a move by renaming (if 793 * successful the new size is ignored). 788 794 * @param cbSize New image size (0 means leave unchanged). 789 * @param nImageSameFrom The number of the last image in the source chain having the same content as the 790 * image in the destination chain given by nImageSameTo or 791 * VD_IMAGE_CONTENT_UNKNOWN to indicate that the content of both containers is unknown. 792 * See the notes for further information. 793 * @param nImageSameTo The number of the last image in the destination chain having the same content as the 794 * image in the source chain given by nImageSameFrom or 795 * VD_IMAGE_CONTENT_UNKNOWN to indicate that the content of both containers is unknown. 796 * See the notes for further information. 795 * @param nImageFromSame The number of the last image in the source chain 796 * having the same content as the image in the 797 * destination chain given by nImageToSame or 798 * VD_IMAGE_CONTENT_UNKNOWN to indicate that the 799 * content of both containers is unknown. See the 800 * notes for further information. 801 * @param nImageToSame The number of the last image in the destination 802 * chain having the same content as the image in the 803 * source chain given by nImageFromSame or 804 * VD_IMAGE_CONTENT_UNKNOWN to indicate that the 805 * content of both containers is unknown. See the notes 806 * for further information. 797 807 * @param uImageFlags Flags specifying special destination image features. 798 * @param pDstUuid New UUID of the destination image. If NULL, a new UUID is created. 799 * This parameter is used if and only if a true copy is created. 800 * In all rename/move cases or copy to existing image cases the modification UUIDs are copied over. 808 * @param pDstUuid New UUID of the destination image. If NULL, a new 809 * UUID is created. This parameter is used if and only 810 * if a true copy is created. In all rename/move cases 811 * or copy to existing image cases the modification 812 * UUIDs are copied over. 801 813 * @param uOpenFlags Image file open mode, see VD_OPEN_FLAGS_* constants. 802 814 * Only used if the destination image is created. … … 804 816 * @param pDstVDIfsImage Pointer to the per-image VD interface list, for the 805 817 * destination image. 806 * @param pDstVDIfsOperation Pointer to the per-operation VD interface list,818 * @param pDstVDIfsOperation Pointer to the per-operation VD interface list, 807 819 * for the destination operation. 808 820 * 809 * @note Using nImageSameFrom and nImageSameTo can lead to a significant speedup 810 * when copying an image but can also lead to a corrupted copy if used incorrectly. 811 * It is mainly useful when cloning a chain of images and it is known that 812 * the virtual disk content of the two chains is exactly the same upto a certain image. 813 * Example: 814 * Imagine the chain of images which consist of a base and one diff image. 815 * Copying the chain starts with the base image. When copying the first 816 * diff image VDCopy() will read the data from the diff of the source chain 817 * and probably from the base image again in case the diff doesn't has data 818 * for the block. However the block will be optimized away because VDCopy() 819 * reads data from the base image of the destination chain compares the to 820 * and suppresses the write because the data is unchanged. 821 * For a lot of diff images this will be a huge waste of I/O bandwidth if 822 * the diff images contain only few changes. 823 * Because it is known that the base image of the source and the destination chain 824 * have the same content it is enough to check the diff image for changed data 825 * and copy it to the destination diff image which is achieved with 826 * nImageSameFrom and nImageSameTo. Setting both to 0 can suppress a lot of I/O. 821 * @note Using nImageFromSame and nImageToSame can lead to a significant speedup 822 * when copying an image but can also lead to a corrupted copy if used 823 * incorrectly. It is mainly useful when cloning a chain of images and it 824 * is known that the virtual disk content of the two chains is exactly the 825 * same upto a certain image. Example: 826 * Imagine the chain of images which consist of a base and one diff 827 * image. Copying the chain starts with the base image. When copying 828 * the first diff image VDCopy() will read the data from the diff of 829 * the source chain and probably from the base image again in case the 830 * diff doesn't has data for the block. However the block will be 831 * optimized away because VDCopy() reads data from the base image of 832 * the destination chain compares the to and suppresses the write 833 * because the data is unchanged. For a lot of diff images this will be 834 * a huge waste of I/O bandwidth if the diff images contain only few 835 * changes. Because it is known that the base image of the source and 836 * the destination chain have the same content it is enough to check 837 * the diff image for changed data and copy it to the destination diff 838 * image which is achieved with nImageFromSame and nImageToSame. 839 * Setting both to 0 can suppress a lot of I/O. 827 840 */ 828 841 VBOXDDU_DECL(int) VDCopyEx(PVBOXHDD pDiskFrom, unsigned nImage, PVBOXHDD pDiskTo, … … 901 914 * @param pVDIfsOperation Pointer to the per-operation VD interface list. 902 915 */ 903 VBOXDDU_DECL(int) VDCompact(PVBOXHDD pDisk, unsigned nImage, 904 PVDINTERFACE pVDIfsOperation); 916 VBOXDDU_DECL(int) VDCompact(PVBOXHDD pDisk, unsigned nImage, PVDINTERFACE pVDIfsOperation); 905 917 906 918 /** … … 990 1002 * @return VERR_VD_NOT_OPENED if no image is opened in HDD container. 991 1003 * @param pDisk Pointer to HDD container. 992 * @param uOffsetOffset of first reading byte from start of disk.1004 * @param off Offset of first reading byte from start of disk. 993 1005 * Must be aligned to a sector boundary. 994 1006 * @param pvBuffer Pointer to buffer for reading data. … … 996 1008 * Must be aligned to a sector boundary. 997 1009 */ 998 VBOXDDU_DECL(int) VDRead(PVBOXHDD pDisk, uint64_t uOffset, void *pvBuffer, size_t cbBuffer);1010 VBOXDDU_DECL(int) VDRead(PVBOXHDD pDisk, uint64_t off, void *pvBuffer, size_t cbBuffer); 999 1011 1000 1012 /** … … 1004 1016 * @return VERR_VD_NOT_OPENED if no image is opened in HDD container. 1005 1017 * @param pDisk Pointer to HDD container. 1006 * @param uOffsetOffset of first writing byte from start of disk.1018 * @param off Offset of first writing byte from start of disk. 1007 1019 * Must be aligned to a sector boundary. 1008 1020 * @param pvBuffer Pointer to buffer for writing data. … … 1010 1022 * Must be aligned to a sector boundary. 1011 1023 */ 1012 VBOXDDU_DECL(int) VDWrite(PVBOXHDD pDisk, uint64_t uOffset, const void *pvBuffer, size_t cbBuffer);1024 VBOXDDU_DECL(int) VDWrite(PVBOXHDD pDisk, uint64_t off, const void *pvBuffer, size_t cbBuffer); 1013 1025 1014 1026 /** … … 1078 1090 * @param pPCHSGeometry Where to store PCHS geometry. Not NULL. 1079 1091 */ 1080 VBOXDDU_DECL(int) VDGetPCHSGeometry(PVBOXHDD pDisk, unsigned nImage, 1081 PVDGEOMETRY pPCHSGeometry); 1092 VBOXDDU_DECL(int) VDGetPCHSGeometry(PVBOXHDD pDisk, unsigned nImage, PVDGEOMETRY pPCHSGeometry); 1082 1093 1083 1094 /** … … 1090 1101 * @param pPCHSGeometry Where to load PCHS geometry from. Not NULL. 1091 1102 */ 1092 VBOXDDU_DECL(int) VDSetPCHSGeometry(PVBOXHDD pDisk, unsigned nImage, 1093 PCVDGEOMETRY pPCHSGeometry); 1103 VBOXDDU_DECL(int) VDSetPCHSGeometry(PVBOXHDD pDisk, unsigned nImage, PCVDGEOMETRY pPCHSGeometry); 1094 1104 1095 1105 /** … … 1103 1113 * @param pLCHSGeometry Where to store LCHS geometry. Not NULL. 1104 1114 */ 1105 VBOXDDU_DECL(int) VDGetLCHSGeometry(PVBOXHDD pDisk, unsigned nImage, 1106 PVDGEOMETRY pLCHSGeometry); 1115 VBOXDDU_DECL(int) VDGetLCHSGeometry(PVBOXHDD pDisk, unsigned nImage, PVDGEOMETRY pLCHSGeometry); 1107 1116 1108 1117 /** … … 1115 1124 * @param pLCHSGeometry Where to load LCHS geometry from. Not NULL. 1116 1125 */ 1117 VBOXDDU_DECL(int) VDSetLCHSGeometry(PVBOXHDD pDisk, unsigned nImage, 1118 PCVDGEOMETRY pLCHSGeometry); 1126 VBOXDDU_DECL(int) VDSetLCHSGeometry(PVBOXHDD pDisk, unsigned nImage, PCVDGEOMETRY pLCHSGeometry); 1119 1127 1120 1128 /** … … 1127 1135 * @param puVersion Where to store the image version. 1128 1136 */ 1129 VBOXDDU_DECL(int) VDGetVersion(PVBOXHDD pDisk, unsigned nImage, 1130 unsigned *puVersion); 1137 VBOXDDU_DECL(int) VDGetVersion(PVBOXHDD pDisk, unsigned nImage, unsigned *puVersion); 1131 1138 1132 1139 /** … … 1137 1144 * @param pDisk Pointer to the HDD container. 1138 1145 * @param nImage Image number, counts from 0. 0 is always base image of container. 1139 * @param pbackendInfo Where to store the backend information. 1140 */ 1141 VBOXDDU_DECL(int) VDBackendInfoSingle(PVBOXHDD pDisk, unsigned nImage, 1142 PVDBACKENDINFO pBackendInfo); 1146 * @param pBackendInfo Where to store the backend information. 1147 */ 1148 VBOXDDU_DECL(int) VDBackendInfoSingle(PVBOXHDD pDisk, unsigned nImage, PVDBACKENDINFO pBackendInfo); 1143 1149 1144 1150 /** … … 1162 1168 * @param puOpenFlags Where to store the image open flags. 1163 1169 */ 1164 VBOXDDU_DECL(int) VDGetOpenFlags(PVBOXHDD pDisk, unsigned nImage, 1165 unsigned *puOpenFlags); 1170 VBOXDDU_DECL(int) VDGetOpenFlags(PVBOXHDD pDisk, unsigned nImage, unsigned *puOpenFlags); 1166 1171 1167 1172 /** … … 1176 1181 * @param uOpenFlags Image file open mode, see VD_OPEN_FLAGS_* constants. 1177 1182 */ 1178 VBOXDDU_DECL(int) VDSetOpenFlags(PVBOXHDD pDisk, unsigned nImage, 1179 unsigned uOpenFlags); 1183 VBOXDDU_DECL(int) VDSetOpenFlags(PVBOXHDD pDisk, unsigned nImage, unsigned uOpenFlags); 1180 1184 1181 1185 /** … … 1192 1196 * @param cbFilename Size of buffer pszFilename points to. 1193 1197 */ 1194 VBOXDDU_DECL(int) VDGetFilename(PVBOXHDD pDisk, unsigned nImage, 1195 char *pszFilename, unsigned cbFilename); 1198 VBOXDDU_DECL(int) VDGetFilename(PVBOXHDD pDisk, unsigned nImage, char *pszFilename, unsigned cbFilename); 1196 1199 1197 1200 /** … … 1206 1209 * @param cbComment The size of pszComment buffer. 0 is ok. 1207 1210 */ 1208 VBOXDDU_DECL(int) VDGetComment(PVBOXHDD pDisk, unsigned nImage, 1209 char *pszComment, unsigned cbComment); 1211 VBOXDDU_DECL(int) VDGetComment(PVBOXHDD pDisk, unsigned nImage, char *pszComment, unsigned cbComment); 1210 1212 1211 1213 /** … … 1218 1220 * @param pszComment New comment string (UTF-8). NULL is allowed to reset the comment. 1219 1221 */ 1220 VBOXDDU_DECL(int) VDSetComment(PVBOXHDD pDisk, unsigned nImage, 1221 const char *pszComment); 1222 VBOXDDU_DECL(int) VDSetComment(PVBOXHDD pDisk, unsigned nImage, const char *pszComment); 1222 1223 1223 1224 /** … … 1252 1253 * @param pUuid Where to store the image modification UUID. 1253 1254 */ 1254 VBOXDDU_DECL(int) VDGetModificationUuid(PVBOXHDD pDisk, unsigned nImage, 1255 PRTUUID pUuid); 1255 VBOXDDU_DECL(int) VDGetModificationUuid(PVBOXHDD pDisk, unsigned nImage, PRTUUID pUuid); 1256 1256 1257 1257 /** … … 1264 1264 * @param pUuid New modification UUID of the image. If NULL, a new UUID is created. 1265 1265 */ 1266 VBOXDDU_DECL(int) VDSetModificationUuid(PVBOXHDD pDisk, unsigned nImage, 1267 PCRTUUID pUuid); 1266 VBOXDDU_DECL(int) VDSetModificationUuid(PVBOXHDD pDisk, unsigned nImage, PCRTUUID pUuid); 1268 1267 1269 1268 /** … … 1276 1275 * @param pUuid Where to store the parent image UUID. 1277 1276 */ 1278 VBOXDDU_DECL(int) VDGetParentUuid(PVBOXHDD pDisk, unsigned nImage, 1279 PRTUUID pUuid); 1277 VBOXDDU_DECL(int) VDGetParentUuid(PVBOXHDD pDisk, unsigned nImage, PRTUUID pUuid); 1280 1278 1281 1279 /** … … 1287 1285 * @param pUuid New parent UUID of the image. If NULL, a new UUID is created. 1288 1286 */ 1289 VBOXDDU_DECL(int) VDSetParentUuid(PVBOXHDD pDisk, unsigned nImage, 1290 PCRTUUID pUuid); 1287 VBOXDDU_DECL(int) VDSetParentUuid(PVBOXHDD pDisk, unsigned nImage, PCRTUUID pUuid); 1291 1288 1292 1289 … … 1318 1315 * @return VBox status code. 1319 1316 * @param pDisk Pointer to the HDD container. 1320 * @param uOffsetThe offset of the virtual disk to read from.1317 * @param off The offset of the virtual disk to read from. 1321 1318 * @param cbRead How many bytes to read. 1322 1319 * @param pcSgBuf Pointer to the S/G buffer to read into. 1323 1320 * @param pfnComplete Completion callback. 1324 * @param pvUser User data which is passed on completion 1325 */ 1326 VBOXDDU_DECL(int) VDAsyncRead(PVBOXHDD pDisk, uint64_t uOffset, size_t cbRead, 1321 * @param pvUser1 User data which is passed on completion. 1322 * @param pvUser2 User data which is passed on completion. 1323 */ 1324 VBOXDDU_DECL(int) VDAsyncRead(PVBOXHDD pDisk, uint64_t off, size_t cbRead, 1327 1325 PCRTSGBUF pcSgBuf, 1328 1326 PFNVDASYNCTRANSFERCOMPLETE pfnComplete, … … 1335 1333 * @return VBox status code. 1336 1334 * @param pDisk Pointer to the HDD container. 1337 * @param uOffsetThe offset of the virtual disk to write to.1338 * @param cbWr tie How many bytes to write.1335 * @param off The offset of the virtual disk to write to. 1336 * @param cbWrite How many bytes to write. 1339 1337 * @param pcSgBuf Pointer to the S/G buffer to write from. 1340 1338 * @param pfnComplete Completion callback. 1341 * @param pvUser User data which is passed on completion. 1342 */ 1343 VBOXDDU_DECL(int) VDAsyncWrite(PVBOXHDD pDisk, uint64_t uOffset, size_t cbWrite, 1339 * @param pvUser1 User data which is passed on completion. 1340 * @param pvUser2 User data which is passed on completion. 1341 */ 1342 VBOXDDU_DECL(int) VDAsyncWrite(PVBOXHDD pDisk, uint64_t off, size_t cbWrite, 1344 1343 PCRTSGBUF pcSgBuf, 1345 1344 PFNVDASYNCTRANSFERCOMPLETE pfnComplete, … … 1353 1352 * @param pDisk Pointer to the HDD container. 1354 1353 * @param pfnComplete Completion callback. 1355 * @param pvUser User data which is passed on completion. 1354 * @param pvUser1 User data which is passed on completion. 1355 * @param pvUser2 User data which is passed on completion. 1356 1356 */ 1357 1357 VBOXDDU_DECL(int) VDAsyncFlush(PVBOXHDD pDisk, … … 1372 1372 VBOXDDU_DECL(int) VDAsyncDiscardRanges(PVBOXHDD pDisk, PCRTRANGE paRanges, unsigned cRanges, 1373 1373 PFNVDASYNCTRANSFERCOMPLETE pfnComplete, 1374 void *pvUser1, void *pvUser );1374 void *pvUser1, void *pvUser2); 1375 1375 1376 1376 /** … … 1383 1383 * @param pVDIfsImage Pointer to the per-image VD interface list. 1384 1384 * @param pszFilename Name of the image file to repair. 1385 * @param psz FormatThe backend to use.1385 * @param pszBackend The backend to use. 1386 1386 * @param fFlags Combination of the VD_REPAIR_* flags. 1387 1387 */ 1388 1388 VBOXDDU_DECL(int) VDRepair(PVDINTERFACE pVDIfsDisk, PVDINTERFACE pVDIfsImage, 1389 const char *pszFilename, const char *pszBackend, 1390 uint32_t fFlags); 1389 const char *pszFilename, const char *pszBackend, uint32_t fFlags); 1391 1390 1392 1391 /** -
trunk/include/VBox/vddbg.h
r56291 r58106 203 203 * @returns VBox status code. 204 204 * @param hIoLogger The I/O logger to use. 205 * @param penm Event Where to store the next event on success.205 * @param penmReq Where to store the next request on success. 206 206 */ 207 207 VBOXDDU_DECL(int) VDDbgIoLogReqTypeGetNext(VDIOLOGGER hIoLogger, PVDDBGIOLOGREQ penmReq); -
trunk/include/VBox/vmm/cpum.h
r57172 r58106 1161 1161 * 1162 1162 * @returns true if in paged protected mode, otherwise false. 1163 * @param p VM The VM handle.1163 * @param pCtx Current CPU context 1164 1164 */ 1165 1165 DECLINLINE(bool) CPUMIsGuestInPagedProtectedModeEx(PCPUMCTX pCtx) … … 1185 1185 * 1186 1186 * @returns true if in 64 bits protected mode, otherwise false. 1187 * @param pVCpu The current virtual CPU.1188 1187 * @param pCtx Current CPU context 1189 1188 */ -
trunk/include/VBox/vmm/cpumctx-v1_6.h
r56291 r58106 32 32 RT_C_DECLS_BEGIN 33 33 34 /** @ addgroup grp_cpum_ctx_v1_6 The CPUM Context Structures from v1.634 /** @defgroup grp_cpum_ctx_v1_6 The CPUM Context Structures from v1.6 35 35 * @ingroup grp_cpum 36 36 * @{ -
trunk/include/VBox/vmm/cpumctx.h
r55469 r58106 37 37 RT_C_DECLS_BEGIN 38 38 39 /** @ addgroup grp_cpum_ctx The CPUM Context Structures39 /** @defgroup grp_cpum_ctx The CPUM Context Structures 40 40 * @ingroup grp_cpum 41 41 * @{ -
trunk/include/VBox/vmm/dbgf.h
r57006 r58106 43 43 44 44 #if defined(IN_RC) || defined(IN_RING0) 45 /** @ addgroup grp_dbgf_rz The RZ DBGF API45 /** @defgroup grp_dbgf_rz The RZ DBGF API 46 46 * @ingroup grp_dbgf 47 47 * @{ -
trunk/include/VBox/vmm/dbgfcorefmt.h
r57167 r58106 35 35 36 36 37 /** @ addgroup grp_dbgf_corefmt VM Core File Format37 /** @defgroup grp_dbgf_corefmt VM Core File Format 38 38 * @ingroup grp_dbgf 39 39 * -
trunk/include/VBox/vmm/dbgftrace.h
r56291 r58106 31 31 32 32 RT_C_DECLS_BEGIN 33 /** @ addgroup grp_dbgf_trace Tracing33 /** @defgroup grp_dbgf_trace Tracing 34 34 * @ingroup grp_dbgf 35 35 * -
trunk/include/VBox/vmm/gmm.h
r53615 r58106 247 247 /** The Page ID. 248 248 * 249 * @in tputGMMR0AllocateHandyPages expects the Page ID of the page to249 * @input GMMR0AllocateHandyPages expects the Page ID of the page to 250 250 * update here. NIL_GMM_PAGEID means no page should be updated. 251 251 * -
trunk/include/VBox/vmm/hm.h
r56381 r58106 42 42 * Checks whether HM (VT-x/AMD-V) is being used by this VM. 43 43 * 44 * @retval @ctrue if used.45 * @retval @cfalse if software virtualization (raw-mode) is used.44 * @retval true if used. 45 * @retval false if software virtualization (raw-mode) is used. 46 46 * 47 47 * @param a_pVM The cross context VM structure. … … 58 58 * Checks whether raw-mode context is required for any purpose. 59 59 * 60 * @retval @ctrue if required either by raw-mode itself or by HM for doing60 * @retval true if required either by raw-mode itself or by HM for doing 61 61 * switching the cpu to 64-bit mode. 62 * @retval @cfalse if not required.62 * @retval false if not required. 63 63 * 64 64 * @param a_pVM The cross context VM structure. -
trunk/include/VBox/vmm/patm.h
r55937 r58106 136 136 * 137 137 * @returns 0 - disabled, 1 - enabled 138 * @param pVMThe VM to operate on.138 * @param a_pVM The VM to operate on. 139 139 * @internal 140 140 */ -
trunk/include/VBox/vmm/pdmblkcache.h
r56291 r58106 66 66 * Completion callback for drivers. 67 67 * 68 * @param pDrvIns The driver instance.69 * @param pvUser User argument given during request initiation.70 * @param rc The status code of the completed request.68 * @param pDrvIns The driver instance. 69 * @param pvUser User argument given during request initiation. 70 * @param rc The status code of the completed request. 71 71 */ 72 72 typedef DECLCALLBACK(void) FNPDMBLKCACHEXFERCOMPLETEDRV(PPDMDRVINS pDrvIns, void *pvUser, int rc); … … 77 77 * I/O enqueue callback for drivers. 78 78 * 79 * @param pDrvIns The driver instance. 80 * @param pvUser User argument given during request initiation. 81 * @param rc The status code of the completed request. 82 */ 83 typedef DECLCALLBACK(int) FNPDMBLKCACHEXFERENQUEUEDRV(PPDMDRVINS pDrvIns, 84 PDMBLKCACHEXFERDIR enmXferDir, 85 uint64_t off, size_t cbXfer, 86 PCRTSGBUF pcSgBuf, PPDMBLKCACHEIOXFER hIoXfer); 79 * @param pDrvIns The driver instance. 80 * @param enmXferDir Transfer direction. 81 * @param off Transfer offset. 82 * @param cbXfer Transfer size. 83 * @param pSgBuf Scather / gather buffer for the transfer. 84 * @param hIoXfer I/O transfer handle to ping on completion. 85 */ 86 typedef DECLCALLBACK(int) FNPDMBLKCACHEXFERENQUEUEDRV(PPDMDRVINS pDrvIns, PDMBLKCACHEXFERDIR enmXferDir, 87 uint64_t off, size_t cbXfer, PCRTSGBUF pSgBuf, PPDMBLKCACHEIOXFER hIoXfer); 87 88 /** Pointer to a FNPDMBLKCACHEXFERENQUEUEDRV(). */ 88 89 typedef FNPDMBLKCACHEXFERENQUEUEDRV *PFNPDMBLKCACHEXFERENQUEUEDRV; … … 91 92 * Discard enqueue callback for drivers. 92 93 * 93 * @param pDrvIns The driver instance. 94 * @param paRanges Ranges to discard. 95 * @param cRanges Number of range entries. 96 * @param hIoXfer I/O handle to return on completion. 97 */ 98 typedef DECLCALLBACK(int) FNPDMBLKCACHEXFERENQUEUEDISCARDDRV(PPDMDRVINS pDrvIns, 99 PCRTRANGE paRanges, unsigned cRanges, 94 * @param pDrvIns The driver instance. 95 * @param paRanges Ranges to discard. 96 * @param cRanges Number of range entries. 97 * @param hIoXfer I/O handle to return on completion. 98 */ 99 typedef DECLCALLBACK(int) FNPDMBLKCACHEXFERENQUEUEDISCARDDRV(PPDMDRVINS pDrvIns, PCRTRANGE paRanges, unsigned cRanges, 100 100 PPDMBLKCACHEIOXFER hIoXfer); 101 101 /** Pointer to a FNPDMBLKCACHEXFERENQUEUEDISCARDDRV(). */ … … 105 105 * Completion callback for devices. 106 106 * 107 * @param pDrvIns The device instance.108 * @param pvUser User argument given during request initiation.109 * @param rc The status code of the completed request.107 * @param pDrvIns The device instance. 108 * @param pvUser User argument given during request initiation. 109 * @param rc The status code of the completed request. 110 110 */ 111 111 typedef DECLCALLBACK(void) FNPDMBLKCACHEXFERCOMPLETEDEV(PPDMDEVINS pDevIns, void *pvUser, int rc); … … 116 116 * I/O enqueue callback for devices. 117 117 * 118 * @param pDevIns The device instance. 119 * @param pvUser User argument given during request initiation. 120 * @param rc The status code of the completed request. 121 */ 122 typedef DECLCALLBACK(int) FNPDMBLKCACHEXFERENQUEUEDEV(PPDMDEVINS pDevIns, 123 PDMBLKCACHEXFERDIR enmXferDir, 124 uint64_t off, size_t cbXfer, 125 PCRTSGBUF pcSgBuf, PPDMBLKCACHEIOXFER hIoXfer); 118 * @param pDevIns The device instance. 119 * @param enmXferDir Transfer direction. 120 * @param off Transfer offset. 121 * @param cbXfer Transfer size. 122 * @param pSgBuf Scather / gather buffer for the transfer. 123 * @param hIoXfer I/O transfer handle to ping on completion. 124 */ 125 typedef DECLCALLBACK(int) FNPDMBLKCACHEXFERENQUEUEDEV(PPDMDEVINS pDevIns, PDMBLKCACHEXFERDIR enmXferDir, 126 uint64_t off, size_t cbXfer, PCRTSGBUF pSgBuf, PPDMBLKCACHEIOXFER hIoXfer); 126 127 /** Pointer to a FNPDMBLKCACHEXFERENQUEUEDEV(). */ 127 128 typedef FNPDMBLKCACHEXFERENQUEUEDEV *PFNPDMBLKCACHEXFERENQUEUEDEV; … … 130 131 * Discard enqueue callback for devices. 131 132 * 132 * @param pDrvIns The driver instance. 133 * @param paRanges Ranges to discard. 134 * @param cRanges Number of range entries. 135 * @param hIoXfer I/O handle to return on completion. 136 */ 137 typedef DECLCALLBACK(int) FNPDMBLKCACHEXFERENQUEUEDISCARDDEV(PPDMDEVINS pDevIns, 138 PCRTRANGE paRanges, unsigned cRanges, 133 * @param pDrvIns The driver instance. 134 * @param paRanges Ranges to discard. 135 * @param cRanges Number of range entries. 136 * @param hIoXfer I/O handle to return on completion. 137 */ 138 typedef DECLCALLBACK(int) FNPDMBLKCACHEXFERENQUEUEDISCARDDEV(PPDMDEVINS pDevIns, PCRTRANGE paRanges, unsigned cRanges, 139 139 PPDMBLKCACHEIOXFER hIoXfer); 140 140 /** Pointer to a FNPDMBLKCACHEXFERENQUEUEDISCARDDEV(). */ … … 144 144 * Completion callback for drivers. 145 145 * 146 * @param pDrvIns The driver instance.147 * @param pvUser User argument given during request initiation.148 * @param rc The status code of the completed request.146 * @param pDrvIns The driver instance. 147 * @param pvUser User argument given during request initiation. 148 * @param rc The status code of the completed request. 149 149 */ 150 150 typedef DECLCALLBACK(void) FNPDMBLKCACHEXFERCOMPLETEINT(void *pvUserInt, void *pvUser, int rc); … … 155 155 * I/O enqueue callback for drivers. 156 156 * 157 * @param pDrvIns The driver instance. 158 * @param pvUser User argument given during request initiation. 159 * @param rc The status code of the completed request. 160 */ 161 typedef DECLCALLBACK(int) FNPDMBLKCACHEXFERENQUEUEINT(void *pvUser, 162 PDMBLKCACHEXFERDIR enmXferDir, 163 uint64_t off, size_t cbXfer, 164 PCRTSGBUF pcSgBuf, PPDMBLKCACHEIOXFER hIoXfer); 157 * @param pDrvIns The driver instance. 158 * @param enmXferDir Transfer direction. 159 * @param off Transfer offset. 160 * @param cbXfer Transfer size. 161 * @param pSgBuf Scather / gather buffer for the transfer. 162 * @param hIoXfer I/O transfer handle to ping on completion. 163 */ 164 typedef DECLCALLBACK(int) FNPDMBLKCACHEXFERENQUEUEINT(void *pvUser, PDMBLKCACHEXFERDIR enmXferDir, 165 uint64_t off, size_t cbXfer, PCRTSGBUF pSgBuf, PPDMBLKCACHEIOXFER hIoXfer); 165 166 /** Pointer to a FNPDMBLKCACHEXFERENQUEUEINT(). */ 166 167 typedef FNPDMBLKCACHEXFERENQUEUEINT *PFNPDMBLKCACHEXFERENQUEUEINT; … … 169 170 * Discard enqueue callback for VMM internal users. 170 171 * 171 * @param pDrvIns The driver instance. 172 * @param paRanges Ranges to discard. 173 * @param cRanges Number of range entries. 174 * @param hIoXfer I/O handle to return on completion. 175 */ 176 typedef DECLCALLBACK(int) FNPDMBLKCACHEXFERENQUEUEDISCARDINT(void *pvUser, 177 PCRTRANGE paRanges, unsigned cRanges, 172 * @param pDrvIns The driver instance. 173 * @param paRanges Ranges to discard. 174 * @param cRanges Number of range entries. 175 * @param hIoXfer I/O handle to return on completion. 176 */ 177 typedef DECLCALLBACK(int) FNPDMBLKCACHEXFERENQUEUEDISCARDINT(void *pvUser, PCRTRANGE paRanges, unsigned cRanges, 178 178 PPDMBLKCACHEIOXFER hIoXfer); 179 179 /** Pointer to a FNPDMBLKCACHEXFERENQUEUEDISCARDINT(). */ … … 183 183 * Completion callback for USB. 184 184 * 185 * @param pDrvIns The driver instance.186 * @param pvUser User argument given during request initiation.187 * @param rc The status code of the completed request.185 * @param pDrvIns The driver instance. 186 * @param pvUser User argument given during request initiation. 187 * @param rc The status code of the completed request. 188 188 */ 189 189 typedef DECLCALLBACK(void) FNPDMBLKCACHEXFERCOMPLETEUSB(PPDMUSBINS pUsbIns, void *pvUser, int rc); … … 194 194 * I/O enqueue callback for drivers. 195 195 * 196 * @param pDrvIns The driver instance. 197 * @param pvUser User argument given during request initiation. 198 * @param rc The status code of the completed request. 199 */ 200 typedef DECLCALLBACK(int) FNPDMBLKCACHEXFERENQUEUEUSB(PPDMUSBINS pUsbIns, 201 PDMBLKCACHEXFERDIR enmXferDir, 202 uint64_t off, size_t cbXfer, 203 PCRTSGBUF pcSgBuf, PPDMBLKCACHEIOXFER hIoXfer); 196 * @param pDrvIns The driver instance. 197 * @param enmXferDir Transfer direction. 198 * @param off Transfer offset. 199 * @param cbXfer Transfer size. 200 * @param pSgBuf Scather / gather buffer for the transfer. 201 * @param hIoXfer I/O transfer handle to ping on completion. 202 */ 203 typedef DECLCALLBACK(int) FNPDMBLKCACHEXFERENQUEUEUSB(PPDMUSBINS pUsbIns, PDMBLKCACHEXFERDIR enmXferDir, 204 uint64_t off, size_t cbXfer, PCRTSGBUF pSgBuf, PPDMBLKCACHEIOXFER hIoXfer); 204 205 /** Pointer to a FNPDMBLKCACHEXFERENQUEUEUSB(). */ 205 206 typedef FNPDMBLKCACHEXFERENQUEUEUSB *PFNPDMBLKCACHEXFERENQUEUEUSB; … … 208 209 * Discard enqueue callback for USB devices. 209 210 * 210 * @param pUsbIns The USB device instance. 211 * @param paRanges Ranges to discard. 212 * @param cRanges Number of range entries. 213 * @param hIoXfer I/O handle to return on completion. 214 */ 215 typedef DECLCALLBACK(int) FNPDMBLKCACHEXFERENQUEUEDISCARDUSB(PPDMUSBINS pUsbIns, 216 PCRTRANGE paRanges, unsigned cRanges, 211 * @param pUsbIns The USB device instance. 212 * @param paRanges Ranges to discard. 213 * @param cRanges Number of range entries. 214 * @param hIoXfer I/O handle to return on completion. 215 */ 216 typedef DECLCALLBACK(int) FNPDMBLKCACHEXFERENQUEUEDISCARDUSB(PPDMUSBINS pUsbIns, PCRTRANGE paRanges, unsigned cRanges, 217 217 PPDMBLKCACHEIOXFER hIoXfer); 218 218 /** Pointer to a FNPDMBLKCACHEXFERENQUEUEDISCARDUSB(). */ … … 330 330 * 331 331 * @returns VBox status code. 332 * @param p Endpoint The file endpoint to read from.332 * @param pBlkCache The cache instance. 333 333 * @param off Where to start reading from. 334 * @param paSegments Scatter gather list to store the data in. 335 * @param cSegments Number of segments in the list. 334 * @param pSgBuf Scatter gather buffer store the data in. 336 335 * @param cbRead The overall number of bytes to read. 337 336 * @param pvUser Opaque user data returned in the completion callback 338 337 * upon completion of the read. 339 338 */ 340 VMMR3DECL(int) PDMR3BlkCacheRead(PPDMBLKCACHE pBlkCache, uint64_t off, 341 PCRTSGBUF pcSgBuf, size_t cbRead, void *pvUser); 339 VMMR3DECL(int) PDMR3BlkCacheRead(PPDMBLKCACHE pBlkCache, uint64_t off, PCRTSGBUF pSgBuf, size_t cbRead, void *pvUser); 342 340 343 341 /** … … 345 343 * 346 344 * @returns VBox status code. 347 * @param p Endpoint The file endpoint to write to.345 * @param pBlkCache The cache instance. 348 346 * @param off Where to start writing at. 349 * @param paSegments Scatter gather list of the data to write. 350 * @param cSegments Number of segments in the list. 347 * @param pSgBuf Scatter gather buffer gather the data from. 351 348 * @param cbWrite The overall number of bytes to write. 352 349 * @param pvUser Opaque user data returned in the completion callback 353 350 * upon completion of the task. 354 351 */ 355 VMMR3DECL(int) PDMR3BlkCacheWrite(PPDMBLKCACHE pBlkCache, uint64_t off, 356 PCRTSGBUF pcSgBuf, size_t cbWrite, void *pvUser); 352 VMMR3DECL(int) PDMR3BlkCacheWrite(PPDMBLKCACHE pBlkCache, uint64_t off, PCRTSGBUF pSgBuf, size_t cbWrite, void *pvUser); 357 353 358 354 /** … … 360 356 * 361 357 * @returns VBox status code. 362 * @param p Endpoint The file endpoint to flush.358 * @param pBlkCache The cache instance. 363 359 * @param pvUser Opaque user data returned in the completion callback 364 360 * upon completion of the task. … … 370 366 * 371 367 * @returns VBox status code. 372 * @param p Endpoint The file endpoint to flush.368 * @param pBlkCache The cache instance. 373 369 * @param paRanges Array of ranges to discard. 374 370 * @param cRanges Number of ranges in the array. … … 389 385 390 386 /** 391 * Suspends the block cache. The cache waits until all I/O transfers completed 392 * and stops to enqueue new requests after the call returned but will not accept 393 * reads, write or flushes either. 387 * Suspends the block cache. 388 * 389 * The cache waits until all I/O transfers completed and stops to enqueue new 390 * requests after the call returned but will not accept reads, write or flushes 391 * either. 394 392 * 395 393 * @returns VBox status code. … … 407 405 408 406 /** 409 * Clears the block cache and removes all entries. The cache waits until all 410 * I/O transfers completed. 407 * Clears the block cache and removes all entries. 408 * 409 * The cache waits until all I/O transfers completed. 411 410 * 412 411 * @returns VBox status code. -
trunk/include/VBox/vmm/pdmdev.h
r57393 r58106 2328 2328 2329 2329 /** 2330 * Register a Memory Mapped I/O (MMIO) region for GC.2330 * Register a Memory Mapped I/O (MMIO) region for RC. 2331 2331 * 2332 2332 * These callbacks are for the raw-mode context (RC). Register ring-3 context … … 2363 2363 * @param pszRead Name of the RC function which is gonna handle Read operations. 2364 2364 * @param pszFill Name of the RC function which is gonna handle Fill/memset operations. (optional) 2365 * @param pszDesc Obsolete. NULL is fine.2366 2365 * @remarks Caller enters the device critical section prior to invoking the 2367 2366 * registered callback methods. … … 2528 2527 * @returns VBox status. 2529 2528 * @param pDevIns The device instance. 2530 * @param pszName Data unit name.2531 * @param uInstance The instance identifier of the data unit.2532 * This must together with the name be unique.2533 2529 * @param uVersion Data layout version number. 2534 2530 * @param cbGuess The approximate amount of data in the unit. … … 2571 2567 * callback. 2572 2568 */ 2573 DECLR3CALLBACKMEMBER(int, pfnTMTimerCreate,(PPDMDEVINS pDevIns, TMCLOCK enmClock, PFNTMTIMERDEV pfnCallback, void *pvUser, uint32_t fFlags, const char *pszDesc, PPTMTIMERR3 ppTimer)); 2569 DECLR3CALLBACKMEMBER(int, pfnTMTimerCreate,(PPDMDEVINS pDevIns, TMCLOCK enmClock, PFNTMTIMERDEV pfnCallback, 2570 void *pvUser, uint32_t fFlags, const char *pszDesc, PPTMTIMERR3 ppTimer)); 2574 2571 2575 2572 /** … … 2623 2620 * @retval VERR_PGM_INVALID_GC_PHYSICAL_ADDRESS if it's not a valid physical address. 2624 2621 * 2625 * @param p VM The VM handle.2622 * @param pDevIns The device instance. 2626 2623 * @param GCPhys The guest physical address of the page that 2627 2624 * should be mapped. … … 2637 2634 * @thread Any. 2638 2635 */ 2639 DECLR3CALLBACKMEMBER(int, pfnPhysGCPhys2CCPtr,(PPDMDEVINS pDevIns, RTGCPHYS GCPhys, uint32_t fFlags, void **ppv, PPGMPAGEMAPLOCK pLock)); 2636 DECLR3CALLBACKMEMBER(int, pfnPhysGCPhys2CCPtr,(PPDMDEVINS pDevIns, RTGCPHYS GCPhys, uint32_t fFlags, void **ppv, 2637 PPGMPAGEMAPLOCK pLock)); 2640 2638 2641 2639 /** … … 2664 2662 * @thread Any. 2665 2663 */ 2666 DECLR3CALLBACKMEMBER(int, pfnPhysGCPhys2CCPtrReadOnly,(PPDMDEVINS pDevIns, RTGCPHYS GCPhys, uint32_t fFlags, void const **ppv, PPGMPAGEMAPLOCK pLock)); 2664 DECLR3CALLBACKMEMBER(int, pfnPhysGCPhys2CCPtrReadOnly,(PPDMDEVINS pDevIns, RTGCPHYS GCPhys, uint32_t fFlags, 2665 void const **ppv, PPGMPAGEMAPLOCK pLock)); 2667 2666 2668 2667 /** … … 2765 2764 * @param pDevIns The device instance. 2766 2765 * @param rc VBox status code. 2767 * @param RT_SRC_POS_DECLUse RT_SRC_POS.2766 * @param SRC_POS Use RT_SRC_POS. 2768 2767 * @param pszFormat Error message format string. 2769 2768 * @param ... Error message arguments. … … 2778 2777 * @param pDevIns The device instance. 2779 2778 * @param rc VBox status code. 2780 * @param RT_SRC_POS_DECLUse RT_SRC_POS.2779 * @param SRC_POS Use RT_SRC_POS. 2781 2780 * @param pszFormat Error message format string. 2782 2781 * @param va Error message arguments. … … 2971 2970 * to call default PCI config read function. Can be NULL. 2972 2971 * @param pfnWrite Pointer to the user defined PCI config write function. 2973 * @param pfnWriteOld Pointer to function pointer which will receive the old (default) 2974 * PCI config write function. This way, user can decide when (and if) 2975 * to call default PCI config write function. Can be NULL. 2972 * @param ppfnWriteOld Pointer to function pointer which will receive 2973 * the old (default) PCI config write function. 2974 * This way, user can decide when (and if) to call 2975 * default PCI config write function. Can be NULL. 2976 2976 * @remarks The callbacks will be invoked holding the PDM lock. The device lock 2977 2977 * is NOT take because that is very likely be a lock order violation. … … 3097 3097 * @param pDevIns The device instance. 3098 3098 * @param pCritSect Pointer to the critical section. 3099 * @param RT_SRC_POS_DECLUse RT_SRC_POS.3099 * @param SRC_POS Use RT_SRC_POS. 3100 3100 * @param pszNameFmt Format string for naming the critical section. 3101 3101 * For statistics and lock validation. … … 3259 3259 * @returns VBox status code. 3260 3260 * @param pDevIns The device instance. 3261 * @param p HpetRegPointer to a raw PCI registration structure.3261 * @param pPciRawReg Pointer to a raw PCI registration structure. 3262 3262 * @param ppPciRawHlpR3 Where to store the pointer to the raw PCI 3263 3263 * device helpers. … … 3655 3655 * 3656 3656 * @returns Support driver session handle. 3657 * @param pD rvIns The driverinstance.3657 * @param pDevIns The device instance. 3658 3658 */ 3659 3659 DECLR3CALLBACKMEMBER(PSUPDRVSESSION, pfnGetSupDrvSession,(PPDMDEVINS pDevIns)); … … 3775 3775 * @param pDrvIns Driver instance. 3776 3776 * @param rc VBox status code. 3777 * @param RT_SRC_POS_DECLUse RT_SRC_POS.3777 * @param SRC_POS Use RT_SRC_POS. 3778 3778 * @param pszFormat Error message format string. 3779 3779 * @param ... Error message arguments. … … 3788 3788 * @param pDrvIns Driver instance. 3789 3789 * @param rc VBox status code. 3790 * @param RT_SRC_POS_DECLUse RT_SRC_POS.3790 * @param SRC_POS Use RT_SRC_POS. 3791 3791 * @param pszFormat Error message format string. 3792 3792 * @param va Error message arguments. … … 4004 4004 * @param pDrvIns Driver instance. 4005 4005 * @param rc VBox status code. 4006 * @param RT_SRC_POS_DECLUse RT_SRC_POS.4006 * @param SRC_POS Use RT_SRC_POS. 4007 4007 * @param pszFormat Error message format string. 4008 4008 * @param ... Error message arguments. … … 4017 4017 * @param pDrvIns Driver instance. 4018 4018 * @param rc VBox status code. 4019 * @param RT_SRC_POS_DECLUse RT_SRC_POS.4019 * @param SRC_POS Use RT_SRC_POS. 4020 4020 * @param pszFormat Error message format string. 4021 4021 * @param va Error message arguments. … … 4407 4407 4408 4408 /** 4409 * Register a Memory Mapped I/O (MMIO) region for GC.4409 * Register a Memory Mapped I/O (MMIO) region for RC. 4410 4410 * 4411 4411 * These callbacks are for the raw-mode context (RC). Register ring-3 context … … 4428 4428 4429 4429 /** 4430 * @copydoc PDMDEVHLPR3::pfnMMIORegisterR0 4430 * Register a Memory Mapped I/O (MMIO) region for R0. 4431 * 4432 * These callbacks are for the ring-0 host context (R0). Register ring-3 4433 * constext (R3) handlers before R0 handlers! There must be a R3 handler for 4434 * every R0 handler! 4435 * 4436 * @returns VBox status. 4437 * @param pDevIns The device instance to register the MMIO with. 4438 * @param GCPhysStart First physical address in the range. 4439 * @param cbRange The size of the range (in bytes). 4440 * @param pvUser User argument. (if pointer, then it must be in locked memory!) 4441 * @param pszWrite Name of the RC function which is gonna handle Write operations. 4442 * @param pszRead Name of the RC function which is gonna handle Read operations. 4443 * @remarks Caller enters the device critical section prior to invoking the 4444 * registered callback methods. 4431 4445 */ 4432 4446 DECLINLINE(int) PDMDevHlpMMIORegisterR0(PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, uint32_t cbRange, RTR0PTR pvUser, … … 4451 4465 */ 4452 4466 DECLINLINE(int) PDMDevHlpMMIORegisterRCEx(PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, uint32_t cbRange, RTRCPTR pvUser, 4453 const char *pszWrite, const char *pszRead, const char *pszFill)4467 const char *pszWrite, const char *pszRead, const char *pszFill) 4454 4468 { 4455 4469 return pDevIns->pHlpR3->pfnMMIORegisterRC(pDevIns, GCPhysStart, cbRange, pvUser, pszWrite, pszRead, pszFill); … … 4460 4474 */ 4461 4475 DECLINLINE(int) PDMDevHlpMMIORegisterR0Ex(PPDMDEVINS pDevIns, RTGCPHYS GCPhysStart, uint32_t cbRange, RTR0PTR pvUser, 4462 const char *pszWrite, const char *pszRead, const char *pszFill)4476 const char *pszWrite, const char *pszRead, const char *pszFill) 4463 4477 { 4464 4478 return pDevIns->pHlpR3->pfnMMIORegisterR0(pDevIns, GCPhysStart, cbRange, pvUser, pszWrite, pszRead, pszFill); … … 4590 4604 { 4591 4605 return pDevIns->pHlpR3->pfnSSMRegister(pDevIns, uVersion, cbGuess, pszBefore, 4592 4593 4594 4606 pfnLivePrep, pfnLiveExec, pfnLiveVote, 4607 pfnSavePrep, pfnSaveExec, pfnSaveDone, 4608 pfnLoadPrep, pfnLoadExec, pfnLoadDone); 4595 4609 } 4596 4610 … … 4643 4657 * @copydoc PDMDEVHLPR3::pfnPhysGCPhys2CCPtrReadOnly 4644 4658 */ 4645 DECLINLINE(int) PDMDevHlpPhysGCPhys2CCPtrReadOnly(PPDMDEVINS pDevIns, RTGCPHYS GCPhys, uint32_t fFlags, void const **ppv, PPGMPAGEMAPLOCK pLock) 4659 DECLINLINE(int) PDMDevHlpPhysGCPhys2CCPtrReadOnly(PPDMDEVINS pDevIns, RTGCPHYS GCPhys, uint32_t fFlags, void const **ppv, 4660 PPGMPAGEMAPLOCK pLock) 4646 4661 { 4647 4662 return pDevIns->CTX_SUFF(pHlp)->pfnPhysGCPhys2CCPtrReadOnly(pDevIns, GCPhys, fFlags, ppv, pLock); … … 4756 4771 * VINF_SUCCESS in non-strict builds. 4757 4772 * @param pDevIns The device instance. 4758 * @param RT_SRC_POS_DECLUse RT_SRC_POS.4773 * @param SRC_POS Use RT_SRC_POS. 4759 4774 * @param pszFormat Message. (optional) 4760 4775 * @param ... Message parameters. … … 4838 4853 * @copydoc PDMDEVHLPR3::pfnPCIIORegionRegister 4839 4854 */ 4840 DECLINLINE(int) PDMDevHlpPCIIORegionRegister(PPDMDEVINS pDevIns, int iRegion, uint32_t cbRegion, PCIADDRESSSPACE enmType, PFNPCIIOREGIONMAP pfnCallback) 4855 DECLINLINE(int) PDMDevHlpPCIIORegionRegister(PPDMDEVINS pDevIns, int iRegion, uint32_t cbRegion, 4856 PCIADDRESSSPACE enmType, PFNPCIIOREGIONMAP pfnCallback) 4841 4857 { 4842 4858 return pDevIns->pHlpR3->pfnPCIIORegionRegister(pDevIns, iRegion, cbRegion, enmType, pfnCallback); … … 4938 4954 * @param pDevIns The device instance. 4939 4955 * @param pCritSect Pointer to the critical section. 4940 * @param RT_SRC_POS_DECLUse RT_SRC_POS.4956 * @param SRC_POS Use RT_SRC_POS. 4941 4957 * @param pszNameFmt Format string for naming the critical section. 4942 4958 * For statistics and lock validation. … … 5052 5068 5053 5069 /** 5054 * @copydoc PDMDEVHLPR3::pfn 5070 * @copydoc PDMDEVHLPR3::pfnIOAPICRegister 5055 5071 */ 5056 5072 DECLINLINE(int) PDMDevHlpIOAPICRegister(PPDMDEVINS pDevIns, PPDMIOAPICREG pIoApicReg, PCPDMIOAPICHLPR3 *ppIoApicHlpR3) … … 5148 5164 5149 5165 /** 5150 * @copydoc PDMDEVHLP ::pfnCallR05166 * @copydoc PDMDEVHLPR3::pfnCallR0 5151 5167 */ 5152 5168 DECLINLINE(int) PDMDevHlpCallR0(PPDMDEVINS pDevIns, uint32_t uOperation, uint64_t u64Arg) … … 5156 5172 5157 5173 /** 5158 * @copydoc PDMDEVHLP ::pfnVMGetSuspendReason5174 * @copydoc PDMDEVHLPR3::pfnVMGetSuspendReason 5159 5175 */ 5160 5176 DECLINLINE(VMSUSPENDREASON) PDMDevHlpVMGetSuspendReason(PPDMDEVINS pDevIns) … … 5164 5180 5165 5181 /** 5166 * @copydoc PDMDEVHLP ::pfnVMGetResumeReason5182 * @copydoc PDMDEVHLPR3::pfnVMGetResumeReason 5167 5183 */ 5168 5184 DECLINLINE(VMRESUMEREASON) PDMDevHlpVMGetResumeReason(PPDMDEVINS pDevIns) -
trunk/include/VBox/vmm/pdmdrv.h
r57006 r58106 577 577 * @param pDrvIns Driver instance. 578 578 * @param rc VBox status code. 579 * @param RT_SRC_POS_DECLUse RT_SRC_POS.579 * @param SRC_POS Use RT_SRC_POS. 580 580 * @param pszFormat Error message format string. 581 581 * @param ... Error message arguments. … … 590 590 * @param pDrvIns Driver instance. 591 591 * @param rc VBox status code. 592 * @param RT_SRC_POS_DECLUse RT_SRC_POS.592 * @param SRC_POS Use RT_SRC_POS. 593 593 * @param pszFormat Error message format string. 594 594 * @param va Error message arguments. … … 677 677 * @param pDrvIns Driver instance. 678 678 * @param rc VBox status code. 679 * @param RT_SRC_POS_DECLUse RT_SRC_POS.679 * @param SRC_POS Use RT_SRC_POS. 680 680 * @param pszFormat Error message format string. 681 681 * @param ... Error message arguments. … … 690 690 * @param pDrvIns Driver instance. 691 691 * @param rc VBox status code. 692 * @param RT_SRC_POS_DECLUse RT_SRC_POS.692 * @param SRC_POS Use RT_SRC_POS. 693 693 * @param pszFormat Error message format string. 694 694 * @param va Error message arguments. … … 847 847 * @param pDrvIns Driver instance. 848 848 * @param rc VBox status code. 849 * @param RT_SRC_POS_DECLUse RT_SRC_POS.849 * @param SRC_POS Use RT_SRC_POS. 850 850 * @param pszFormat Error message format string. 851 851 * @param ... Error message arguments. … … 860 860 * @param pDrvIns Driver instance. 861 861 * @param rc VBox status code. 862 * @param RT_SRC_POS_DECLUse RT_SRC_POS.862 * @param SRC_POS Use RT_SRC_POS. 863 863 * @param pszFormat Error message format string. 864 864 * @param va Error message arguments. … … 1256 1256 * @param pDrvIns The driver instance. 1257 1257 * @param pCritSect Pointer to the critical section. 1258 * @param RT_SRC_POS_DECLUse RT_SRC_POS.1258 * @param SRC_POS Use RT_SRC_POS. 1259 1259 * @param pszName The base name of the critical section. Will be 1260 1260 * mangeled with the instance number. For 1261 1261 * statistics and lock validation. 1262 * @param va Arguments for the format string.1263 1262 * @thread EMT 1264 1263 */ 1265 DECLR3CALLBACKMEMBER(int, pfnCritSectInit,(PPDMDRVINS pDrvIns, PPDMCRITSECT pCritSect, 1266 RT_SRC_POS_DECL, const char *pszName)); 1264 DECLR3CALLBACKMEMBER(int, pfnCritSectInit,(PPDMDRVINS pDrvIns, PPDMCRITSECT pCritSect, RT_SRC_POS_DECL, const char *pszName)); 1267 1265 1268 1266 /** … … 1301 1299 * 1302 1300 * @returns VBox status code. 1303 * @param pDrvIns The driver instance. 1304 * @param ppBlkCache Where to store the handle to the block cache. 1305 * @param pfnXferComplete The I/O transfer complete callback. 1306 * @param pfnXferEnqueue The I/O request enqueue callback. 1307 * @param pcszId Unique ID used to identify the user. 1301 * @param pDrvIns The driver instance. 1302 * @param ppBlkCache Where to store the handle to the block cache. 1303 * @param pfnXferComplete The I/O transfer complete callback. 1304 * @param pfnXferEnqueue The I/O request enqueue callback. 1305 * @param pfnXferEnqueueDiscard The discard request enqueue callback. 1306 * @param pcszId Unique ID used to identify the user. 1308 1307 */ 1309 1308 DECLR3CALLBACKMEMBER(int, pfnBlkCacheRetain, (PPDMDRVINS pDrvIns, PPPDMBLKCACHE ppBlkCache, … … 1354 1353 1355 1354 /** 1356 * @copydoc PDMDRVHLP ::pfnVMSetError1355 * @copydoc PDMDRVHLPR3::pfnVMSetError 1357 1356 */ 1358 1357 DECLINLINE(int) RT_IPRT_FORMAT_ATTR(6, 7) PDMDrvHlpVMSetError(PPDMDRVINS pDrvIns, const int rc, RT_SRC_POS_DECL, … … 1373 1372 1374 1373 /** 1375 * @copydoc PDMDRVHLP ::pfnVMSetErrorV1374 * @copydoc PDMDRVHLPR3::pfnVMSetErrorV 1376 1375 */ 1377 1376 DECLINLINE(int) RT_IPRT_FORMAT_ATTR(6, 0) PDMDrvHlpVMSetErrorV(PPDMDRVINS pDrvIns, const int rc, RT_SRC_POS_DECL, … … 1383 1382 1384 1383 /** 1385 * @copydoc PDMDRVHLP ::pfnVMSetRuntimeError1384 * @copydoc PDMDRVHLPR3::pfnVMSetRuntimeError 1386 1385 */ 1387 1386 DECLINLINE(int) RT_IPRT_FORMAT_ATTR(4, 5) PDMDrvHlpVMSetRuntimeError(PPDMDRVINS pDrvIns, uint32_t fFlags, const char *pszErrorId, … … 1403 1402 1404 1403 /** 1405 * @copydoc PDMDRVHLP ::pfnVMSetRuntimeErrorV1404 * @copydoc PDMDRVHLPR3::pfnVMSetRuntimeErrorV 1406 1405 */ 1407 1406 DECLINLINE(int) RT_IPRT_FORMAT_ATTR(4, 0) PDMDrvHlpVMSetRuntimeErrorV(PPDMDRVINS pDrvIns, uint32_t fFlags, … … 1432 1431 1433 1432 /** 1434 * @copydoc PDMDRVHLP ::pfnFTSetCheckpoint1433 * @copydoc PDMDRVHLPR3::pfnFTSetCheckpoint 1435 1434 */ 1436 1435 DECLINLINE(int) PDMDrvHlpFTSetCheckpoint(PPDMDRVINS pDrvIns, FTMCHECKPOINTTYPE enmType) … … 1443 1442 1444 1443 /** 1445 * @copydoc PDMDRVHLP ::pfnAttach1444 * @copydoc PDMDRVHLPR3::pfnAttach 1446 1445 */ 1447 1446 DECLINLINE(int) PDMDrvHlpAttach(PPDMDRVINS pDrvIns, uint32_t fFlags, PPDMIBASE *ppBaseInterface) … … 1462 1461 1463 1462 /** 1464 * @copydoc PDMDRVHLP ::pfnDetach1463 * @copydoc PDMDRVHLPR3::pfnDetach 1465 1464 */ 1466 1465 DECLINLINE(int) PDMDrvHlpDetach(PPDMDRVINS pDrvIns, uint32_t fFlags) … … 1470 1469 1471 1470 /** 1472 * @copydoc PDMDRVHLP ::pfnDetachSelf1471 * @copydoc PDMDRVHLPR3::pfnDetachSelf 1473 1472 */ 1474 1473 DECLINLINE(int) PDMDrvHlpDetachSelf(PPDMDRVINS pDrvIns, uint32_t fFlags) … … 1478 1477 1479 1478 /** 1480 * @copydoc PDMDRVHLP ::pfnMountPrepare1479 * @copydoc PDMDRVHLPR3::pfnMountPrepare 1481 1480 */ 1482 1481 DECLINLINE(int) PDMDrvHlpMountPrepare(PPDMDRVINS pDrvIns, const char *pszFilename, const char *pszCoreDriver) … … 1486 1485 1487 1486 /** 1488 * @copydoc PDMDRVHLP ::pfnVMState1487 * @copydoc PDMDRVHLPR3::pfnVMState 1489 1488 */ 1490 1489 DECLINLINE(VMSTATE) PDMDrvHlpVMState(PPDMDRVINS pDrvIns) … … 1494 1493 1495 1494 /** 1496 * @copydoc PDMDRVHLP ::pfnVMTeleportedAndNotFullyResumedYet1495 * @copydoc PDMDRVHLPR3::pfnVMTeleportedAndNotFullyResumedYet 1497 1496 */ 1498 1497 DECLINLINE(bool) PDMDrvHlpVMTeleportedAndNotFullyResumedYet(PPDMDRVINS pDrvIns) … … 1502 1501 1503 1502 /** 1504 * @copydoc PDMDRVHLP ::pfnGetSupDrvSession1503 * @copydoc PDMDRVHLPR3::pfnGetSupDrvSession 1505 1504 */ 1506 1505 DECLINLINE(PSUPDRVSESSION) PDMDrvHlpGetSupDrvSession(PPDMDRVINS pDrvIns) … … 1510 1509 1511 1510 /** 1512 * @copydoc PDMDRVHLP ::pfnQueueCreate1511 * @copydoc PDMDRVHLPR3::pfnQueueCreate 1513 1512 */ 1514 1513 DECLINLINE(int) PDMDrvHlpQueueCreate(PPDMDRVINS pDrvIns, uint32_t cbItem, uint32_t cItems, uint32_t cMilliesInterval, … … 1519 1518 1520 1519 /** 1521 * @copydoc PDMDRVHLP ::pfnTMGetVirtualFreq1520 * @copydoc PDMDRVHLPR3::pfnTMGetVirtualFreq 1522 1521 */ 1523 1522 DECLINLINE(uint64_t) PDMDrvHlpTMGetVirtualFreq(PPDMDRVINS pDrvIns) … … 1527 1526 1528 1527 /** 1529 * @copydoc PDMDRVHLP ::pfnTMGetVirtualTime1528 * @copydoc PDMDRVHLPR3::pfnTMGetVirtualTime 1530 1529 */ 1531 1530 DECLINLINE(uint64_t) PDMDrvHlpTMGetVirtualTime(PPDMDRVINS pDrvIns) … … 1535 1534 1536 1535 /** 1537 * @copydoc PDMDRVHLP ::pfnTMTimerCreate1536 * @copydoc PDMDRVHLPR3::pfnTMTimerCreate 1538 1537 */ 1539 1538 DECLINLINE(int) PDMDrvHlpTMTimerCreate(PPDMDRVINS pDrvIns, TMCLOCK enmClock, PFNTMTIMERDRV pfnCallback, void *pvUser, uint32_t fFlags, const char *pszDesc, PPTMTIMERR3 ppTimer) … … 1563 1562 1564 1563 /** 1565 * @copydoc PDMDRVHLP ::pfnSSMRegister1564 * @copydoc PDMDRVHLPR3::pfnSSMRegister 1566 1565 */ 1567 1566 DECLINLINE(int) PDMDrvHlpSSMRegisterEx(PPDMDRVINS pDrvIns, uint32_t uVersion, size_t cbGuess, … … 1592 1591 1593 1592 /** 1594 * @copydoc PDMDRVHLP ::pfnDBGFInfoRegister1593 * @copydoc PDMDRVHLPR3::pfnDBGFInfoRegister 1595 1594 */ 1596 1595 DECLINLINE(int) PDMDrvHlpDBGFInfoRegister(PPDMDRVINS pDrvIns, const char *pszName, const char *pszDesc, PFNDBGFHANDLERDRV pfnHandler) … … 1600 1599 1601 1600 /** 1602 * @copydoc PDMDRVHLP ::pfnDBGFInfoDeregister1601 * @copydoc PDMDRVHLPR3::pfnDBGFInfoRegister 1603 1602 */ 1604 1603 DECLINLINE(int) PDMDrvHlpDBGFInfoDeregister(PPDMDRVINS pDrvIns, const char *pszName, const char *pszDesc, PFNDBGFHANDLERDRV pfnHandler) … … 1608 1607 1609 1608 /** 1610 * @copydoc PDMDRVHLP ::pfnSTAMRegister1609 * @copydoc PDMDRVHLPR3::pfnSTAMRegister 1611 1610 */ 1612 1611 DECLINLINE(void) PDMDrvHlpSTAMRegister(PPDMDRVINS pDrvIns, void *pvSample, STAMTYPE enmType, const char *pszName, STAMUNIT enmUnit, const char *pszDesc) … … 1616 1615 1617 1616 /** 1618 * @copydoc PDMDRVHLP ::pfnSTAMRegisterF1617 * @copydoc PDMDRVHLPR3::pfnSTAMRegisterF 1619 1618 */ 1620 1619 DECLINLINE(void) RT_IPRT_FORMAT_ATTR(7, 8) PDMDrvHlpSTAMRegisterF(PPDMDRVINS pDrvIns, void *pvSample, STAMTYPE enmType, … … 1723 1722 1724 1723 /** 1725 * @copydoc PDMDRVHLP ::pfnSTAMDeregister1724 * @copydoc PDMDRVHLPR3::pfnSTAMDeregister 1726 1725 */ 1727 1726 DECLINLINE(int) PDMDrvHlpSTAMDeregister(PPDMDRVINS pDrvIns, void *pvSample) … … 1731 1730 1732 1731 /** 1733 * @copydoc PDMDRVHLP ::pfnSUPCallVMMR0Ex1732 * @copydoc PDMDRVHLPR3::pfnSUPCallVMMR0Ex 1734 1733 */ 1735 1734 DECLINLINE(int) PDMDrvHlpSUPCallVMMR0Ex(PPDMDRVINS pDrvIns, unsigned uOperation, void *pvArg, unsigned cbArg) … … 1739 1738 1740 1739 /** 1741 * @copydoc PDMDRVHLP ::pfnUSBRegisterHub1740 * @copydoc PDMDRVHLPR3::pfnUSBRegisterHub 1742 1741 */ 1743 1742 DECLINLINE(int) PDMDrvHlpUSBRegisterHub(PPDMDRVINS pDrvIns, uint32_t fVersions, uint32_t cPorts, PCPDMUSBHUBREG pUsbHubReg, PPCPDMUSBHUBHLP ppUsbHubHlp) … … 1747 1746 1748 1747 /** 1749 * @copydoc PDMDRVHLP ::pfnSetAsyncNotification1748 * @copydoc PDMDRVHLPR3::pfnSetAsyncNotification 1750 1749 */ 1751 1750 DECLINLINE(int) PDMDrvHlpSetAsyncNotification(PPDMDRVINS pDrvIns, PFNPDMDRVASYNCNOTIFY pfnAsyncNotify) … … 1755 1754 1756 1755 /** 1757 * @copydoc PDMDRVHLP ::pfnAsyncNotificationCompleted1756 * @copydoc PDMDRVHLPR3::pfnAsyncNotificationCompleted 1758 1757 */ 1759 1758 DECLINLINE(void) PDMDrvHlpAsyncNotificationCompleted(PPDMDRVINS pDrvIns) … … 1763 1762 1764 1763 /** 1765 * @copydoc PDMDRVHLP ::pfnThreadCreate1764 * @copydoc PDMDRVHLPR3::pfnThreadCreate 1766 1765 */ 1767 1766 DECLINLINE(int) PDMDrvHlpThreadCreate(PPDMDRVINS pDrvIns, PPPDMTHREAD ppThread, void *pvUser, PFNPDMTHREADDRV pfnThread, … … 1773 1772 # ifdef VBOX_WITH_PDM_ASYNC_COMPLETION 1774 1773 /** 1775 * @copydoc PDMDRVHLP ::pfnAsyncCompletionTemplateCreate1774 * @copydoc PDMDRVHLPR3::pfnAsyncCompletionTemplateCreate 1776 1775 */ 1777 1776 DECLINLINE(int) PDMDrvHlpAsyncCompletionTemplateCreate(PPDMDRVINS pDrvIns, PPPDMASYNCCOMPLETIONTEMPLATE ppTemplate, … … 1784 1783 # ifdef VBOX_WITH_NETSHAPER 1785 1784 /** 1786 * @copydoc PDMDRVHLP ::pfnNetShaperAttach1785 * @copydoc PDMDRVHLPR3::pfnNetShaperAttach 1787 1786 */ 1788 1787 DECLINLINE(int) PDMDrvHlpNetShaperAttach(PPDMDRVINS pDrvIns, const char *pcszBwGroup, PPDMNSFILTER pFilter) … … 1792 1791 1793 1792 /** 1794 * @copydoc PDMDRVHLP ::pfnNetShaperDetach1793 * @copydoc PDMDRVHLPR3::pfnNetShaperDetach 1795 1794 */ 1796 1795 DECLINLINE(int) PDMDrvHlpNetShaperDetach(PPDMDRVINS pDrvIns, PPDMNSFILTER pFilter) … … 1801 1800 1802 1801 /** 1803 * @copydoc PDMDRVHLP ::pfnCritSectInit1802 * @copydoc PDMDRVHLPR3::pfnCritSectInit 1804 1803 */ 1805 1804 DECLINLINE(int) PDMDrvHlpCritSectInit(PPDMDRVINS pDrvIns, PPDMCRITSECT pCritSect, RT_SRC_POS_DECL, const char *pszName) … … 1809 1808 1810 1809 /** 1811 * @copydoc PDMDRVHLP ::pfnCallR01810 * @copydoc PDMDRVHLPR3::pfnCallR0 1812 1811 */ 1813 1812 DECLINLINE(int) PDMDrvHlpCallR0(PPDMDRVINS pDrvIns, uint32_t uOperation, uint64_t u64Arg) … … 1817 1816 1818 1817 /** 1819 * @copydoc PDMDRVHLP ::pfnBlkCacheRetain1818 * @copydoc PDMDRVHLPR3::pfnBlkCacheRetain 1820 1819 */ 1821 1820 DECLINLINE(int) PDMDrvHlpBlkCacheRetain(PPDMDRVINS pDrvIns, PPPDMBLKCACHE ppBlkCache, … … 1829 1828 1830 1829 /** 1831 * @copydoc PDMDRVHLP ::pfnVMGetSuspendReason1830 * @copydoc PDMDRVHLPR3::pfnVMGetSuspendReason 1832 1831 */ 1833 1832 DECLINLINE(VMSUSPENDREASON) PDMDrvHlpVMGetSuspendReason(PPDMDRVINS pDrvIns) … … 1837 1836 1838 1837 /** 1839 * @copydoc PDMDRVHLP ::pfnVMGetResumeReason1838 * @copydoc PDMDRVHLPR3::pfnVMGetResumeReason 1840 1839 */ 1841 1840 DECLINLINE(VMRESUMEREASON) PDMDrvHlpVMGetResumeReason(PPDMDRVINS pDrvIns) -
trunk/include/VBox/vmm/pdmnetifs.h
r56291 r58106 337 337 /** @copydoc PDMINETWORKUP::pfnSendBuf */ 338 338 DECLR0CALLBACKMEMBER(int, pfnSendBuf,(PPDMINETWORKUPR0 pInterface, PPDMSCATTERGATHER pSgBuf, bool fOnWorkerThread)); 339 /** @copydoc PDMINETWORKUP::pfnEnd Buf*/339 /** @copydoc PDMINETWORKUP::pfnEndXmit */ 340 340 DECLR0CALLBACKMEMBER(void, pfnEndXmit,(PPDMINETWORKUPR0 pInterface)); 341 341 /** @copydoc PDMINETWORKUP::pfnSetPromiscuousMode */ … … 355 355 /** @copydoc PDMINETWORKUP::pfnSendBuf */ 356 356 DECLRCCALLBACKMEMBER(int, pfnSendBuf,(PPDMINETWORKUPRC pInterface, PPDMSCATTERGATHER pSgBuf, bool fOnWorkerThread)); 357 /** @copydoc PDMINETWORKUP::pfnEnd Buf*/357 /** @copydoc PDMINETWORKUP::pfnEndXmit */ 358 358 DECLRCCALLBACKMEMBER(void, pfnEndXmit,(PPDMINETWORKUPRC pInterface)); 359 359 /** @copydoc PDMINETWORKUP::pfnSetPromiscuousMode */ -
trunk/include/VBox/vmm/pdmnetinline.h
r56291 r58106 198 198 * @returns Offset of the IPv6 header. 199 199 * @param pbSegHdrs The headers / frame start. 200 * @param offI pHdrThe offset of the IPv4 header.200 * @param offIPv4Hdr The offset of the IPv4 header. 201 201 */ 202 202 DECLINLINE(uint8_t) pgmNetGsoCalcIpv6Offset(uint8_t *pbSegHdrs, uint8_t offIPv4Hdr) … … 360 360 * @param cbSegPayload The amount of segmented payload. 361 361 * @param offFragment The offset of this fragment for reassembly. 362 * @param iSeg The segment index.363 362 * @param cbHdrs The size of all the headers. 364 363 * @param fLastFragment True if this is the last fragment of datagram. -
trunk/include/VBox/vmm/pdmusb.h
r57006 r58106 622 622 * @param pUsbIns The USB device instance. 623 623 * @param rc VBox status code. 624 * @param RT_SRC_POS_DECLUse RT_SRC_POS.624 * @param SRC_POS Use RT_SRC_POS. 625 625 * @param pszFormat Error message format string. 626 626 * @param va Error message arguments. … … 658 658 * 659 659 * @returns VBox status code. 660 * @param p DevIns Thedevice instance.660 * @param pUsbIns The USB device instance. 661 661 * @param ppThread Where to store the thread 'handle'. 662 662 * @param pvUser The user argument to the thread function. … … 678 678 * 679 679 * @returns VBox status code. 680 * @param pU SBIns The USB device instance.680 * @param pUsbIns The USB device instance. 681 681 * @param pfnAsyncNotify The callback. 682 682 * @thread EMT(0) … … 690 690 * This can be called at any time, spurious calls will simply be ignored. 691 691 * 692 * @param pU SBIns The USB device instance.692 * @param pUsbIns The USB device instance. 693 693 * @thread Any 694 694 */ … … 892 892 * @returns VBox status code which must be passed up to the VMM. 893 893 * @param pUsbIns Device instance. 894 * @param RT_SRC_POS_DECLUse RT_SRC_POS.894 * @param SRC_POS Use RT_SRC_POS. 895 895 * @param pszFormat Message. (optional) 896 896 * @param ... Message parameters. … … 927 927 */ 928 928 DECLINLINE(int) PDMUsbHlpThreadCreate(PPDMUSBINS pUsbIns, PPPDMTHREAD ppThread, void *pvUser, PFNPDMTHREADUSB pfnThread, 929 929 PFNPDMTHREADWAKEUPUSB pfnWakeup, size_t cbStack, RTTHREADTYPE enmType, const char *pszName) 930 930 { 931 931 return pUsbIns->pHlpR3->pfnThreadCreate(pUsbIns, ppThread, pvUser, pfnThread, pfnWakeup, cbStack, enmType, pszName); … … 955 955 * @param pUsbIns The USB device instance. 956 956 * @param rc VBox status code. 957 * @param RT_SRC_POS_DECLUse RT_SRC_POS.957 * @param SRC_POS Use RT_SRC_POS. 958 958 * @param pszFormat Error message format string. 959 959 * @param ... Error message arguments. -
trunk/include/VBox/vmm/stam.h
r57570 r58106 343 343 344 344 345 /** @def STAM_REL_U16_ INC345 /** @def STAM_REL_U16_ADD 346 346 * Increments a uint16_t sample by a value. 347 347 * … … 355 355 # define STAM_REL_U16_ADD(pCounter, Addend) do { } while (0) 356 356 #endif 357 /** @def STAM_U16_ INC357 /** @def STAM_U16_ADD 358 358 * Increments a uint16_t sample by a value. 359 359 * … … 637 637 * Adds a period. 638 638 * 639 * @param pProfile Adv Pointer to the STAMPROFILEADVstructure to operate on.639 * @param pProfile Pointer to the STAMPROFILE structure to operate on. 640 640 * @param cTicksInPeriod The number of tick (or whatever) of the preiod 641 641 * being added. This is only referenced once. … … 658 658 * Adds a period. 659 659 * 660 * @param pProfile Adv Pointer to the STAMPROFILEADVstructure to operate on.660 * @param pProfile Pointer to the STAMPROFILE structure to operate on. 661 661 * @param cTicksInPeriod The number of tick (or whatever) of the preiod 662 662 * being added. This is only referenced once. … … 903 903 * sample. 904 904 * 905 * @param pProfileAdv Pointer to the STAMPROFILEADV structure to operate on. 906 * @param Prefix Identifier prefix used to internal variables. 905 * @param pProfileAdv1 Pointer to the STAMPROFILEADV structure to stop. 906 * @param pProfileAdv2 Pointer to the STAMPROFILEADV structure to start. 907 * @param Prefix Identifier prefix used to internal variables. 907 908 */ 908 909 #ifdef VBOX_WITH_STATISTICS -
trunk/include/VBox/vmm/vm.h
r57989 r58106 581 581 #define VM_FF_IS_PENDING(pVM, fFlags) RT_BOOL((pVM)->fGlobalForcedActions & (fFlags)) 582 582 583 /** @def VM_FF_TEST ANDCLEAR583 /** @def VM_FF_TEST_AND_CLEAR 584 584 * Checks if one (!) force action in the specified set is pending and clears it atomically 585 585 * … … 591 591 #define VM_FF_TEST_AND_CLEAR(pVM, iBit) (ASMAtomicBitTestAndClear(&(pVM)->fGlobalForcedActions, iBit##_BIT)) 592 592 593 /** @def VMCPU_FF_TEST ANDCLEAR593 /** @def VMCPU_FF_TEST_AND_CLEAR 594 594 * Checks if one (!) force action in the specified set is pending and clears it atomically 595 595 * … … 926 926 /** @} */ 927 927 928 /** Alignment padding. .*/928 /** Alignment padding. */ 929 929 uint8_t uPadding1[2]; 930 930 … … 940 940 941 941 #if HC_ARCH_BITS == 32 942 /** Alignment padding. .*/942 /** Alignment padding. */ 943 943 uint32_t uPadding2; 944 944 #endif -
trunk/include/VBox/vmm/vmcpuset.h
r53794 r58106 37 37 */ 38 38 39 /** Tests if a valid CPU ID is present in the set. .*/39 /** Tests if a valid CPU ID is present in the set. */ 40 40 #define VMCPUSET_IS_PRESENT(pSet, idCpu) ASMBitTest( &(pSet)->au32Bitmap[0], (idCpu)) 41 41 /** Adds a CPU to the set. */ -
trunk/include/VBox/vmm/vmm.h
r56286 r58106 247 247 * 248 248 * @returns @c true / @c false 249 * @param pVCpuThe caller's cross context virtual CPU structure.249 * @param a_pVCpu The caller's cross context virtual CPU structure. 250 250 * @thread EMT 251 251 * @sa VMMR0IsLongJumpArmed -
trunk/include/VBox/vscsi.h
r56439 r58106 208 208 * 209 209 * @returns VBox status code. 210 * @param h ScsiDeviceThe SCSI device handle to destroy.210 * @param hVScsiDevice The SCSI device handle to destroy. 211 211 */ 212 212 VBOXDDU_DECL(int) VSCSIDeviceDestroy(VSCSIDEVICE hVScsiDevice); … … 216 216 * 217 217 * @returns VBox status code. 218 * @param h ScsiDeviceThe SCSI device handle to add the LUN to.219 * @param h ScsiLunThe LUN handle to add.218 * @param hVScsiDevice The SCSI device handle to add the LUN to. 219 * @param hVScsiLun The LUN handle to add. 220 220 * @param iLun The LUN number. 221 221 */ … … 257 257 * 258 258 * @returns VBox status code. 259 * @param phVScsiDeviceThe SCSI device handle.259 * @param hVScsiDevice The SCSI device handle. 260 260 * @param phVScsiReq Where to SCSI request handle. 261 261 * @param iLun The LUN the request is for. -
trunk/include/VBox/vusb.h
r56454 r58106 680 680 * 681 681 * @param pInterface Pointer to this struct. 682 * @param pDevice Pointer to a USB device. 682 683 * @param cMillies Number of milliseconds to poll for completion. 683 684 */ … … 720 721 * @returns VBox status code. 721 722 * @param pInterface Pointer to this struct. 722 * @param pDevice Pointer to the device (interface) attach.723 * @param pDevice Pointer to the device (interface) to attach. 723 724 */ 724 725 DECLR3CALLBACKMEMBER(int, pfnAttachDevice,(PVUSBIROOTHUBCONNECTOR pInterface, PVUSBIDEVICE pDevice)); … … 969 970 970 971 /** 971 * @copydoc VUSBIDEVICE::pfnIsSave StateSupported972 * @copydoc VUSBIDEVICE::pfnIsSavedStateSupported 972 973 */ 973 974 DECLINLINE(bool) VUSBIDevIsSavedStateSupported(PVUSBIDEVICE pInterface) -
trunk/include/iprt/asn1.h
r57926 r58106 2011 2011 * 2012 2012 * @returns true / false 2013 * @param pCursor The cursor ewe're decoding from.2013 * @param pCursor The cursor we're decoding from. 2014 2014 * @remarks May produce error info output on mismatch. 2015 2015 */ … … 2024 2024 * 2025 2025 * @returns true / false 2026 * @param pCursor The cursor ewe're decoding from.2026 * @param pCursor The cursor we're decoding from. 2027 2027 * @remarks May produce error info output on mismatch. 2028 2028 */ -
trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp
r58005 r58106 1025 1025 1026 1026 vrc = VDInterfaceAdd(&pFileIo->Core, name.c_str(), 1027 1028 1027 VDINTERFACETYPE_IO, 0, sizeof(VDINTERFACEIO), 1028 &storage.pVDImageIfaces); 1029 1029 if (RT_FAILURE(vrc)) 1030 1030 throw setError(VBOX_E_IPRT_ERROR, "Creation of the VD interface failed (%Rrc)", vrc); -
trunk/src/VBox/Runtime/testcase/tstIprtList.cpp
r57358 r58106 339 339 340 340 /* 341 * setCapacit iy341 * setCapacity 342 342 */ 343 343 testList.setCapacity(cTestItems * 5); -
trunk/src/VBox/VMM/VMMR3/PDMBlkCache.cpp
r57389 r58106 1924 1924 1925 1925 VMMR3DECL(int) PDMR3BlkCacheRead(PPDMBLKCACHE pBlkCache, uint64_t off, 1926 PCRTSGBUF p cSgBuf, size_t cbRead, void *pvUser)1926 PCRTSGBUF pSgBuf, size_t cbRead, void *pvUser) 1927 1927 { 1928 1928 int rc = VINF_SUCCESS; … … 1931 1931 PPDMBLKCACHEREQ pReq; 1932 1932 1933 LogFlowFunc((": pBlkCache=%#p{%s} off=%llu p cSgBuf=%#p cbRead=%u pvUser=%#p\n",1934 pBlkCache, pBlkCache->pszId, off, p cSgBuf, cbRead, pvUser));1933 LogFlowFunc((": pBlkCache=%#p{%s} off=%llu pSgBuf=%#p cbRead=%u pvUser=%#p\n", 1934 pBlkCache, pBlkCache->pszId, off, pSgBuf, cbRead, pvUser)); 1935 1935 1936 1936 AssertPtrReturn(pBlkCache, VERR_INVALID_POINTER); … … 1938 1938 1939 1939 RTSGBUF SgBuf; 1940 RTSgBufClone(&SgBuf, p cSgBuf);1940 RTSgBufClone(&SgBuf, pSgBuf); 1941 1941 1942 1942 /* Allocate new request structure. */ … … 2144 2144 } 2145 2145 2146 VMMR3DECL(int) PDMR3BlkCacheWrite(PPDMBLKCACHE pBlkCache, uint64_t off, 2147 PCRTSGBUF pcSgBuf, size_t cbWrite, void *pvUser) 2146 VMMR3DECL(int) PDMR3BlkCacheWrite(PPDMBLKCACHE pBlkCache, uint64_t off, PCRTSGBUF pSgBuf, size_t cbWrite, void *pvUser) 2148 2147 { 2149 2148 int rc = VINF_SUCCESS; … … 2152 2151 PPDMBLKCACHEREQ pReq; 2153 2152 2154 LogFlowFunc((": pBlkCache=%#p{%s} off=%llu p cSgBuf=%#p cbWrite=%u pvUser=%#p\n",2155 pBlkCache, pBlkCache->pszId, off, p cSgBuf, cbWrite, pvUser));2153 LogFlowFunc((": pBlkCache=%#p{%s} off=%llu pSgBuf=%#p cbWrite=%u pvUser=%#p\n", 2154 pBlkCache, pBlkCache->pszId, off, pSgBuf, cbWrite, pvUser)); 2156 2155 2157 2156 AssertPtrReturn(pBlkCache, VERR_INVALID_POINTER); … … 2159 2158 2160 2159 RTSGBUF SgBuf; 2161 RTSgBufClone(&SgBuf, p cSgBuf);2160 RTSgBufClone(&SgBuf, pSgBuf); 2162 2161 2163 2162 /* Allocate new request structure. */ … … 2180 2179 2181 2180 uint64_t offDiff = off - pEntry->Core.Key; 2182 2183 AssertMsg(off >= pEntry->Core.Key, 2184 ("Overflow in calculation off=%llu OffsetAligned=%llu\n", 2185 off, pEntry->Core.Key)); 2181 AssertMsg(off >= pEntry->Core.Key, ("Overflow in calculation off=%llu OffsetAligned=%llu\n", off, pEntry->Core.Key)); 2186 2182 2187 2183 cbToWrite = RT_MIN(pEntry->cbData - offDiff, cbWrite); -
trunk/src/VBox/VMM/include/HMInternal.h
r57884 r58106 49 49 /** @def HM_PROFILE_EXIT_DISPATCH 50 50 * Enables profiling of the VM exit handler dispatching. */ 51 #if 0 51 #if 0 || defined(DOXYGEN_RUNNING) 52 52 # define HM_PROFILE_EXIT_DISPATCH 53 53 #endif … … 127 127 128 128 129 /** Resets/initializes the VM-exit/ #VMEXIT history array. */129 /** Resets/initializes the VM-exit/\#VMEXIT history array. */ 130 130 #define HMCPU_EXIT_HISTORY_RESET(pVCpu) (memset(&(pVCpu)->hm.s.auExitHistory, 0xff, sizeof((pVCpu)->hm.s.auExitHistory))) 131 131 132 /** Updates the VM-exit/ #VMEXIT history array. */132 /** Updates the VM-exit/\#VMEXIT history array. */ 133 133 #define HMCPU_EXIT_HISTORY_ADD(pVCpu, a_ExitReason) \ 134 134 do { \ … … 623 623 /** Whether we're using the hyper DR7 or guest DR7. */ 624 624 bool fUsingHyperDR7; 625 /** Whether to preload the guest-FPU state to avoid #NM VM-exit overhead. */625 /** Whether to preload the guest-FPU state to avoid \#NM VM-exit overhead. */ 626 626 bool fPreloadGuestFpu; 627 627 /** Set if XCR0 needs to be loaded and saved when entering and exiting guest … … 629 629 bool fLoadSaveGuestXcr0; 630 630 631 /** Whether #UD needs to be intercepted (required by certain GIM providers). */631 /** Whether \#UD needs to be intercepted (required by certain GIM providers). */ 632 632 bool fGIMTrapXcptUD; 633 633 /** Whether paravirt. hypercalls are enabled. */ … … 871 871 RTCPUID idEnteredCpu; 872 872 873 /** VT-x/AMD-V VM-exit/ #VMXEXIT history, circular array. */873 /** VT-x/AMD-V VM-exit/\#VMXEXIT history, circular array. */ 874 874 uint16_t auExitHistory[31]; 875 875 /** The index of the next free slot in the history array. */ … … 903 903 STAMCOUNTER StatExitShadowNM; 904 904 STAMCOUNTER StatExitGuestNM; 905 STAMCOUNTER StatExitShadowPF; /* Misleading, currently used for MMIO#PFs as well. */905 STAMCOUNTER StatExitShadowPF; /**< Misleading, currently used for MMIO \#PFs as well. */ 906 906 STAMCOUNTER StatExitShadowPFEM; 907 907 STAMCOUNTER StatExitGuestPF; -
trunk/src/VBox/VMM/include/PDMInternal.h
r56402 r58106 294 294 PVMRC pVMRC; 295 295 /** Set if this critical section is the automatically created default 296 * section of a device. .*/296 * section of a device. */ 297 297 bool fAutomaticDefaultCritsect; 298 298 /** Set if the critical section is used by a timer or similar. … … 689 689 /** @copydoc PDMPCIBUSREG::pfnRegisterR3 */ 690 690 DECLR3CALLBACKMEMBER(int, pfnRegisterR3,(PPDMDEVINS pDevIns, PPCIDEVICE pPciDev, const char *pszName, int iDev)); 691 /** @copydoc PDMPCIBUSREG::pfn PCIRegisterMsiR3 */691 /** @copydoc PDMPCIBUSREG::pfnRegisterMsiR3 */ 692 692 DECLR3CALLBACKMEMBER(int, pfnRegisterMsiR3,(PPDMDEVINS pDevIns, PPCIDEVICE pPciDev, PPDMMSIREG pMsiReg)); 693 693 /** @copydoc PDMPCIBUSREG::pfnIORegionRegisterR3 */ … … 977 977 } SetIRQ; 978 978 979 /** Expanding the structure. .*/979 /** Expanding the structure. */ 980 980 uint64_t au64[2]; 981 981 } u; -
trunk/src/VBox/VMM/include/PGMInternal.h
r57446 r58106 152 152 /** @def VBOX_WITH_NEW_LAZY_PAGE_ALLOC 153 153 * Enables the experimental lazy page allocation code. */ 154 /*#define VBOX_WITH_NEW_LAZY_PAGE_ALLOC */ 154 #ifdef DOXYGEN_RUNNING 155 # define VBOX_WITH_NEW_LAZY_PAGE_ALLOC 156 #endif 155 157 156 158 /** @def VBOX_WITH_REAL_WRITE_MONITORED_PAGES 157 159 * Enables real write monitoring of pages, i.e. mapping them read-only and 158 * only making them writable when getting a write access #PF. */160 * only making them writable when getting a write access \#PF. */ 159 161 #define VBOX_WITH_REAL_WRITE_MONITORED_PAGES 160 162 … … 876 878 * Initializes the page structure. 877 879 * @param a_pPage Pointer to the physical guest page tracking structure. 880 * @param a_HCPhys The host physical address of the page. 881 * @param a_idPage The (GMM) page ID of the page. 882 * @param a_uType The page type (PGMPAGETYPE). 883 * @param a_uState The page state (PGM_PAGE_STATE_XXX). 878 884 */ 879 885 #define PGM_PAGE_INIT(a_pPage, a_HCPhys, a_idPage, a_uType, a_uState) \ … … 1553 1559 * 1554 1560 * @returns RAM range TLB index. 1555 * @param GCPhysThe guest physical address.1561 * @param a_GCPhys The guest physical address. 1556 1562 */ 1557 1563 #define PGM_RAMRANGE_TLB_IDX(a_GCPhys) ( ((a_GCPhys) >> 20) & (PGM_RAMRANGE_TLB_ENTRIES - 1) ) … … 2074 2080 /** @typedef PPPGMPAGEMAP 2075 2081 * Pointer to a page mapper unit pointer for current context. */ 2076 #if def IN_RC2082 #if defined(IN_RC) && !defined(DOXYGEN_RUNNING) 2077 2083 // typedef PPGMPAGEGCMAPTLB PPGMPAGEMAPTLB; 2078 2084 // typedef PPGMPAGEGCMAPTLBE PPGMPAGEMAPTLBE; … … 3717 3723 STAMCOUNTER StatRZSyncPagePDOutOfSync; /**< RC/R0: The number of time we've encountered an out-of-sync PD in SyncPage. */ 3718 3724 STAMCOUNTER StatRZAccessedPage; /**< RC/R0: The number of pages marked not present for accessed bit emulation. */ 3719 STAMPROFILE StatRZDirtyBitTracking; /**< RC/R0: Profiling the dirty bit tracking in CheckPageFault(). .*/3725 STAMPROFILE StatRZDirtyBitTracking; /**< RC/R0: Profiling the dirty bit tracking in CheckPageFault(). */ 3720 3726 STAMCOUNTER StatRZDirtyPage; /**< RC/R0: The number of pages marked read-only for dirty bit tracking. */ 3721 3727 STAMCOUNTER StatRZDirtyPageBig; /**< RC/R0: The number of pages marked read-only for dirty bit tracking. */ … … 3801 3807 * Converts a PGMCPU pointer into a VM pointer. 3802 3808 * @returns Pointer to the VM structure the PGM is part of. 3803 * @param pPGM Pointer to PGMCPU instance data.3809 * @param pPGM Pointer to PGMCPU instance data. 3804 3810 */ 3805 3811 #define PGMCPU2VM(pPGM) ( (PVM)((char*)(pPGM) - (pPGM)->offVM) ) … … 3808 3814 * Converts a PGMCPU pointer into a PGM pointer. 3809 3815 * @returns Pointer to the VM structure the PGM is part of. 3810 * @param pPGM 3816 * @param pPGMCpu Pointer to PGMCPU instance data. 3811 3817 */ 3812 3818 #define PGMCPU2PGM(pPGMCpu) ( (PPGM)((char *)(pPGMCpu) - (pPGMCpu)->offPGM) ) -
trunk/src/VBox/VMM/include/TRPMInternal.h
r56287 r58106 76 76 * Converts a TRPM pointer into a VM pointer. 77 77 * @returns Pointer to the VM structure the TRPM is part of. 78 * @param pTRPM Pointer to TRPM instance data.78 * @param pTRPM Pointer to TRPM instance data. 79 79 */ 80 80 #define TRPM_2_VM(pTRPM) ( (PVM)((uint8_t *)(pTRPM) - (pTRPM)->offVM) ) … … 84 84 * Converts a TRPM pointer into a TRPMCPU pointer. 85 85 * @returns Pointer to the VM structure the TRPMCPU is part of. 86 * @param pT RPMPointer to TRPMCPU instance data.86 * @param pTrpmCpu Pointer to TRPMCPU instance data. 87 87 * @remarks Raw-mode only, not SMP safe. 88 88 */ … … 109 109 * This configuration option is provided for speeding up guest like Solaris 110 110 * that put the IDT on the same page as a whole lot of other data that is 111 * frequently updated. The updates will cause #PFs and have to be interpreted111 * frequently updated. The updates will cause \#PFs and have to be interpreted 112 112 * by PGMInterpretInstruction which is slow compared to raw execution. 113 113 * … … 115 115 * there is no problem with dropping the IDT monitoring. 116 116 * 117 * @cfgm /TRPM/SafeToDropGuestIDTMonitoring boolean defaults to false.117 * @cfgm{/TRPM/SafeToDropGuestIDTMonitoring, boolean, defaults to false.} 118 118 */ 119 119 bool fSafeToDropGuestIDTMonitoring; … … 162 162 163 163 STAMPROFILE StatTrap0dDisasm; 164 STAMCOUNTER StatTrap0dRdTsc; /**< Number of RDTSC #GPs. */164 STAMCOUNTER StatTrap0dRdTsc; /**< Number of RDTSC \#GPs. */ 165 165 166 166 #ifdef VBOX_WITH_STATISTICS … … 185 185 * Converts a TRPMCPU pointer into a VM pointer. 186 186 * @returns Pointer to the VM structure the TRPMCPU is part of. 187 * @param pT RPMPointer to TRPMCPU instance data.187 * @param pTrpmCpu Pointer to TRPMCPU instance data. 188 188 */ 189 189 #define TRPMCPU_2_VM(pTrpmCpu) ( (PVM)((uint8_t *)(pTrpmCpu) - (pTrpmCpu)->offVM) ) … … 192 192 * Converts a TRPMCPU pointer into a VMCPU pointer. 193 193 * @returns Pointer to the VMCPU structure the TRPMCPU is part of. 194 * @param pT RPMPointer to TRPMCPU instance data.194 * @param pTrpmCpu Pointer to TRPMCPU instance data. 195 195 */ 196 196 #define TRPMCPU_2_VMCPU(pTrpmCpu) ( (PVMCPU)((uint8_t *)(pTrpmCpu) - (pTrpmCpu)->offVMCpu) ) … … 240 240 RTGCUINT uPrevVector; 241 241 242 /** Instruction length for software interrupts and software exceptions (#BP,243 * 242 /** Instruction length for software interrupts and software exceptions 243 * (\#BP, \#OF) */ 244 244 uint8_t cbInstr; 245 245 -
trunk/src/VBox/VMM/include/VMMInternal.h
r57446 r58106 50 50 * Ring-0 logging isn't 100% safe yet (thread id reuse / process exit cleanup), 51 51 * so you have to sign up here by adding your defined(DEBUG_<userid>) to the 52 * #if, or by adding VBOX_WITH_R0_LOGGING to your LocalConfig.kmk.52 * \#if, or by adding VBOX_WITH_R0_LOGGING to your LocalConfig.kmk. 53 53 */ 54 54 #if defined(DEBUG_sandervl) || defined(DEBUG_frank) || defined(DEBUG_ramshankar) || defined(DOXYGEN_RUNNING) … … 514 514 /** Switching testing and profiling stub. */ 515 515 VMMRC_DO_TESTCASE_NOP, 516 /** Testcase for checking interrupt masking. .*/516 /** Testcase for checking interrupt masking. */ 517 517 VMMRC_DO_TESTCASE_INTERRUPT_MASKING, 518 518 /** Switching testing and profiling stub. */ … … 585 585 * @param pfn The function to be called when not resuming.. 586 586 * @param pVM The argument of that function. 587 * @param pVCpu The VCPU of the calling EMT. 587 588 */ 588 589 DECLASM(int) vmmR0CallRing3SetJmp(PVMMR0JMPBUF pJmpBuf, PFNVMMR0SETJMP pfn, PVM pVM, PVMCPU pVCpu); -
trunk/src/recompiler/VBoxRecompiler.c
r57358 r58106 3525 3525 * @param addr The virtual address. 3526 3526 * @param pTLBEntry The TLB entry. 3527 * @param IoTlbEntry The I/O TLB entry address. 3527 3528 */ 3528 3529 target_ulong remR3PhysGetPhysicalAddressCode(CPUX86State *env, 3529 3530 target_ulong addr, 3530 3531 CPUTLBEntry *pTLBEntry, 3531 target_phys_addr_t ioTLBEntry)3532 target_phys_addr_t IoTlbEntry) 3532 3533 { 3533 3534 PVM pVM = env->pVM; 3534 3535 3535 if (( ioTLBEntry & ~TARGET_PAGE_MASK) == pVM->rem.s.iHandlerMemType)3536 if ((IoTlbEntry & ~TARGET_PAGE_MASK) == pVM->rem.s.iHandlerMemType) 3536 3537 { 3537 3538 /* If code memory is being monitored, appropriate IOTLB entry will have 3538 3539 handler IO type, and addend will provide real physical address, no 3539 3540 matter if we store VA in TLB or not, as handlers are always passed PA */ 3540 target_ulong ret = ( ioTLBEntry & TARGET_PAGE_MASK) + addr;3541 target_ulong ret = (IoTlbEntry & TARGET_PAGE_MASK) + addr; 3541 3542 return ret; 3542 3543 } 3543 3544 LogRel(("\nTrying to execute code with memory type addr_code=%RGv addend=%RGp at %RGv! (iHandlerMemType=%#x iMMIOMemType=%#x IOTLB=%RGp)\n" 3544 3545 "*** handlers\n", 3545 (RTGCPTR)pTLBEntry->addr_code, (RTGCPHYS)pTLBEntry->addend, (RTGCPTR)addr, pVM->rem.s.iHandlerMemType, pVM->rem.s.iMMIOMemType, (RTGCPHYS) ioTLBEntry));3546 (RTGCPTR)pTLBEntry->addr_code, (RTGCPHYS)pTLBEntry->addend, (RTGCPTR)addr, pVM->rem.s.iHandlerMemType, pVM->rem.s.iMMIOMemType, (RTGCPHYS)IoTlbEntry)); 3546 3547 DBGFR3Info(pVM->pUVM, "handlers", NULL, DBGFR3InfoLogRelHlp()); 3547 3548 LogRel(("*** mmio\n")); … … 4094 4095 * @param cb Size of the code block. 4095 4096 */ 4096 void disas(FILE *phFile , void *pvCode, unsigned long cb)4097 void disas(FILE *phFileIgnored, void *pvCode, unsigned long cb) 4097 4098 { 4098 4099 if (LogIs2Enabled()) … … 4134 4135 * @param fFlags Flags, probably something which tells if this is 16, 32 or 64 bit code. 4135 4136 */ 4136 void target_disas(FILE *phFile , target_ulong uCode, target_ulong cb, int fFlags)4137 void target_disas(FILE *phFileIgnored, target_ulong uCode, target_ulong cb, int fFlags) 4137 4138 { 4138 4139 if (LogIs2Enabled()) … … 4583 4584 * @retval -1 failure, raise \#GP(0). 4584 4585 * @param env The cpu state. 4585 * @param idMsr The MSR to read.4586 * @param puValue Where to return the value.4586 * @param idMsr The MSR to write to. 4587 * @param uValue The value to write. 4587 4588 */ 4588 4589 int cpu_wrmsr(CPUX86State *env, uint32_t idMsr, uint64_t uValue) … … 4717 4718 * @param idx The CPUID leaf (eax). 4718 4719 * @param idxSub The CPUID sub-leaf (ecx) where applicable. 4719 * @param p vEAXWhere to store eax.4720 * @param p vEBXWhere to store ebx.4721 * @param p vECXWhere to store ecx.4722 * @param p vEDXWhere to store edx.4720 * @param pEAX Where to store eax. 4721 * @param pEBX Where to store ebx. 4722 * @param pECX Where to store ecx. 4723 * @param pEDX Where to store edx. 4723 4724 */ 4724 4725 void cpu_x86_cpuid(CPUX86State *env, uint32_t idx, uint32_t idxSub,
Note:
See TracChangeset
for help on using the changeset viewer.