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

Function parse_mainboard

payloads/coreinfo/coreboot_module.c:122–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122static void parse_mainboard(unsigned char *ptr)
123{
124 struct cb_mainboard *mb = (struct cb_mainboard *)ptr;
125
126 strncpy(cb_info.vendor, cb_mb_vendor_string(mb), sizeof(cb_info.vendor) - 1);
127 strncpy(cb_info.part, cb_mb_part_string(mb), sizeof(cb_info.part) - 1);
128}
129
130static void parse_strings(unsigned char *ptr)
131{

Callers 1

parse_headerFunction · 0.85

Calls 3

cb_mb_vendor_stringFunction · 0.85
cb_mb_part_stringFunction · 0.85
strncpyFunction · 0.50

Tested by

no test coverage detected