aboutsummaryrefslogtreecommitdiff
path: root/include/sbi/riscv_asm.h
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2019-05-24 07:58:05 +0530
committerAnup Patel <anup@brainfault.org>2019-05-24 08:22:47 +0530
commit95b7480ab4b438cf545afae200b40012e83f1dda (patch)
tree44e30d69d4222833e36d3092005ac0a09b45f391 /include/sbi/riscv_asm.h
parent2dfed32c463eef80a0eea7108117ce18dc80c527 (diff)
lib: Factor-out TLB management from IPI management
This patch factor-out TLB management from IPI management to separate sources sbi_tlb.c and sbi_tlb.h. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Atish Patra <atish.patra@wdc.com>
Diffstat (limited to 'include/sbi/riscv_asm.h')
-rw-r--r--include/sbi/riscv_asm.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/sbi/riscv_asm.h b/include/sbi/riscv_asm.h
index 704c53c..4f12c03 100644
--- a/include/sbi/riscv_asm.h
+++ b/include/sbi/riscv_asm.h
@@ -32,9 +32,6 @@
#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_MAX_SIZE (1UL << 30)
-
#define REG_L __REG_SEL(ld, lw)
#define REG_S __REG_SEL(sd, sw)
#define SZREG __REG_SEL(8, 4)