summaryrefslogtreecommitdiffstats
path: root/src/hardware/LMI_ProcessorCapabilitiesProvider.c
Commit message (Collapse)AuthorAgeFilesLines
* Hardware: spring cleanup & refactorPeter Schiffer2014-05-121-9/+9
| | | | | | * use openlmi common library where possible * get rid of LMI_Hardware.h file * some other cosmetic changes
* libopenlmi: reorganize and gatherJan Synacek2014-04-301-3/+2
| | | | | | | Make naming consistent. Gather common functionality into one library and try to use it across all providers. Introduce libtool-style versioning for libraries.
* Hardware: add cpu cores and threads fallbackPeter Schiffer2014-01-281-9/+9
| | | | | If dmidecode doesn't report correct cpu cores or cpu threads, use the values from lscpu.
* Updated copyright yearsPeter Schiffer2014-01-161-1/+1
| | | | Updated copyright years to include new year 2014.
* Fix missing format stringsRadek Novacek2013-11-181-1/+1
| | | | Missing format strings are considered a vulnerability.
* Add lmi_get_computer_system function and fix lmi_get_system_nameRadek Novacek2013-10-311-4/+4
| | | | | | | | | | | | | | PG_ComputerSystem has different method how to get hostname than our providers. In order to create the associations to this class we need to enumerate it. The downside is that all providers must supply CMPIContext to the lmi_init function. New function lmi_get_computer_system returns CMPIObjectPath to the configured CIM_ComputerSystem subclass instance. This object should be used in all references with ComputerSystem. Function lmi_get_system_name has been altered to return same value as ComputerSystem "Name" property.
* Call lmi_init function from providersRadek Novacek2013-09-191-0/+1
|
* Adapt for KonkretCMPI changes in EmbeddedInstancesRadek Novacek2013-07-011-2/+2
| | | | | | KonkretCMPI was recently changed to handle EmbeddedInstances as KInstance type instead of KString, which is much more convinient to use, but the generated sources must be sometimes fixed.
* Hardware: Added Physical Memory ProviderPeter Schiffer2013-04-231-2/+3
| | | | | | | | | | New Providers: * LMI_PhysicalMemoryProvider * LMI_PhysicalMemoryRealizesProvider Other Changes: * Fixed InstanceID in hardware to match the rest of the providers * Removed some unused variables
* Hardware: Added Processor Chip ProviderPeter Schiffer2013-04-101-2/+2
| | | | | | | | | | Added two new providers: * LMI_ProcessorChipProvider * LMI_ProcessorChipRealizesProvider Other Changes: * Added Association qualifier to the association classes in Hardware mof file * Removed initialization for static strings used in snprintf() function
* Hardware: Code clean upPeter Schiffer2013-04-081-47/+10
| | | | | | * Got rid of asprintf() where suitable (used static memory instead) * Removed if conditional before free() * Replaced more hard coded numbers with LMI constants
* Hardware: Added Processor Cache Memory ProviderPeter Schiffer2013-04-041-12/+16
| | | | | | | | | | | | | 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
* Hardware: added new providersPeter Schiffer2013-03-261-0/+275
Providers added: * LMI_ProcessorCapabilitiesProvider * LMI_ProcessorElementCapabilitiesProvider