summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/arch/pirformat.H5
-rw-r--r--src/include/usr/intr/interrupt.H3
2 files changed, 7 insertions, 1 deletions
diff --git a/src/include/arch/pirformat.H b/src/include/arch/pirformat.H
index ec64b669a..19f3609ed 100644
--- a/src/include/arch/pirformat.H
+++ b/src/include/arch/pirformat.H
@@ -81,6 +81,11 @@ struct PIR_t
return word < r.word;
}
+ bool operator== (const PIR_t& rhs)
+ {
+ return (word == rhs.word);
+ }
+
// Some more handy constants
enum
{
diff --git a/src/include/usr/intr/interrupt.H b/src/include/usr/intr/interrupt.H
index 1666abd15..38d0fa473 100644
--- a/src/include/usr/intr/interrupt.H
+++ b/src/include/usr/intr/interrupt.H
@@ -141,6 +141,7 @@ namespace INTR
MSG_INTR_EOI, //!< Issue EOI when received
MSG_INTR_DRAIN_QUEUE, //!< Allow intrp to drain Q of EOI
MSG_INTR_COALESCE, //!< Pending interrupt to be handled
+ MSG_INTR_ENABLE_PSI_INTR, //!< Enable PSIHB Interrupts
};
/**
@@ -215,7 +216,7 @@ namespace INTR
* @param[in] i_target The target processor
* @return error log handle on error
*/
- //errlHndl_t enablePsiIntr(TARGETING::Target * i_target);
+ errlHndl_t enablePsiIntr(TARGETING::Target * i_target);
/**
* Return the interrupt presenter for requested target/thread
OpenPOWER on IntegriCloud