commit | 796e82405eaa3180d8f4f51fb075a4b62783d521 | [log] [tgz] |
---|---|---|
author | Jian Zhang <zhangjian.3032@bytedance.com> | Thu Feb 01 14:07:34 2024 +0800 |
committer | Jian Zhang <zhangjian3032@gmail.com> | Sun Feb 04 02:20:56 2024 +0000 |
tree | 3579bd6e66b39ea1d4470aaefb6f13e4b6576093 | |
parent | cfd7fa83d3b5ab7d85eecc4b461df70cccf5ff45 [diff] |
Change pack type from UINT8_C to uint8_t See the stdint.h file: ``` \# define UINT8_C(c) c \# define UINT16_C(c) c \# define UINT32_C(c) c ## U ``` The UINT8_C is a macro, it will be replaced by the value of c. The size of UINT8_C is 4 and the size of uint8_t is 1. Tested: ``` 1. send ipmi command on the serial port to get static IPv6 router prefix length. ~# ipmitool raw 0x0c 0x02 0x01 0x43 0x00 0x00 11 00 2. set static IPv6 router address on the bios setup and reboot bios check the result of static IPv6 router prefix length. The static IPv6 router address and prefix length can be successfully displayed on the bios setup. ``` Signed-off-by: Jian Zhang <zhangjian.3032@bytedance.com> Change-Id: I1320e466217d5a3db75a7b99545eed922b00b6e2
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