Add hardware access support HardwareRegister class

Signed-off-by: Zane Shelley <zshelle@us.ibm.com>
Change-Id: Id0ff5a3c06e02ae5dc2c9ca5096fe636391daa56
diff --git a/src/isolator/hei_isolator.cpp b/src/isolator/hei_isolator.cpp
index cbb6652..1ff52a4 100644
--- a/src/isolator/hei_isolator.cpp
+++ b/src/isolator/hei_isolator.cpp
@@ -1,5 +1,6 @@
 
 #include <isolator/hei_isolator.hpp>
+#include <register/hei_hardware_register.hpp>
 
 namespace libhei
 {
@@ -32,13 +33,22 @@
     // Flush the isolation data to ensure a clean slate.
     o_isoData.clear();
 
-    // BEGIN temporary code
+    // Analyze active error on each chip.
     for ( auto const & chip : i_chipList )
     {
+        // In order to access hardware, we must tell the HardwareRegisters which
+        // chip to access.
+        HardwareRegister::setAccessor( chip );
+
+        // BEGIN temporary code
         HEI_INF( "Isolator::isolate(%p,%u)", chip.getChip(),
                  chip.getType() );
+        // END temporary code
+
+        // Clean up the hardware accessor chip to prevent accidental hardware
+        // access.
+        HardwareRegister::clearAccessor();
     }
-    // END temporary code
 
     return rc;
 }