mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
- Update lb dump to handle the new type in linuxbios_tables.h
This commit is contained in:
parent
3c717fd3c7
commit
3c6821c4fa
1 changed files with 10 additions and 0 deletions
|
@ -227,6 +227,15 @@ void print_option_enumeration(struct lb_record *ptr, unsigned long addr)
|
|||
rec->text);
|
||||
}
|
||||
|
||||
void print_option_checksum(struct lb_record *ptr, unsigned long addr)
|
||||
{
|
||||
struct cmos_checksum *rec;
|
||||
rec = (struct cmos_checksum *)ptr;
|
||||
printf("checksum %d, rec len %d, range %d-%d location %d type %d\n",
|
||||
rec->tag, rec->size,
|
||||
rec->range_start, rec->range_end, rec->location, rec->type);
|
||||
}
|
||||
|
||||
struct {
|
||||
uint32_t type;
|
||||
char *type_name;
|
||||
|
@ -250,6 +259,7 @@ struct {
|
|||
{ LB_TAG_OPTION, "Option", print_option },
|
||||
{ LB_TAG_OPTION_ENUM, "Option Enumeration", print_option_enumeration },
|
||||
{ LB_TAG_OPTION_DEFAULTS, "Option Defaults", nop_print },
|
||||
{ LB_TAG_OPTION_CHECKSUM, "Option Checksum", print_option_checksum },
|
||||
{ -1, "Unknown", 0 }
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue