#
bbeb9bdd |
| 06-Dec-2022 |
Patrick Williams <patrick@stwcx.xyz> |
reformat and fix markdownlint issues
Reformat all the files with the latest settings from openbmc-build-scripts and fix any markdownlint issues.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
reformat and fix markdownlint issues
Reformat all the files with the latest settings from openbmc-build-scripts and fix any markdownlint issues.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I955a341441b24487b2e5552692b749fa21b37757
show more ...
|
#
23552631 |
| 14-May-2021 |
Matt Spinler <spinler@us.ibm.com> |
Use full name for enum default values In the case where there were multiple interfaces specified in the settings YAML that had the same last segment, the code generator would create
Use full name for enum default values In the case where there were multiple interfaces specified in the settings YAML that had the same last segment, the code generator would create unbuildable code when those classes both specified default values for properties that were enums. This happened because there was a 'using namespace ...' line for every class at global scope, so when the default value for the enum was specified, the compiler wouldn't know which class to use. For example, if there were two interfaces that used a class called Mode that each tried to set default values like: * Mode::bootMode::Safe * Mode::powerMode::Static then the generated code wouldn't compile. Fix this by removing the global using namespace lines and add the full prefix to the enum default values when they are set in the initSetting lambdas. Note that the code still won't compile when classes of the same name are used on the same object path. This is because of the 'using IfaceX' lines in the scope of each Impl class. Fixing that is outside of the scope of this commit, which was done to fix a real world use. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I25ac36a58febe4449a29af845e5faba12bb0e63f
show more ...
|
#
db838626 |
| 27-Aug-2017 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
settings objects: support multiple interfaces A settings object had the limitation that it could implement a single, corresponding settings interface. This was found to be too restrictiv
settings objects: support multiple interfaces A settings object had the limitation that it could implement a single, corresponding settings interface. This was found to be too restrictive because there are use-cases (such as in the boot settings area) that would simplify describing settings with objects that can implement more than one interface. This commit adds the ability for settings objects to implement multiple interfaces. The settings config yaml now should contain a list of interface(s) under each settings object. Change-Id: I90dec9e766e1afd1b0c8616e491832714bbd069d Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
show more ...
|
#
61d3b6a1 |
| 25-Jul-2017 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
Validate changes to default settings. Resolves openbmc/openbmc#1771 Change-Id: I763e811e88710425131ec504ff933e3c41c458e6 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.i
Validate changes to default settings. Resolves openbmc/openbmc#1771 Change-Id: I763e811e88710425131ec504ff933e3c41c458e6 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
show more ...
|
#
5de0957c |
| 16-May-2017 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
Add settings application Implement settings d-bus interfaces. Define a settings policy file (this commit checks in an example YAML based policy), based on which code for a setti
Add settings application Implement settings d-bus interfaces. Define a settings policy file (this commit checks in an example YAML based policy), based on which code for a settings manager will be generated via a python script. This settings manager composes and places desired settings objects on the bus. The policy file can be supplied by a system specific bitbake recipe. Resolves openbmc/openbmc#1487. Change-Id: Ice0d3b319d9466824cef323a6915eb20ca5cae5c Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
show more ...
|