From f6ed05674df3efa8a1066890648ce6cbe903e45c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9F=9A=E6=9C=A8=20=E9=89=89?= Date: Sat, 3 Feb 2024 20:18:35 +0800 Subject: [PATCH] Update types.h --- include/arch/arm32/types.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/arch/arm32/types.h b/include/arch/arm32/types.h index 1a723c47..014d110a 100644 --- a/include/arch/arm32/types.h +++ b/include/arch/arm32/types.h @@ -43,6 +43,18 @@ typedef unsigned long long u64; typedef float f32; typedef double f64; +typedef signed char int8_t; +typedef unsigned char uint8_t; + +typedef signed short int16_t; +typedef unsigned short uint16_t; + +typedef signed int int32_t; +typedef unsigned int uint32_t; + +typedef signed long long int64_t; +typedef unsigned long long uint64_t; + #ifdef CONFIG_ARM64 #define BITS_PER_LONG 64 #else /* CONFIG_ARM64 */