MCPcopy Create free account
hub / github.com/coreboot/coreboot / read_le32

Function read_le32

src/commonlib/include/commonlib/endian.h:189–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189static inline uint32_t read_le32(const void *src)
190{
191 const volatile uint8_t *s = src;
192 return (((uint32_t)s[3]) << 24) | (((uint32_t)s[2]) << 16) |
193 (((uint32_t)s[1]) << 8) | (((uint32_t)s[0]) << 0);
194}
195
196static inline uint32_t read_at_le32(const void *src, size_t offset)
197{

Callers 15

fw_cfg_acpi_tablesFunction · 0.85
guid_compareFunction · 0.85
fsp_get_info_hdrFunction · 0.85
pe_relocateFunction · 0.85
te_relocateFunction · 0.85
section_data_sizeFunction · 0.85
ffs_file_sizeFunction · 0.85
relocate_patch_tableFunction · 0.85
relocate_remaining_itemsFunction · 0.85
relocate_fvhFunction · 0.85
read_at_le32Function · 0.85
read_le64Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected