summaryrefslogtreecommitdiffstats
path: root/src/include/usr/fapi2
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2017-09-22 13:15:22 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2017-09-22 22:54:27 -0400
commita702bf170b58a8be92fb66bae6c9f0bff23a4cce (patch)
treef30303f32df971793b8048c383af6ca24d4aec00 /src/include/usr/fapi2
parent1b0f94cf15432ae3a42fa896332e0e55993ca094 (diff)
downloadtalos-hostboot-a702bf170b58a8be92fb66bae6c9f0bff23a4cce.tar.gz
talos-hostboot-a702bf170b58a8be92fb66bae6c9f0bff23a4cce.zip
Use a VMM allocator for the giant WOFDATA lid
The WOFDATA lid is now 12MB which is too big for our default malloc logic that requires contiguous memory. Instead we will use a custom VMM block to page in new pages dynamically as needed. Change-Id: I50360812328d6811716955b7a22c396566044a87 CQ: SW402766 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/46640 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Tested-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/fapi2')
-rw-r--r--src/include/usr/fapi2/hwpf_fapi2_reasoncodes.H4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/include/usr/fapi2/hwpf_fapi2_reasoncodes.H b/src/include/usr/fapi2/hwpf_fapi2_reasoncodes.H
index 73477fc57..16c871263 100644
--- a/src/include/usr/fapi2/hwpf_fapi2_reasoncodes.H
+++ b/src/include/usr/fapi2/hwpf_fapi2_reasoncodes.H
@@ -121,6 +121,10 @@ namespace fapi2
RC_WOF_TABLE_NOT_FOUND = FAPI2_COMP_ID | 0x2D,
RC_WOF_IMAGE_VERSION_MISMATCH = FAPI2_COMP_ID | 0x2E,
RC_WOF_TABLES_VERSION_MISMATCH = FAPI2_COMP_ID | 0x2F,
+ RC_MM_ALLOC_BLOCK_FAILED = FAPI2_COMP_ID | 0x30,
+ RC_MM_SET_PERMISSION_FAILED = FAPI2_COMP_ID | 0x31,
+ RC_MM_REMOVE_PAGES_FAILED = FAPI2_COMP_ID | 0x32,
+ RC_MM_SET_PERMISSION2_FAILED = FAPI2_COMP_ID | 0x33,
// HWP generated errors
RC_HWP_GENERATED_ERROR = HWPF_COMP_ID | 0x0f,
OpenPOWER on IntegriCloud