From 989e8f2f1f5bd68731472874bed19fab48a202af Mon Sep 17 00:00:00 2001
From: Frans Kaashoek <kaashoek@mit.edu>
Date: Sun, 18 Sep 2022 16:32:21 -0400
Subject: [PATCH] Remove unused PLIC_M* macros

---
 kernel/memlayout.h | 3 ---
 1 file changed, 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