Introduce hb_max_num_huge_pages integer bios attribute for oem/ibm
This attribute will be written by the host so the BMC knows the max
number of huge pages available given the current systme configuration.
Signed-off-by: Christian Geddes <crgeddes@us.ibm.com>
Change-Id: Ie3136d05c2f0bb41adfbbc48f5c026de3a4e2f7c
diff --git a/oem/ibm/configurations/bios/integer_attrs.json b/oem/ibm/configurations/bios/integer_attrs.json
index baa60d1..189fa0a 100644
--- a/oem/ibm/configurations/bios/integer_attrs.json
+++ b/oem/ibm/configurations/bios/integer_attrs.json
@@ -98,6 +98,16 @@
"default_value" : 0,
"helpText" : "Specifies the power limit in watts for the current IPL. Do not set this attribute directly; set hb_power_limit_in_watts instead.",
"displayName" : "Power Limit In Watts (current)"
+ },
+ {
+ "attribute_name" : "hb_max_number_huge_pages",
+ "lower_bound" : 0,
+ "upper_bound" : 65535,
+ "scalar_increment" : 1,
+ "default_value" : 0,
+ "readOnly":true,
+ "helpText" : "Specifies the actual maximum number of huge pages available given the current system configuration.",
+ "displayName" : "Max Number Huge Pages"
}
]
}