Add NMI source Property
system need to keep the NMI signal event source by this Property
Tested
it's tested in system for IPMI OEM command - get/set NMI source
Change-Id: I4181f54b74ca3b5c2522284fb34282f68a53e6e0
Signed-off-by: Chen,Yugang <yugang.chen@linux.intel.com>
diff --git a/com/intel/Control/NMISource.interface.yaml b/com/intel/Control/NMISource.interface.yaml
new file mode 100644
index 0000000..a172159
--- /dev/null
+++ b/com/intel/Control/NMISource.interface.yaml
@@ -0,0 +1,46 @@
+description: >
+ An interface for NMI signal source.
+properties:
+ - name: BMCSource
+ type: enum[self.BMCSourceSignal]
+ description: >
+ Keeps track of NMI signal source in BMC.
+ default: 'None'
+ - name: Enabled
+ type: boolean
+ description: >
+ whether the BMC enables NMI event.
+ default: true
+
+enumerations:
+ - name: BMCSourceSignal
+ description: >
+ The type of NMI source.
+ values:
+ - name: None
+ description: >
+ NONE NMI signal.
+ - name: FpBtn
+ description: >
+ Via Front Panel NMI button.
+ - name: WdPreTimeout
+ description: >
+ Via watchdog pre-timeout.
+ - name: PefMatch
+ description: >
+ Via PEF match.
+ - name: ChassisCmd
+ description: >
+ Via Chassis command.
+ - name: MemoryError
+ description: >
+ Via memory error.
+ - name: PciSerrPerr
+ description: >
+ Via PCI SERR PERR.
+ - name: SouthbridgeNmi
+ description: >
+ Via southbridge NMI.
+ - name: ChipsetNmi
+ description: >
+ Via chipset NMI.