summaryrefslogtreecommitdiffstats
path: root/sbe/sbefw
diff options
context:
space:
mode:
authorSantosh Puranik <santosh.puranik@in.ibm.com>2016-02-18 06:30:40 -0600
committerGregory S. Still <stillgs@us.ibm.com>2016-02-29 07:56:32 -0500
commitfe372b80a09ce301e02dcc0bf0059f057a042be1 (patch)
tree6aca53776acb2b4e2d643ad77bcb83e51bae6948 /sbe/sbefw
parent1ed76cca77ac405c8daec3ac3ff3bb6e4a2e6c6b (diff)
downloadtalos-sbe-fe372b80a09ce301e02dcc0bf0059f057a042be1.tar.gz
talos-sbe-fe372b80a09ce301e02dcc0bf0059f057a042be1.zip
Some changes to reduce image size
1) Force get/put scom plat functions to be inline 2) Inline ATTR get/set functions 3) FAPI RC is now 32-bit 4) Enable selective trace levels RTC: 141492 Change-Id: Ie8a5bce597751b5484b2e9c89d614999a555f366 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21023 Tested-by: Jenkins Server Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com> Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com> Reviewed-by: Gregory S. Still <stillgs@us.ibm.com>
Diffstat (limited to 'sbe/sbefw')
-rw-r--r--sbe/sbefw/sbeSpMsg.H12
1 files changed, 5 insertions, 7 deletions
diff --git a/sbe/sbefw/sbeSpMsg.H b/sbe/sbefw/sbeSpMsg.H
index 57a00f98..8c021184 100644
--- a/sbe/sbefw/sbeSpMsg.H
+++ b/sbe/sbefw/sbeSpMsg.H
@@ -88,7 +88,7 @@ typedef struct sbeResponseFfdc
{
uint32_t magicBytes:16;
uint32_t lenInWords:16; // length in word( 4 byte )
- uint32_t hiFapiRc;
+ uint32_t hiFapiRc; // Unused since FAPI RC is 32 bit on the SBE
uint32_t lowFapiRc;
/**
@@ -98,10 +98,9 @@ typedef struct sbeResponseFfdc
*
* @return
*/
- void setRc(const uint64_t i_rc)
+ void setRc(const uint32_t i_rc)
{
- lowFapiRc = uint32_t(i_rc);
- hiFapiRc = uint32_t(i_rc>>32);
+ lowFapiRc = i_rc;
}
/**
@@ -109,10 +108,9 @@ typedef struct sbeResponseFfdc
*
* @return fapiRc
*/
- uint64_t getRc()
+ uint32_t getRc()
{
- uint64_t temp = ( (uint64_t)hiFapiRc << 32) | lowFapiRc;
- return temp;
+ return lowFapiRc;
}
/**
OpenPOWER on IntegriCloud