summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2013-10-15 13:32:09 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2013-10-28 12:32:17 -0500
commitc529c391001736f4a55a71d30ea7a8c9dabfa0ed (patch)
tree267a908138e7bc631156e3dfd704ce68bf4e6dc6 /src
parenta094332bbe8807c8f24aeb79f34be063845cea10 (diff)
downloadblackbird-hostboot-c529c391001736f4a55a71d30ea7a8c9dabfa0ed.tar.gz
blackbird-hostboot-c529c391001736f4a55a71d30ea7a8c9dabfa0ed.zip
Ensure PLIDs are 32bits.
RTC: 72318 Change-Id: I7ce0c67510ff5389c864a9e750b948a23e3db5b4 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/6681 Tested-by: Jenkins Server Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src')
-rw-r--r--src/include/kernel/hbterminatetypes.H7
-rw-r--r--src/include/kernel/terminate.H4
-rw-r--r--src/kernel/terminate.C2
3 files changed, 7 insertions, 6 deletions
diff --git a/src/include/kernel/hbterminatetypes.H b/src/include/kernel/hbterminatetypes.H
index c337eb1ba..0cd1cce0a 100644
--- a/src/include/kernel/hbterminatetypes.H
+++ b/src/include/kernel/hbterminatetypes.H
@@ -85,8 +85,9 @@ struct HB_TI_DataArea
uint64_t reserved3:16; /**< Reserved space */
};
uint64_t flag; /**< Full word - flag */
- };
- uint64_t plid; /**< Plid */
+ };
+ uint32_t reserved0;
+ uint32_t plid; /**< Plid */
HB_T_SRC_DataArea src; /**< SRC */
};
@@ -97,7 +98,7 @@ enum hb_terminate_type
TI_WITH_SRC = 0x0002,
};
-// Enum used in the flag indicating who initiated the TI
+// Enum used in the flag indicating who initiated the TI
enum hb_terminate_source
{
TI_KERNEL_ASSERT = 0x0001,
diff --git a/src/include/kernel/terminate.H b/src/include/kernel/terminate.H
index 3cedf6a72..23850d574 100644
--- a/src/include/kernel/terminate.H
+++ b/src/include/kernel/terminate.H
@@ -5,7 +5,7 @@
/* */
/* IBM CONFIDENTIAL */
/* */
-/* COPYRIGHT International Business Machines Corp. 2012 */
+/* COPYRIGHT International Business Machines Corp. 2012,2013 */
/* */
/* p1 */
/* */
@@ -40,7 +40,7 @@ void terminateExecuteTI();
* @param[in] i_plid: plid to be stored
* @param[out] NONE:
*/
-void termWritePlid(uint16_t i_source, uint64_t plid);
+void termWritePlid(uint16_t i_source, uint32_t plid);
/** @fn termWriteSRC
* Create an SRC and Update the TI data area with the src created
diff --git a/src/kernel/terminate.C b/src/kernel/terminate.C
index 0bfd5e8dd..daed4330a 100644
--- a/src/kernel/terminate.C
+++ b/src/kernel/terminate.C
@@ -53,7 +53,7 @@ void terminateExecuteTI()
p8_force_attn();
}
-void termWritePlid(uint16_t i_source, uint64_t plid)
+void termWritePlid(uint16_t i_source, uint32_t plid)
{
kernel_TIDataArea.type = TI_WITH_PLID;
kernel_TIDataArea.source = i_source;
OpenPOWER on IntegriCloud