diff options
author | Peter Schiffer <pschiffe@redhat.com> | 2013-04-04 19:02:29 +0200 |
---|---|---|
committer | Peter Schiffer <pschiffe@redhat.com> | 2013-04-04 19:02:29 +0200 |
commit | 381f0c0a5cd98a48dc6d5a5e0b98443707d8ea81 (patch) | |
tree | bdad2e739aac00eb02e71dfe7d4074268c6f69a4 /mof/LMI_Hardware.mof | |
parent | c47c5c19c5857439db30e40d4a691f5b700adf5f (diff) | |
download | openlmi-providers-381f0c0a5cd98a48dc6d5a5e0b98443707d8ea81.tar.gz openlmi-providers-381f0c0a5cd98a48dc6d5a5e0b98443707d8ea81.tar.xz openlmi-providers-381f0c0a5cd98a48dc6d5a5e0b98443707d8ea81.zip |
Hardware: Added Processor Cache Memory Provider
New Providers:
* LMI_ProcessorCacheMemoryProvider
* LMI_AssociatedProcessorCacheMemoryProvider
Other Changes:
* Optimized usage of string constats
* Fixed wrong usage of pointers in dmidecode.c
* Filled unknown mandatory fields in providers with "Unknown" value
* Replaced hard coded numbers with LMI constants
* Minor optimization - don't gather data which won't be used
Diffstat (limited to 'mof/LMI_Hardware.mof')
-rw-r--r-- | mof/LMI_Hardware.mof | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/mof/LMI_Hardware.mof b/mof/LMI_Hardware.mof index e655c01..cdc7147 100644 --- a/mof/LMI_Hardware.mof +++ b/mof/LMI_Hardware.mof @@ -128,6 +128,21 @@ class LMI_ProcessorElementCapabilities: CIM_ElementCapabilities LMI_ProcessorCapabilities REF Capabilities; }; +[ Provider("cmpi:cmpiLMI_ProcessorCacheMemory") ] +class LMI_ProcessorCacheMemory: CIM_Memory +{ +}; + +[ Provider("cmpi:cmpiLMI_AssociatedProcessorCacheMemory") ] +class LMI_AssociatedProcessorCacheMemory: CIM_AssociatedCacheMemory +{ + [Override("Antecedent")] + LMI_ProcessorCacheMemory REF Antecedent; + + [Override("Dependent")] + LMI_Processor REF Dependent; +}; + [ Provider("cmpi:cmpiLMI_PCIDevice") ] class LMI_PCIDevice: CIM_PCIDevice { |