- Timestamp:
- Oct 16, 2024 9:06:04 AM (7 weeks ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/acpi.h
r106343 r106344 70 70 * Generates and writes the table header checksum for the given ACPI table. 71 71 * 72 * @returns nothing.73 72 * @param pTbl Pointer to the ACPI table to set the checksum for. 74 73 * @param cbTbl Size of the table in bytes, including the ACPI table header. … … 98 97 * Destroys the given ACPI table, freeing all resources. 99 98 * 100 * @par mhAcpiTbl The ACPI table handle to destroy.99 * @param hAcpiTbl The ACPI table handle to destroy. 101 100 */ 102 101 RTDECL(void) RTAcpiTblDestroy(RTACPITBL hAcpiTbl); … … 382 381 * @returns IPRT status code. 383 382 * @param hAcpiRes The ACPI resource handle. 384 * @param ppv BufWhere to store the pointer to the buffer holding the encoded resource template on success.385 * @param pcb BufWhere to store the size of the encoded data in bytes on success.383 * @param ppvRes Where to store the pointer to the buffer holding the encoded resource template on success. 384 * @param pcbRes Where to store the size of the encoded data in bytes on success. 386 385 * 387 386 * @note The ACPI resource must be successfully sealed with RTAcpiResourceSeal() for this function to succeed. 388 387 * Also the buffer pointer will only be valid until a call to any other RTAcpiResource* method. 389 388 */ 390 RTDECL(int) RTAcpiResourceQueryBuffer(RTACPIRES hAcpiRes, const void **ppvRes, size_t *pcb Buf);389 RTDECL(int) RTAcpiResourceQueryBuffer(RTACPIRES hAcpiRes, const void **ppvRes, size_t *pcbRes); 391 390 392 391 -
trunk/src/VBox/Runtime/common/misc/acpi.cpp
r106342 r106344 970 970 971 971 972 RTDECL(int) RTAcpiResourceQueryBuffer(RTACPIRES hAcpiRes, const void **ppvRes, size_t *pcb Buf)972 RTDECL(int) RTAcpiResourceQueryBuffer(RTACPIRES hAcpiRes, const void **ppvRes, size_t *pcbRes) 973 973 { 974 974 PRTACPIRESINT pThis = hAcpiRes; … … 978 978 979 979 *ppvRes = pThis->pbResBuf; 980 *pcb Buf= pThis->offResBuf;980 *pcbRes = pThis->offResBuf; 981 981 return VINF_SUCCESS; 982 982 }
Note:
See TracChangeset
for help on using the changeset viewer.