summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorFrans Kaashoek <[email protected]>2022-09-18 16:32:21 -0400
committerFrans Kaashoek <[email protected]>2022-09-18 16:32:21 -0400
commit989e8f2f1f5bd68731472874bed19fab48a202af (patch)
treee4826bcefbbabbe8640f2fff51474aa138b02140 /kernel
parent4b46c0c6eb464782faa36d158246ba4e3238c970 (diff)
downloadxv6-labs-989e8f2f1f5bd68731472874bed19fab48a202af.tar.gz
xv6-labs-989e8f2f1f5bd68731472874bed19fab48a202af.tar.bz2
xv6-labs-989e8f2f1f5bd68731472874bed19fab48a202af.zip
Remove unused PLIC_M* macros
Diffstat (limited to 'kernel')
-rw-r--r--kernel/memlayout.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/memlayout.h b/kernel/memlayout.h
index 776f98c..cac3cb1 100644
--- a/kernel/memlayout.h
+++ b/kernel/memlayout.h
@@ -34,11 +34,8 @@
#define PLIC 0x0c000000L
#define PLIC_PRIORITY (PLIC + 0x0)
#define PLIC_PENDING (PLIC + 0x1000)
-#define PLIC_MENABLE(hart) (PLIC + 0x2000 + (hart)*0x100)
#define PLIC_SENABLE(hart) (PLIC + 0x2080 + (hart)*0x100)
-#define PLIC_MPRIORITY(hart) (PLIC + 0x200000 + (hart)*0x2000)
#define PLIC_SPRIORITY(hart) (PLIC + 0x201000 + (hart)*0x2000)
-#define PLIC_MCLAIM(hart) (PLIC + 0x200004 + (hart)*0x2000)
#define PLIC_SCLAIM(hart) (PLIC + 0x201004 + (hart)*0x2000)
// the kernel expects there to be RAM