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

Function read_be32

src/commonlib/include/commonlib/endian.h:85–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85static inline uint32_t read_be32(const void *src)
86{
87 const volatile uint8_t *s = src;
88 return (((uint32_t)s[0]) << 24) | (((uint32_t)s[1]) << 16) |
89 (((uint32_t)s[2]) << 8) | (((uint32_t)s[3]) << 0);
90}
91
92static inline uint32_t read_at_be32(const void *src, size_t offset)
93{

Callers 9

last_loadable_segmentFunction · 0.85
tpm2_process_commandFunction · 0.85
pi608gp_reg_readFunction · 0.85
cr50_i2c_tis_recvFunction · 0.85
read_at_be32Function · 0.85
read_be64Function · 0.85
parse_fit_to_payloadFunction · 0.85
cbfs_payload_make_elfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected