Changeset 107036 in vbox for trunk/include/iprt/acpi.h
- Timestamp:
- Nov 19, 2024 10:05:28 AM (3 months ago)
- svn:sync-xref-src-repo-rev:
- 165985
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/acpi.h
r106344 r107036 333 333 */ 334 334 RTDECL(int) RTAcpiTblStmtSimpleAppend(RTACPITBL hAcpiTbl, RTACPISTMT enmStmt); 335 336 337 /** 338 * Starts a new If statement operation. 339 * 340 * @returns IPRT status code. 341 * @param hAcpiTbl The ACPI table handle. 342 */ 343 RTDECL(int) RTAcpiTblIfStart(RTACPITBL hAcpiTbl); 344 345 346 /** 347 * Finalizes the current If statement operation. 348 * 349 * @returns IPRT status code. 350 * @param hAcpiTbl The ACPI table handle. 351 */ 352 RTDECL(int) RTAcpiTblIfFinalize(RTACPITBL hAcpiTbl); 353 354 355 /** 356 * Starts a new Else operation (only valid if currently inside an If oepration). 357 * 358 * @returns IPRT status code. 359 * @param hAcpiTbl The ACPI table handle. 360 */ 361 RTDECL(int) RTAcpiTblElseStart(RTACPITBL hAcpiTbl); 362 363 364 /** 365 * Finalizes the current Else statement operation. 366 * 367 * @returns IPRT status code. 368 * @param hAcpiTbl The ACPI table handle. 369 */ 370 RTDECL(int) RTAcpiTblElseFinalize(RTACPITBL hAcpiTbl); 371 372 373 /** 374 * List of binary operations. 375 */ 376 typedef enum RTACPIBINARYOP 377 { 378 /** Invalid binary operation. */ 379 kAcpiBinaryOp_Invalid = 0, 380 /** LAnd(Operand, Operand). */ 381 kAcpiBinaryOp_LAnd, 382 /** LEqual(Operand, Operand). */ 383 kAcpiBinaryOp_LEqual, 384 /** LGreater(Operand, Operand). */ 385 kAcpiBinaryOp_LGreater, 386 /** LGreaterEqual(Operand, Operand). */ 387 kAcpiBinaryOp_LGreaterEqual, 388 /** LLess(Operand, Operand). */ 389 kAcpiBinaryOp_LLess, 390 /** LLessEqual(Operand, Operand). */ 391 kAcpiBinaryOp_LLessEqual, 392 /** LNotEqual(Operand, Operand). */ 393 kAcpiBinaryOp_LNotEqual 394 } RTACPIBINARYOP; 395 396 397 /** 398 * Appends the given binary operand. 399 * 400 * @returns IPRT status code. 401 * @param hAcpiTbl The ACPI table handle. 402 * @param enmBinaryOp The binary operation to append. 403 */ 404 RTDECL(int) RTAcpiTblBinaryOpAppend(RTACPITBL hAcpiTbl, RTACPIBINARYOP enmBinaryOp); 405 406 407 /** 408 * Appends the given Arg<idArg> operand. 409 * 410 * @returns IPRT status code. 411 * @param hAcpiTbl The ACPI table handle. 412 * @param idArg The argument ID to append [0..6]. 413 */ 414 RTDECL(int) RTAcpiTblArgOpAppend(RTACPITBL hAcpiTbl, uint8_t idArg); 415 416 417 /** 418 * Appends the given Local<idLocal> operand. 419 * 420 * @returns IPRT status code. 421 * @param hAcpiTbl The ACPI table handle. 422 * @param idLocal The local ID to append [0..7]. 423 */ 424 RTDECL(int) RTAcpiTblLocalOpAppend(RTACPITBL hAcpiTbl, uint8_t idLocal); 425 426 427 /** 428 * Appends the given UUID as a buffer object. 429 * 430 * @returns IPRT status code. 431 * @param hAcpiTbl The ACPI table handle. 432 * @param pUuid The UUID to append. 433 */ 434 RTDECL(int) RTAcpiTblUuidAppend(RTACPITBL hAcpiTbl, PCRTUUID pUuid); 435 436 437 /** 438 * Appends the given UUID string as a UUID buffer object. 439 * 440 * @returns IPRT status code. 441 * @param hAcpiTbl The ACPI table handle. 442 * @param pszUuid The UUID string to append as a buffer. 443 */ 444 RTDECL(int) RTAcpiTblUuidAppendFromStr(RTACPITBL hAcpiTbl, const char *pszUuid); 335 445 336 446
Note:
See TracChangeset
for help on using the changeset viewer.