bios_table.h (46d0768577e9b2124d0f7ab2346e6ee03fbed5bd) | bios_table.h (4e1f131c5a204dfb61bfd19fab1a4320806e03da) |
---|---|
1#ifndef LIBPLDM_BIOS_TABLE_H 2#define LIBPLDM_BIOS_TABLE_H 3 4#ifdef __cplusplus 5extern "C" { 6#endif 7 8#include "bios.h" --- 523 unchanged lines hidden (view full) --- 532 void *entry, size_t entry_length, uint16_t attr_handle, 533 uint8_t attr_type, uint16_t str_length, const char *string); 534 535/** @brief Get length that an attribute value entry(type: integer) will take 536 * @return The length that an entry(type: integer) will take 537 */ 538size_t pldm_bios_table_attr_value_entry_encode_integer_length(void); 539 | 1#ifndef LIBPLDM_BIOS_TABLE_H 2#define LIBPLDM_BIOS_TABLE_H 3 4#ifdef __cplusplus 5extern "C" { 6#endif 7 8#include "bios.h" --- 523 unchanged lines hidden (view full) --- 532 void *entry, size_t entry_length, uint16_t attr_handle, 533 uint8_t attr_type, uint16_t str_length, const char *string); 534 535/** @brief Get length that an attribute value entry(type: integer) will take 536 * @return The length that an entry(type: integer) will take 537 */ 538size_t pldm_bios_table_attr_value_entry_encode_integer_length(void); 539 |
540/** @brief Create an attribute value entry(type: integer) 541 * @param[out] entry - Pointer to bios attribute value entry 542 * @param[in] entry_length - Length of attribute value entry 543 * @param[in] attr_handle - This handle points to an attribute in the 544 * BIOS Attribute Vlaue Table. 545 * @param[in] attr_type - Type of this attribute in the BIOS Attribute Value 546 * Table 547 * @param[in] cv - Current Value 548 */ 549void pldm_bios_table_attr_value_entry_encode_integer(void *entry, 550 size_t entry_length, 551 uint16_t attr_handle, 552 uint8_t attr_type, 553 uint64_t cv); 554 | |
555/** @brief Get current values for the integer entry 556 * @param[in] entry - Pointer to bios attribute value table entry 557 * @return Current Value 558 */ 559uint64_t pldm_bios_table_attr_value_entry_integer_decode_cv( 560 const struct pldm_bios_attr_val_table_entry *entry); 561 562/** @brief Create an attribute value entry(type: integer) and check the validity --- 99 unchanged lines hidden --- | 540/** @brief Get current values for the integer entry 541 * @param[in] entry - Pointer to bios attribute value table entry 542 * @return Current Value 543 */ 544uint64_t pldm_bios_table_attr_value_entry_integer_decode_cv( 545 const struct pldm_bios_attr_val_table_entry *entry); 546 547/** @brief Create an attribute value entry(type: integer) and check the validity --- 99 unchanged lines hidden --- |