diff options
author | Sachin Gupta <sgupta2m@in.ibm.com> | 2016-02-09 22:42:48 -0600 |
---|---|---|
committer | AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com> | 2016-05-03 07:35:29 -0400 |
commit | 1a83cd915cd2be01158eb7016d7f92e1f7c54d80 (patch) | |
tree | e95f297d4ad13f058dbf4e80033bbaa77164c00c /sbe/sbefw/sbecmdcntlinst.C | |
parent | ce2b54ae9458775feac2fab757afadc6817605a8 (diff) | |
download | talos-sbe-1a83cd915cd2be01158eb7016d7f92e1f7c54d80.tar.gz talos-sbe-1a83cd915cd2be01158eb7016d7f92e1f7c54d80.zip |
Single SEEPROM image for SBE
Currently we build seprarate images for PIBMEM and SEEPROM. Later
using XIP tools we add pibmem image to seeprom. This activity
will create only one image for SEEPROM and PIBMEM
RTC: 145589
Change-Id: I5f560afaf310ace539a793ea7c2ce710dcb3fcc1
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/20653
Tested-by: Jenkins Server
Reviewed-by: Santosh S. Puranik <santosh.puranik@in.ibm.com>
Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
Diffstat (limited to 'sbe/sbefw/sbecmdcntlinst.C')
-rw-r--r-- | sbe/sbefw/sbecmdcntlinst.C | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sbe/sbefw/sbecmdcntlinst.C b/sbe/sbefw/sbecmdcntlinst.C index 09eb8232..11fd374a 100644 --- a/sbe/sbefw/sbecmdcntlinst.C +++ b/sbe/sbefw/sbecmdcntlinst.C @@ -19,6 +19,10 @@ using namespace fapi2; // This is used to find out the array index in g_control_reg_map in // p9_thread_control.C static const uint8_t SINGLE_THREAD_BIT_MASK = 0x08; +// TODO via RTC 152424 +// Currently all proecdures in core directory are in seeprom. +// So we have to use function pointer to force a long call. +p9_thread_control_FP_t threadCntlhwp = &p9_thread_control; /* @brief Map User Thread Command to Hwp ThreadCommands Enum */ ThreadCommands getThreadCommand(const sbeCntlInstRegMsgHdr_t & i_req) @@ -111,7 +115,7 @@ uint32_t sbeCntlInst(uint8_t *i_pArg) do { // Call the Procedure - l_fapiRc = p9_thread_control( + l_fapiRc = threadCntlhwp( l_coreTgt, (SINGLE_THREAD_BIT_MASK >> l_thread), l_cmd, l_warnCheck, |