diff options
| author | Doug Gilbert <dgilbert@us.ibm.com> | 2012-06-07 11:23:45 -0500 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-07-12 13:11:28 -0500 |
| commit | c71d22e87eea8c6bf0ac40e261784b2794195ba9 (patch) | |
| tree | d45e8250c4874185b281db538b7766dd25cf3d73 /src/include/usr/intr | |
| parent | b3d74be6078f5c0597526eaf16b2ddd9c3a6a39a (diff) | |
| download | blackbird-hostboot-c71d22e87eea8c6bf0ac40e261784b2794195ba9.tar.gz blackbird-hostboot-c71d22e87eea8c6bf0ac40e261784b2794195ba9.zip | |
mboxdd setup ISRN and XIVR xscom registers
RTC: 44240
Change-Id: I8767265b5f5eccfda2c748c9b0d51027dffbb7eb
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1250
Tested-by: Jenkins Server
Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/intr')
| -rw-r--r-- | src/include/usr/intr/interrupt.H | 54 |
1 files changed, 32 insertions, 22 deletions
diff --git a/src/include/usr/intr/interrupt.H b/src/include/usr/intr/interrupt.H index f87a5cb5d..51fe950e0 100644 --- a/src/include/usr/intr/interrupt.H +++ b/src/include/usr/intr/interrupt.H @@ -1,25 +1,26 @@ -// IBM_PROLOG_BEGIN_TAG -// This is an automatically generated prolog. -// -// $Source: src/include/usr/intr/interrupt.H $ -// -// IBM CONFIDENTIAL -// -// COPYRIGHT International Business Machines Corp. 2011 -// -// p1 -// -// Object Code Only (OCO) source materials -// Licensed Internal Code Source Materials -// IBM HostBoot Licensed Internal Code -// -// The source code for this program is not published or other- -// wise divested of its trade secrets, irrespective of what has -// been deposited with the U.S. Copyright Office. -// -// Origin: 30 -// -// IBM_PROLOG_END +/* IBM_PROLOG_BEGIN_TAG + * This is an automatically generated prolog. + * + * $Source: src/include/usr/intr/interrupt.H $ + * + * IBM CONFIDENTIAL + * + * COPYRIGHT International Business Machines Corp. 2011-2012 + * + * p1 + * + * Object Code Only (OCO) source materials + * Licensed Internal Code Source Materials + * IBM HostBoot Licensed Internal Code + * + * The source code for this program is not published or other- + * wise divested of its trade secrets, irrespective of what has + * been deposited with the U.S. Copyright Office. + * + * Origin: 30 + * + * IBM_PROLOG_END_TAG + */ #ifndef INTERRUPT_H #define INTERRUPT_H @@ -113,6 +114,15 @@ namespace INTR */ errlHndl_t disableExternalInterrupts(); + /** + * Get the cpu id of the interrupt destination + * @param[in] i_xisr, The XISR value for the interrupt + * @return cpuId (PIR value) + * @pre The interrupt service provider is initialized + * @note the XISR = IRSN | IRSN_source + */ + uint32_t intrDestCpuId(uint32_t i_xisr); + }; #endif |

