Interface definition for reading and writing of SCOM registers

These interfaces will be used for reading and writing to the SCOM
registers. Details of exception handling is not included in this
commit.

Change-Id: I407f446c8de137b7ffc0ce83e837f00c6271ee85
Signed-off-by: Murulidhar Nataraju <murulidhar@in.ibm.com>
diff --git a/sbe_interfaces.hpp b/sbe_interfaces.hpp
new file mode 100755
index 0000000..ab3877e
--- /dev/null
+++ b/sbe_interfaces.hpp
@@ -0,0 +1,40 @@
+#pragma once
+
+#include <stdint.h>
+
+namespace openpower
+{
+namespace sbe
+{
+namespace scom
+{
+
+/**
+ * @brief Read processor SCOM register.
+ *
+ * Throws an exception on error.
+ *
+ * @param[in] FIFO device path associated with the SBE.
+ * @param[in] SCOM register address.
+ * @return The register data
+ */
+uint64_t read(const char* devPath,
+              uint64_t address);
+
+
+/**
+ * @brief Write processor SCOM register.
+ *
+ * Throws an exception on error.
+ *
+ * @param[in] FIFO device path associated with the SBE.
+ * @param[in] SCOM register address.
+ * @param[in] Data to be written into the register.
+ */
+void write(const char* devPath,
+           uint64_t address,
+           uint64_t data);
+
+}//namespace scom
+}//namespace sbe
+}//namespace openpower