diff --git a/include/boot/os_info.h b/include/boot/os_info.h index 679c094c..43135380 100644 --- a/include/boot/os_info.h +++ b/include/boot/os_info.h @@ -58,6 +58,8 @@ struct os_info { uint8_t reserved[3804]; } __packed; +STATIC_ASSERT(sizeof(struct os_info) == 4096) + /* * Return 0 in case of valid os_info * Return -EOS_INFO_MISSING if os_info address is not page aligned or page is