Create persistent memory specific interface
Create persistent memory specific interface.
- Move persistent memory related properties from Dimm
interface.
- Keeping only SMBIOS type 17 standard properties under
Dimm interface.
- Create sub interfaces to keep things organized under
new interface.
Tested:
- Successful build and verified changes in
server.hpp and server.cpp.
Signed-off-by: Nirmal Patel <nirmal.patel@intel.com>
Change-Id: I48bcab6196b4c840d9e1c53ae8cea1871fc36e67
diff --git a/xyz/openbmc_project/Inventory/Item/PersistentMemory/Partition.interface.yaml b/xyz/openbmc_project/Inventory/Item/PersistentMemory/Partition.interface.yaml
new file mode 100644
index 0000000..80bb730
--- /dev/null
+++ b/xyz/openbmc_project/Inventory/Item/PersistentMemory/Partition.interface.yaml
@@ -0,0 +1,25 @@
+description: >
+ Implement to provide memory partition attributes.
+properties:
+ - name: PartitionId
+ type: string
+ description: >
+ Unique region ID representing a specific region within the Memory.
+ - name: SizeInKiB
+ type: uint64
+ description: >
+ Size of this memory region in kibibytes (KiB).
+ - name: MemoryClassification
+ type: string
+ description: >
+ Classification of memory occupied by the given memory region.
+ - name: OffsetInKiB
+ type: uint64
+ description: >
+ Offset with in the Memory that corresponds to the starting of this
+ memory region in KiB.
+ - name: PassphraseState
+ type: boolean
+ description: >
+ An indication of whether the state of the passphrase for this region
+ is enabled.