diff options
author | Alpana Kumari <alpankum@in.ibm.com> | 2018-10-15 08:13:24 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-11-08 08:58:33 -0600 |
commit | e68587e470a3fe50465de722a9d74db1937f5ab3 (patch) | |
tree | 03aff4109f19cd825eaae6ac9788343c2722bee9 /src/include/usr | |
parent | 22134d69a2016dd1ea6d9de858f4e68f732289ae (diff) | |
download | talos-hostboot-e68587e470a3fe50465de722a9d74db1937f5ab3.tar.gz talos-hostboot-e68587e470a3fe50465de722a9d74db1937f5ab3.zip |
Support flag parameter for addBusCallout
Adding a new parameter flag_t to indicate the SMP link is down
flag_t -> FLAG_LINK_DOWN set this link state as OFF
flag_t -> FLAG_NONE no action needed
Also, all these parameters of AddBusCallout, making it as structure
so that in future if any parameter needs to be added/removed
can be done independently.
Change-Id: I4b5a4b9266326430a485a914929f0405f9fec623
CQ: SW448379
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68042
Tested-by: Jenkins Server <pfd-jenkins+hostboot@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>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr')
-rw-r--r-- | src/include/usr/hwas/common/hwasCallout.H | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/include/usr/hwas/common/hwasCallout.H b/src/include/usr/hwas/common/hwasCallout.H index 3bf4bce4c..773cb9cfd 100644 --- a/src/include/usr/hwas/common/hwasCallout.H +++ b/src/include/usr/hwas/common/hwasCallout.H @@ -308,6 +308,24 @@ typedef struct callout_ud #ifndef PARSER +/* BUS callout Structure: This structure contains all the parameters needed for callout +// in platHandleAddBusCallout, Fields are: +// TargetPart1: One End point of BUS +// TargetPart2: Second End point of BUS +// busType: BUS Type +// priority: priority of this callout +// flag: This flag is specific for SMP cable only, for others it will be NONE +// if FLAG_LINK_DOWN, CBLV link state will be set as ERROR STATE +*/ +typedef struct +{ + TARGETING::Target* TargetPart1; + TARGETING::Target* TargetPart2; + HWAS::busTypeEnum busType; + HWAS::callOutPriority priority; + HWAS::CalloutFlag_t flag; +}busCallout_t; + /** * @brief retrieveTarget will convert the EntityPath to a Target * |