bios_table.h (46673f4a44d3b441217617a0f0b9f24a2c934b6c) bios_table.h (82b4d3b41ca66d741b3ec8f0933469e11c2c62e6)
1/* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later */
2#ifndef LIBPLDM_BIOS_TABLE_H
3#define LIBPLDM_BIOS_TABLE_H
4
5#ifdef __cplusplus
6extern "C" {
7#endif
8

--- 267 unchanged lines hidden (view full) ---

276 * store
277 * @return PLDM_SUCCESS on success, otherwise PLDM_ERROR_INVALID_DATA if entry or pv_hdls are NULL,
278 * or entry is not of type PLDM_BIOS_ENUMERATION. An appropriate value for pv_num can be
279 * determined using @ref pldm_bios_table_attr_entry_enum_decode_pv_num_check. pv_num may be
280 * less than the value provided by @ref
281 * pldm_bios_table_attr_entry_enum_decode_pv_num_check, in which case only the first pv_num
282 * handles will be decoded.
283 */
1/* SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later */
2#ifndef LIBPLDM_BIOS_TABLE_H
3#define LIBPLDM_BIOS_TABLE_H
4
5#ifdef __cplusplus
6extern "C" {
7#endif
8

--- 267 unchanged lines hidden (view full) ---

276 * store
277 * @return PLDM_SUCCESS on success, otherwise PLDM_ERROR_INVALID_DATA if entry or pv_hdls are NULL,
278 * or entry is not of type PLDM_BIOS_ENUMERATION. An appropriate value for pv_num can be
279 * determined using @ref pldm_bios_table_attr_entry_enum_decode_pv_num_check. pv_num may be
280 * less than the value provided by @ref
281 * pldm_bios_table_attr_entry_enum_decode_pv_num_check, in which case only the first pv_num
282 * handles will be decoded.
283 */
284int pldm_bios_table_attr_entry_enum_decode_pv_hdls(
285 const struct pldm_bios_attr_table_entry *entry, uint16_t *pv_hdls,
286 uint8_t pv_num);
284int pldm_bios_table_attr_entry_enum_decode_pv_hdls_check(
285 const struct pldm_bios_attr_table_entry *entry, uint16_t *pv_hdls,
286 uint8_t pv_num);
287
288/** @brief Get Indices of default values
289 * @param[in] entry - Pointer to bios attribute table entry
290 * @param[out] def_indices - Pointer to a buffer to store
291 * default value indices

--- 360 unchanged lines hidden ---
287int pldm_bios_table_attr_entry_enum_decode_pv_hdls_check(
288 const struct pldm_bios_attr_table_entry *entry, uint16_t *pv_hdls,
289 uint8_t pv_num);
290
291/** @brief Get Indices of default values
292 * @param[in] entry - Pointer to bios attribute table entry
293 * @param[out] def_indices - Pointer to a buffer to store
294 * default value indices

--- 360 unchanged lines hidden ---