forked from Mirrors/opensbi
libfdt: Add INT32_MAX and UINT32_MAX in libfdt_env.h
Add two macros in preparation to sync libfdt codes to latest v1.5.1 release from upstream. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Anup Patel <anup.patel@wdc.com>
This commit is contained in:
@@ -57,6 +57,8 @@
|
|||||||
|
|
||||||
#define INT_MAX ((int)(~0U >> 1))
|
#define INT_MAX ((int)(~0U >> 1))
|
||||||
#define UINT_MAX ((unsigned int)~0U)
|
#define UINT_MAX ((unsigned int)~0U)
|
||||||
|
#define INT32_MAX INT_MAX
|
||||||
|
#define UINT32_MAX UINT_MAX
|
||||||
|
|
||||||
#ifdef __CHECKER__
|
#ifdef __CHECKER__
|
||||||
#define FDT_FORCE __attribute__((force))
|
#define FDT_FORCE __attribute__((force))
|
||||||
|
Reference in New Issue
Block a user