diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/sbi/riscv_asm.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sbi/riscv_asm.h b/include/sbi/riscv_asm.h index 357bcb4..704c53c 100644 --- a/include/sbi/riscv_asm.h +++ b/include/sbi/riscv_asm.h @@ -31,7 +31,9 @@ #define PAGE_SHIFT (12) #define PAGE_SIZE (_AC(1, UL) << PAGE_SHIFT) #define PAGE_MASK (~(PAGE_SIZE - 1)) -#define SBI_TLB_FLUSH_ALL ((unsigned long)-1) + +#define SBI_TLB_FLUSH_ALL ((unsigned long)-1) +#define SBI_TLB_FLUSH_MAX_SIZE (1UL << 30) #define REG_L __REG_SEL(ld, lw) #define REG_S __REG_SEL(sd, sw) |
