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>
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