commit | bef102a3038a6127b71850b1db35803b944c1cd2 | [log] [tgz] |
---|---|---|
author | Willy Tu <wltu@google.com> | Thu Jun 09 15:36:09 2022 -0700 |
committer | Willy Tu <wltu@google.com> | Tue Jul 19 17:54:39 2022 +0000 |
tree | 64f57668d2c0deb27cb39c82bdbce7b35863c39b | |
parent | 1a2e1506b92b333f3703455eea0e88f277ba8b0f [diff] |
dbus-sdr: Update bitset usage for VR profile status The assertions for getVrEventStatus is not used properly. It used to be different with uint8_t which is set to 1 << index. With bitset, we can just set it to the index directly. Wrapped with htole16 just in case. Tested: The profile status still works. With correct response this time ``` $ ipmitool raw 0x4 0x2b 0xd3 00 02 00 00 00 // Update the profile $ ipmitool raw 0x4 0x30 0xd3 0 0 4 0 0 0 0 0 0 $ ipmitool raw 0x4 0x2b 0xd3 00 04 00 00 00 ``` Change-Id: Ic59e88b65ff9b45ba759a8c62a141cf14e8bdc20 Signed-off-by: Willy Tu <wltu@google.com>
meson builddir ninja -C builddir
meson builddir -Dbuildtype=minsize -Db_lto=true -Dtests=disabled ninja -C builddir
If any of the dependencies are not found on the host system during configuration, meson automatically gets them via its wrap dependencies mentioned in ipmid/subprojects
.
meson builddir -Dwrap_mode=nofallback ninja -C builddir
meson builddir -Dbuildtype=debug ninja -C builddir
meson builddir -Db_coverage=true -Dtests=enabled ninja -C builddir test ninja -C builddir coverage