summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Spinler <spinler@us.ibm.com>2017-03-13 13:54:03 -0500
committerMatt Spinler <spinler@us.ibm.com>2017-03-14 10:55:07 -0500
commit0f91d47ac9a2315bd3bfb803fec8ab90bb743786 (patch)
tree94d9b3085718d173ec047f270f6fb7fba024e0d8
parent46ec472a58052c95b346eb62350538cb5336171e (diff)
downloadopenpower-dbus-interfaces-0f91d47ac9a2315bd3bfb803fec8ab90bb743786.zip
openpower-dbus-interfaces-0f91d47ac9a2315bd3bfb803fec8ab90bb743786.tar.gz
Add YAML for host access failures
Add the YAML for creating errors and callouts for host access related failures. Change-Id: Id9c37d655e91ef31896a4fa9688efd7cc1938f44 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
-rw-r--r--org/open_power/Host/Access.errors.yaml5
-rw-r--r--org/open_power/Host/Access.metadata.yaml13
2 files changed, 18 insertions, 0 deletions
diff --git a/org/open_power/Host/Access.errors.yaml b/org/open_power/Host/Access.errors.yaml
new file mode 100644
index 0000000..08d6f4b
--- /dev/null
+++ b/org/open_power/Host/Access.errors.yaml
@@ -0,0 +1,5 @@
+- name: WriteCFAM
+ description: Failed to do a CFAM register write
+
+- name: ReadCFAM
+ description: Failed to do a CFAM register read
diff --git a/org/open_power/Host/Access.metadata.yaml b/org/open_power/Host/Access.metadata.yaml
new file mode 100644
index 0000000..45a9450
--- /dev/null
+++ b/org/open_power/Host/Access.metadata.yaml
@@ -0,0 +1,13 @@
+- name: WriteCFAM
+ meta:
+ - str:"ADDRESS=0x%X"
+ type: uint32
+ inherits:
+ - xyz.openbmc_project.Common.Callout.Device
+
+- name: ReadCFAM
+ meta:
+ - str:"ADDRESS=0x%X"
+ type: uint32
+ inherits:
+ - xyz.openbmc_project.Common.Callout.Device
OpenPOWER on IntegriCloud