summaryrefslogtreecommitdiffstats
path: root/src/usr/intr/intrrp.H
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/intr/intrrp.H')
-rw-r--r--src/usr/intr/intrrp.H23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/usr/intr/intrrp.H b/src/usr/intr/intrrp.H
index 69c4be68b..b32cf5738 100644
--- a/src/usr/intr/intrrp.H
+++ b/src/usr/intr/intrrp.H
@@ -31,6 +31,7 @@
#include <sys/msg.h>
#include <sys/misc.h>
#include <sys/time.h>
+#include <sys/internode.h>
#include <intr/interrupt.H>
#include <map>
#include <algorithm>
@@ -539,6 +540,28 @@ namespace INTR
void shutDown();
/**
+ * Wait for all nodes to disable interrupts on MPIPL
+ * @param[in] i_sync_type, the type of event to sync on
+ * @see src/include/sys/internode.h
+ * @return err log handle
+ */
+ errlHndl_t syncNodes(intr_mpipl_sync_t i_sync_type);
+
+ /**
+ * Initailize the mpipl node sync data area for this HB instance
+ * @return err log handle
+ */
+ errlHndl_t initializeMpiplSyncArea();
+
+ /**
+ * Add the existance of another HB instance to this instance
+ * mpipl sync data area.
+ * @param[in] The instance number of the HB instance to add
+ * @return error log handle
+ */
+ errlHndl_t addHbNodeToMpiplSyncArea(uint64_t i_hbNode);
+
+ /**
* Calculate the adress offset for the given cpu
* @param[in] i_pir PIR value for the presenter
* @return the offset
OpenPOWER on IntegriCloud