Skip to content

Commit

Permalink
Remove unused PLIC_M* macros
Browse files Browse the repository at this point in the history
  • Loading branch information
kaashoek committed Sep 18, 2022
1 parent 4b46c0c commit 989e8f2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions kernel/memlayout.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 989e8f2

Please sign in to comment.