summaryrefslogtreecommitdiffstats
path: root/src/usr/hwpf/hwp/occ/occ_common.C
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2014-11-17 21:58:44 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2014-11-19 09:04:50 -0600
commit5678a46965b4092f43c0a9bed8fde90f6ca8a8d3 (patch)
tree759ec6d837cdedd1b13b0fa97c78305c56f615a1 /src/usr/hwpf/hwp/occ/occ_common.C
parent58fb1308bfdf6cd8546cf3187a8d9f7831ade552 (diff)
downloadtalos-hostboot-5678a46965b4092f43c0a9bed8fde90f6ca8a8d3.tar.gz
talos-hostboot-5678a46965b4092f43c0a9bed8fde90f6ca8a8d3.zip
Add interrupt path to OCC data area
Change-Id: I5777ce01826d538cbba677c62da2003919975016 RTC: 118874 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14531 Tested-by: Jenkins Server Reviewed-by: PRACHI GUPTA <pragupta@us.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: Christopher Cain <cjcain@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/hwpf/hwp/occ/occ_common.C')
-rw-r--r--src/usr/hwpf/hwp/occ/occ_common.C11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/usr/hwpf/hwp/occ/occ_common.C b/src/usr/hwpf/hwp/occ/occ_common.C
index b2768873d..e059fe23a 100644
--- a/src/usr/hwpf/hwp/occ/occ_common.C
+++ b/src/usr/hwpf/hwp/occ/occ_common.C
@@ -50,6 +50,7 @@
#include <vfs/vfs.H>
#include <util/utillidmgr.H>
+#include <initservice/initserviceif.H>
// Procedures
#include <p8_pba_init.H>
@@ -150,6 +151,16 @@ namespace HBOCC
config_data->version = HBOCC::OccHostDataVersion;
config_data->nestFrequency = nestFreq;
+ // Figure out the interrupt type
+ if( INITSERVICE::spBaseServicesEnabled() )
+ {
+ config_data->interruptType = USE_FSI2HOST_MAILBOX;
+ }
+ else
+ {
+ config_data->interruptType = USE_PSIHB_COMPLEX;
+ }
+
TRACUCOMP( g_fapiTd,
EXIT_MRK"loadHostDataToHomer");
OpenPOWER on IntegriCloud