pldmbios: Add BIOS attributes huge_page_count lmb_size mfg_flags
Hostboot reads hb_requested_number_huge_pages and sets
ATTR_HUGE_PAGE_COUNT, reads hb_pending_memory_region_size and
sets ATTR_LMB_SIZE, reads hb_mfg_flags and sets ATTR_MFG_FLAGS.
Tested: manually added bios attrs in rainier simics and
successfully read from hostboot.
Signed-off-by: Corey Swenson <cswenson@us.ibm.com>
Change-Id: Idfef7fd97b16d7cbf1bf72764387535e200c78e0
diff --git a/oem/ibm/configurations/bios/string_attrs.json b/oem/ibm/configurations/bios/string_attrs.json
index 9dc6a22..0110c79 100644
--- a/oem/ibm/configurations/bios/string_attrs.json
+++ b/oem/ibm/configurations/bios/string_attrs.json
@@ -59,6 +59,16 @@
"default_string" : "0.0.0.0",
"helpText" : "vmi_if1_ipv4_ipaddr",
"displayName" : "vmi_if1_ipv4_ipaddr"
+ },
+ {
+ "attribute_name" : "hb_mfg_flags",
+ "string_type" : "Hex",
+ "minimum_string_length" : 32,
+ "maximum_string_length" : 32,
+ "default_string_length" : 32,
+ "default_string" : "00000000000000000000000000000000",
+ "helpText" : "Specifies the configuration flags used by manufacturing, requires a reboot for a change to be applied.",
+ "displayName" : "Manufacturing Flags"
}
]
}