Searched refs:cbh (Results 1 – 1 of 1) sorted by relevance
58 static void cb_table_init(struct cb_header *cbh) in cb_table_init() argument60 memset(cbh, 0, sizeof(struct cb_header)); in cb_table_init()61 memcpy(cbh->signature, "LBIO", 4); in cb_table_init()62 cbh->header_bytes = sizeof(struct cb_header); in cb_table_init()77 cbh->table_bytes += cbr->size; in cb_table_add_entry()78 cbh->table_entries++; in cb_table_add_entry()95 cbh->table_checksum = compute_ip_checksum(cbr, cbh->table_bytes); in cb_table_finalize()96 cbh->header_checksum = compute_ip_checksum(cbh, cbh->header_bytes); in cb_table_finalize()110 cb_table_init(cbh); in write_coreboot_table()111 cbr = (struct cb_record *)(cbh + 1); in write_coreboot_table()[all …]
Completed in 2 milliseconds