| 120 | } |
| 121 | |
| 122 | static 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 | |
| 130 | static void parse_strings(unsigned char *ptr) |
| 131 | { |
no test coverage detected