summaryrefslogtreecommitdiffstats
path: root/src/usr/hwas
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/hwas')
-rw-r--r--src/usr/hwas/common/hwasCallout.C24
-rw-r--r--src/usr/hwas/hwasPlatCallout.C23
2 files changed, 47 insertions, 0 deletions
diff --git a/src/usr/hwas/common/hwasCallout.C b/src/usr/hwas/common/hwasCallout.C
index 511dc61eb..92c5a8e7b 100644
--- a/src/usr/hwas/common/hwasCallout.C
+++ b/src/usr/hwas/common/hwasCallout.C
@@ -210,6 +210,30 @@ void processCallout(errlHndl_t &io_errl,
}
break;
} // CLOCK_CALLOUT
+ case (PART_CALLOUT):
+ {
+ TARGETING::Target *pTarget = NULL;
+ uint8_t * l_uData = (uint8_t *)(pCalloutUD + 1);
+ bool l_err = retrieveTarget(l_uData, pTarget, io_errl);
+
+ if (!l_err)
+ {
+ errlHndl_t errl = platHandlePartCallout(
+ pTarget,
+ pCalloutUD->partType,
+ pCalloutUD->priority,
+ io_errl,
+ pCalloutUD->deconfigState,
+ pCalloutUD->gardErrorType);
+ if (errl)
+ {
+ HWAS_ERR("processCallout: error platHandlePartCallout");
+ errlCommit(errl, HWAS_COMP_ID);
+ }
+ }
+ break;
+ } // PART_CALLOUT
+
default:
{
HWAS_ERR("bad data in Callout UD %x", pCalloutUD->type);
diff --git a/src/usr/hwas/hwasPlatCallout.C b/src/usr/hwas/hwasPlatCallout.C
index 1419c8c36..42df78b7d 100644
--- a/src/usr/hwas/hwasPlatCallout.C
+++ b/src/usr/hwas/hwasPlatCallout.C
@@ -256,4 +256,27 @@ errlHndl_t platHandleClockCallout(
return pError;
}
+//******************************************************************************
+// platHandleClockCallout
+//******************************************************************************
+errlHndl_t platHandlePartCallout(
+ TARGETING::Target *i_pTarget,
+ partTypeEnum i_partType,
+ callOutPriority i_priority,
+ errlHndl_t &io_errl,
+ DeconfigEnum i_deconfigState,
+ GARD_ErrorType i_gardErrorType)
+{
+ // WARNING:
+ // this hostboot code should not change io_errl, unless the caller of the
+ // processCallouts() function also changes, as today it (errlentry.C) calls
+ // from the errlEntry object
+
+ errlHndl_t errl = NULL;
+
+ // Hostboot does not handle or do any action for part callouts
+ return errl;
+}
+
+
} // namespace HWAS
OpenPOWER on IntegriCloud