bios_table.h (2d66393f0d2f9c4acf21c18ef50e3e5f6eea60f8) | bios_table.h (0088a6ae4cec3eb2e8e4dece6fb54e535111790c) |
---|---|
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" --- 594 unchanged lines hidden (view full) --- 603 * of the parameters 604 * @param[out] entry - Pointer to bios attribute value entry 605 * @param[in] entry_length - Length of attribute value entry 606 * @param[in] attr_handle - This handle points to an attribute in the 607 * BIOS Attribute Vlaue Table. 608 * @param[in] attr_type - Type of this attribute in the BIOS Attribute Value 609 * Table 610 * @param[in] cv - Current Value | 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" --- 594 unchanged lines hidden (view full) --- 603 * of the parameters 604 * @param[out] entry - Pointer to bios attribute value entry 605 * @param[in] entry_length - Length of attribute value entry 606 * @param[in] attr_handle - This handle points to an attribute in the 607 * BIOS Attribute Vlaue Table. 608 * @param[in] attr_type - Type of this attribute in the BIOS Attribute Value 609 * Table 610 * @param[in] cv - Current Value |
611 * @return pldm_completion_codes | 611 * @return PLDM_SUCCESS on success. PLDM_ERROR_INVALID_DATA if entry is NULL or attr_type is not 612 * PLDM_BIOS_INTEGER. PLDM_ERROR_INVALID_LENGTH if entry_length lacks capacity to encode cv 613 * in entry. |
612 */ 613int pldm_bios_table_attr_value_entry_encode_integer_check(void *entry, 614 size_t entry_length, 615 uint16_t attr_handle, 616 uint8_t attr_type, 617 uint64_t cv); 618 619/** @brief Get the handle from the attribute value entry --- 67 unchanged lines hidden --- | 614 */ 615int pldm_bios_table_attr_value_entry_encode_integer_check(void *entry, 616 size_t entry_length, 617 uint16_t attr_handle, 618 uint8_t attr_type, 619 uint64_t cv); 620 621/** @brief Get the handle from the attribute value entry --- 67 unchanged lines hidden --- |