![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
#include "vpd_decode.h"
Go to the source code of this file.
Functions | |
static int | vpd_decode_len (const u32 max_len, const u8 *in, u32 *length, u32 *decoded_len) |
static int | vpd_decode_entry (const u32 max_len, const u8 *input_buf, u32 *consumed, const u8 **entry, u32 *entry_len) |
int | vpd_decode_string (const u32 max_len, const u8 *input_buf, u32 *consumed, vpd_decode_callback callback, void *callback_arg) |
|
static |
Definition at line 33 of file vpd_decode.c.
References VPD_DECODE_FAIL, vpd_decode_len(), and VPD_DECODE_OK.
Referenced by vpd_decode_string().
|
static |
Definition at line 9 of file vpd_decode.c.
References length, VPD_DECODE_FAIL, and VPD_DECODE_OK.
Referenced by vpd_decode_entry().
int vpd_decode_string | ( | const u32 | max_len, |
const u8 * | input_buf, | ||
u32 * | consumed, | ||
vpd_decode_callback | callback, | ||
void * | callback_arg | ||
) |
Definition at line 56 of file vpd_decode.c.
References type, value, vpd_decode_entry(), VPD_DECODE_FAIL, VPD_DECODE_OK, VPD_TYPE_INFO, and VPD_TYPE_STRING.
Referenced by vpd_find_in().