From 77e153f8e8a6d0c5b6b3b519491cce8bdebdb854 Mon Sep 17 00:00:00 2001 From: Vishwanatha Subbanna Date: Fri, 21 Jul 2017 11:28:00 +0530 Subject: Update Host interface yaml Host.interface.yaml defines the mechanism to communicate with the Host via a method. Since the data associated with OCCReset command is the sensor id of the OCC, there is need now to augment the signature of the API to take this data portion. OCC error monitor application will call Execute method with the sensor ID of the failing OCC. Change-Id: I9f532f3d565448a1840c5ba61402c7cddea0224c Signed-off-by: Vishwanatha Subbanna --- org/open_power/Control/Host.interface.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/org/open_power/Control/Host.interface.yaml b/org/open_power/Control/Host.interface.yaml index c5ac672..ea5e9a1 100644 --- a/org/open_power/Control/Host.interface.yaml +++ b/org/open_power/Control/Host.interface.yaml @@ -16,11 +16,14 @@ methods: - name: command type: enum[self.Command] description: Requested command to execute against the host + - name: data + type: variant[byte] + description: Data associated with the command. signals: - name: CommandComplete description: > - Signal indicating that a Command has completed + Signal indicating that a command has completed properties: - name: command type: enum[self.Command] @@ -38,6 +41,7 @@ enumerations: description: > Host firmware should reset the OCC. This is invoked by OCC error monitor application on detecting the error. + Sensor ID of the failing OCC will be sent as data. This command will return once the command has been placed in command Queue. -- cgit v1.2.1