Capture data support for an isolation bit

User applications can not specify registers to capture if there is an
active attention on a specific bit in an isolation node. This helps
reduce the number of registers captured by default when analyzing an
isolation node.

Change-Id: I50c88cb8a2fa3d89d2c7446dbc04d0f33bbb0cd2
Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
diff --git a/src/hei_types.hpp b/src/hei_types.hpp
index b006a1c..530481a 100644
--- a/src/hei_types.hpp
+++ b/src/hei_types.hpp
@@ -9,6 +9,8 @@
 
 #include <stdint.h>
 
+#include <limits>
+
 namespace libhei
 {
 
@@ -114,6 +116,13 @@
 using BitPosition_t = uint8_t;
 
 /**
+ * The maximum bit position supported by the BitPosition_t type. Note that this
+ * value does not represent the maximum bit position for a specific register
+ * type. That will need to be calculated seperately.
+ */
+constexpr auto MAX_BIT_POSITION = std::numeric_limits<BitPosition_t>::max();
+
+/**
  * The hardware address of a register (right justified).
  *
  * Values: