From d70d76bce5ec0209c7d8fe8719212ec165b20e65 Mon Sep 17 00:00:00 2001 From: imp Date: Thu, 15 Jan 2015 00:46:30 +0000 Subject: Reserve and ignore the a new module metadata type MDT_PNP_INFO for associating an optional PNP hint table with this module. In the future, when these are added, these changes will silently ignore the new type they would otherwise warn about. It will always be safe to ignore this data. Get this into the builds today for some future proofing. MFC After: 3 days --- sys/boot/common/load_elf_obj.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/boot/common/load_elf_obj.c') diff --git a/sys/boot/common/load_elf_obj.c b/sys/boot/common/load_elf_obj.c index 2c8e184..ceb1408 100644 --- a/sys/boot/common/load_elf_obj.c +++ b/sys/boot/common/load_elf_obj.c @@ -416,6 +416,7 @@ __elfN(obj_parse_modmetadata)(struct preloaded_file *fp, elf_file_t ef) modcnt++; break; case MDT_MODULE: + case MDT_PNP_INFO: break; default: printf("unknown type %d\n", md.md_type); -- cgit v1.1