#
abe609c3 |
| 01-Feb-2025 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: I1110519e8b57171124a25041fd8d82d1660dd82a Signed-off-by: Patrick Williams <p
clang-format: update latest spec and reformat
Copy the latest format file from the docs repository and apply.
Change-Id: I1110519e8b57171124a25041fd8d82d1660dd82a Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
ef2ea1dc |
| 18-Dec-2024 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: re-format for clang-19
clang-format-19 isn't compatible with the clang-format-18 output, so we need to reformat the code with the latest version. A few parameters in clang-tidy have b
clang-format: re-format for clang-19
clang-format-19 isn't compatible with the clang-format-18 output, so we need to reformat the code with the latest version. A few parameters in clang-tidy have been deprecated, so adjust the style file accordingly.
See Ie2f6eb3b043f2d655c9df806815afd7971fd0947 for updated style. See I88192b41ab7a95599a90915013579608af7bc56f for clang-19 enablement.
Change-Id: Iba058315bde08188b810ef94ef04714db6639083 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
ea6a65f0 |
| 16-Aug-2024 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda forma
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda formatting also changed, so we have made changes to the organization default style format to better handle lambda formatting.
See I5e08687e696dd240402a2780158664b7113def0e for updated style. See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.
Change-Id: I16de1731b6a2549fb11ca4115a9e477001c1f403 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
20de6de8 |
| 20-Oct-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-17 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-17 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: Ia881313b07842cd9448f3d600760f9deef2f57c3 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
f19e2713 |
| 10-May-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-16 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: I8eaad22ef9603fcdddf3de9d297aafbaf7472816 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
b9e362dd |
| 07-Dec-2021 |
George Liu <liuxiwei@inspur.com> |
Update the clang-format file with latest
refer: https://github.com/openbmc/docs/blob/master/style/cpp/.clang-format
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I51090ceaabd06da486f9
Update the clang-format file with latest
refer: https://github.com/openbmc/docs/blob/master/style/cpp/.clang-format
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I51090ceaabd06da486f9023ce2ab8e7d1efa123a
show more ...
|
#
642f437e |
| 12-Aug-2020 |
Kuiying Wang <kuiying.wang@intel.com> |
Initial patch for RBC BIOS Config Manager
ResetBIOSSettings is not implemented as part of this patch apart from that GetAttribute, SetAttribute and setters for BaseBIOSTable, PendingAttributes is im
Initial patch for RBC BIOS Config Manager
ResetBIOSSettings is not implemented as part of this patch apart from that GetAttribute, SetAttribute and setters for BaseBIOSTable, PendingAttributes is implemeted.
Interface: xyz.openbmc_project.BIOSConfig.Manager Properties: .BaseBIOSTable property a{s(sbsssvva(sv))} 1 "testAttributeName" "xyz.openbmc_pr... emits-change writable .PendingAttributes property a{s(sv)} 2 "test1" "xyz.openbmc_project.BIOSCo... emits-change writable .ResetBIOSSettings property s "xyz.openbmc_project.BIOSConfig.Manag... emits-change writable Methods: .GetAttribute method s svv - .SetAttribute method sv - -
Tested: 1. Service is working well. 2. All the dbus methods and properties are shown correctly. 3. Unit test done. a). Tree root@intel-obmc:~# busctl tree xyz.openbmc_project.BIOSConfigManager `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/bios_config `-/xyz/openbmc_project/bios_config/manager b). Instrospect root@intel-obmc:~# busctl introspect xyz.openbmc_project.BIOSConfigManager /xyz/openbmc_project/bios_config/manager NAME TYPE SIGNATURE RESULT/VALUE FLAGS org.freedesktop.DBus.Introspectable interface - - - .Introspect method - s - org.freedesktop.DBus.Peer interface - - - .GetMachineId method - s - .Ping method - - - org.freedesktop.DBus.Properties interface - - - .Get method ss v - .GetAll method s a{sv} - .Set method ssv - - .PropertiesChanged signal sa{sv}as - - xyz.openbmc_project.BIOSConfig.Manager interface - - - .GetAttribute method s svv - .SetAttribute method sv - - .BaseBIOSTable property a{s(sbsssvva(sv))} 2 "attr0" "xyz.openbmc_project.BIOSCo... emits-change writable .PendingAttributes property a{s(sv)} 1 "test1" "xyz.openbmc_project.BIOSCo... emits-change writable .ResetBIOSSettings property s "xyz.openbmc_project.BIOSConfig.Manag... emits-change writable c). Method: GetAttribute/SetAttribute root@intel-obmc:~# busctl call xyz.openbmc_project.BIOSConfigManager /xyz/openbmc_project/bios_config/manager xyz.openbmc_project.BIOSConfig.Manager SetAttribute sv test1 s "value" root@intel-obmc:~# busctl call xyz.openbmc_project.BIOSConfigManager /xyz/openbmc_project/bios_config/manager xyz.openbmc_project.BIOSConfig.Manager GetAttribute s test1 svv "xyz.openbmc_project.BIOSConfig.Manager.AttributeType.String" x 0 s "value" d). Service root@intel-obmc:~# systemctl status xyz.openbmc_project.biosconfig_manager * xyz.openbmc_project.biosconfig_manager.service - BIOS Config Manager - For Remote BIOS configuration update Loaded: loaded (8;;file://intel-obmc/lib/systemd/system/xyz.openbmc_project.biosconfig_manager.service/lib/systemd/system/xyz.openbmc_project.biosconfig_manager.service8;;; enabled; vendor preset: enabled) Drop-In: /etc/systemd/system/xyz.openbmc_project.biosconfig_manager.service.d `-8;;file://intel-obmc/etc/systemd/system/xyz.openbmc_project.biosconfig_manager.service.d/watchdog.confwatchdog.conf8;; Active: active (running) since Thu 1970-01-01 00:00:56 UTC; 25min ago Main PID: 394 (biosconfig-mana) CGroup: /system.slice/xyz.openbmc_project.biosconfig_manager.service `-394 /usr/bin/biosconfig-manager
Jan 01 00:00:56 intel-obmc systemd[1]: Started BIOS Config Manager - For Remote BIOS configuration update.
Change-Id: I7a7312ffbdf000aab254c77ed5e4f9a8d4ec4d45 Signed-off-by: Kuiying Wang <kuiying.wang@intel.com>
show more ...
|