diff options
-rw-r--r-- | lib/utils/sys/htif.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/utils/sys/htif.c b/lib/utils/sys/htif.c index f0ba814..e82590f 100644 --- a/lib/utils/sys/htif.c +++ b/lib/utils/sys/htif.c @@ -9,13 +9,13 @@ #include <sbi_utils/sys/htif.h> #define HTIF_DATA_BITS 48 -#define HTIF_DATA_MASK ((1UL << HTIF_DATA_BITS) - 1) +#define HTIF_DATA_MASK ((1ULL << HTIF_DATA_BITS) - 1) #define HTIF_DATA_SHIFT 0 #define HTIF_CMD_BITS 8 -#define HTIF_CMD_MASK ((1UL << HTIF_CMD_BITS) - 1) +#define HTIF_CMD_MASK ((1ULL << HTIF_CMD_BITS) - 1) #define HTIF_CMD_SHIFT 48 #define HTIF_DEV_BITS 8 -#define HTIF_DEV_MASK ((1UL << HTIF_DEV_BITS) - 1) +#define HTIF_DEV_MASK ((1ULL << HTIF_DEV_BITS) - 1) #define HTIF_DEV_SHIFT 56 #define HTIF_DEV_SYSTEM 0 |