Leonel Gonzalez | 5cd1a43 | 2017-07-27 16:15:11 -0500 | [diff] [blame] | 1 | description: > |
| 2 | Implement to provide mailbox daemon management features. |
| 3 | properties: |
| 4 | - name: State |
| 5 | type: enum[self.States] |
| 6 | description: > |
| 7 | The state of the mailbox daemon. |
| 8 | properties: |
| 9 | - name: LPC |
| 10 | type: enum[self.LPC] |
| 11 | description: > |
| 12 | The state of the LPC bus mapping. |
| 13 | methods: |
| 14 | - name: Reset |
| 15 | description: > |
| 16 | Reset the mailbox daemon. |
| 17 | - name: Suspend |
| 18 | description: > |
| 19 | Suspend the daemon to inhibit it from performing flash accesses. |
| 20 | - name: Resume |
| 21 | description: > |
| 22 | Activate the daemon to allow it to perform flash accesses. |
| 23 | parameters: |
| 24 | - name: FlashModified |
| 25 | type: boolean |
| 26 | description: > |
| 27 | Indicates if flash was modified. |
| 28 | - name: ClearCache |
| 29 | description: > |
| 30 | Direct the daemon to clear its cache since the data source has been modified. |
| 31 | - name: Kill |
| 32 | description: > |
| 33 | Stop the mailbox daemon. |
| 34 | |
| 35 | enumerations: |
| 36 | - name: States |
| 37 | description: > |
| 38 | The possible mailbox daemon states. |
| 39 | values: |
| 40 | - name: Active |
| 41 | description: > |
| 42 | The daemon is active and flash access is allowed. |
| 43 | - name: Suspended |
| 44 | description: > |
| 45 | The daemon is suspended and flash access is not allowed. |
| 46 | - name: LPC |
| 47 | description: > |
| 48 | The possible LPC bus mapping states. |
| 49 | values: |
| 50 | - name: Invalid |
| 51 | description: > |
| 52 | The LPC bus mapping is in an invalid state. |
| 53 | - name: Flash |
| 54 | description: > |
| 55 | The LPC bus mapping points to flash directly. |
| 56 | - name: Memory |
| 57 | description: > |
| 58 | The LPC bus mapping points to memory. |
| 59 | |