![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Data Structures | |
union | cbfs_mdata |
Functions | |
const void * | cbfs_find_attr (const union cbfs_mdata *mdata, uint32_t attr_tag, size_t size_check) |
const struct vb2_hash * | cbfs_file_hash (const union cbfs_mdata *mdata) |
const struct vb2_hash* cbfs_file_hash | ( | const union cbfs_mdata * | mdata | ) |
Definition at line 199 of file cbfs_private.c.
References be32toh(), CBFS_FILE_ATTR_TAG_HASH, cbfs_find_attr(), ERROR, cbfs_file::filename, cbfs_mdata::h, cbfs_file_attr_hash::hash, cbfs_file_attr_hash::len, NULL, and offsetof.
Referenced by cbfs_file_hash_mismatch().
const void* cbfs_find_attr | ( | const union cbfs_mdata * | mdata, |
uint32_t | attr_tag, | ||
size_t | size_check | ||
) |
Definition at line 167 of file cbfs_private.c.
References cbfs_file::attributes_offset, be32toh(), ERROR, cbfs_file::filename, cbfs_mdata::h, cbfs_file_attribute::len, NULL, cbfs_file::offset, offset, cbfs_mdata::raw, and cbfs_file_attribute::tag.
Referenced by cbfs_file_hash(), do_alloc(), and rmodule_cbfs_allocator().