aboutsummaryrefslogtreecommitdiff
path: root/include/kern/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/kern/common.h')
-rw-r--r--include/kern/common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/kern/common.h b/include/kern/common.h
index 021229b..0acc9d3 100644
--- a/include/kern/common.h
+++ b/include/kern/common.h
@@ -39,6 +39,7 @@ typedef enum { ENDIANNESS_LITTLE, ENDIANNESS_BIG } endianness_t;
#define ptr2reg(ptr) ((uint32_t)(ptrdiff_t)(ptr))
typedef __IO uint32_t bits_t;
+typedef uint16_t msize_t;
#define regset(reg, mask, val) ((reg) = ((reg) & ~mask) | (val << CTZ(mask)))