summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--xyz/openbmc_project/Mboxd/Internal/Manager.interface.yaml59
2 files changed, 60 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 9523617..e87701d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -47,7 +47,7 @@ Makefile.in
Makefile
.deps
arm-openbmc-linux-gnueabi-libtool
-mboxd
+/mboxd
mboxctl
cscope.out
/test/*.o
diff --git a/xyz/openbmc_project/Mboxd/Internal/Manager.interface.yaml b/xyz/openbmc_project/Mboxd/Internal/Manager.interface.yaml
new file mode 100644
index 0000000..a52bc48
--- /dev/null
+++ b/xyz/openbmc_project/Mboxd/Internal/Manager.interface.yaml
@@ -0,0 +1,59 @@
+description: >
+ Implement to provide mailbox daemon management features.
+properties:
+ - name: State
+ type: enum[self.States]
+ description: >
+ The state of the mailbox daemon.
+properties:
+ - name: LPC
+ type: enum[self.LPC]
+ description: >
+ The state of the LPC bus mapping.
+methods:
+ - name: Reset
+ description: >
+ Reset the mailbox daemon.
+ - name: Suspend
+ description: >
+ Suspend the daemon to inhibit it from performing flash accesses.
+ - name: Resume
+ description: >
+ Activate the daemon to allow it to perform flash accesses.
+ parameters:
+ - name: FlashModified
+ type: boolean
+ description: >
+ Indicates if flash was modified.
+ - name: ClearCache
+ description: >
+ Direct the daemon to clear its cache since the data source has been modified.
+ - name: Kill
+ description: >
+ Stop the mailbox daemon.
+
+enumerations:
+ - name: States
+ description: >
+ The possible mailbox daemon states.
+ values:
+ - name: Active
+ description: >
+ The daemon is active and flash access is allowed.
+ - name: Suspended
+ description: >
+ The daemon is suspended and flash access is not allowed.
+ - name: LPC
+ description: >
+ The possible LPC bus mapping states.
+ values:
+ - name: Invalid
+ description: >
+ The LPC bus mapping is in an invalid state.
+ - name: Flash
+ description: >
+ The LPC bus mapping points to flash directly.
+ - name: Memory
+ description: >
+ The LPC bus mapping points to memory.
+
OpenPOWER on IntegriCloud