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

Function cb_parse_string

payloads/libpayload/libc/coreboot.c:149–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147#endif
148
149static void cb_parse_string(const void *const ptr, uintptr_t *const info)
150{
151 /* ptr is already virtual (str->string just an offset to that),
152 but we want to keep physical addresses */
153 const struct cb_string *const str = ptr;
154 *info = virt_to_phys(str->string);
155}
156
157static void cb_parse_ramoops(void *ptr, struct sysinfo_t *info)
158{

Callers 1

cb_parse_headerFunction · 0.85

Calls 1

virt_to_physFunction · 0.85

Tested by

no test coverage detected