Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
Signed-off-by: Lup Yuen Lee <luppy@appkaki.com>
  • Loading branch information
lupyuen committed Mar 1, 2025
1 parent bc5a61e commit 6b95885
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arch/risc-v/src/eic7700x/hardware/eic7700x_plic.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,16 @@
/* Hart 0 S-Mode Interrupt Enable */

#define EIC7700X_PLIC_ENABLE0 (EIC7700X_PLIC_BASE + 0x002080)
#define EIC7700X_PLIC_ENABLE_HART (0x100)
#define EIC7700X_PLIC_ENABLE_HART 0x100

/* Hart 0 S-Mode Priority Threshold */

#define EIC7700X_PLIC_THRESHOLD0 (EIC7700X_PLIC_BASE + 0x201000)
#define EIC7700X_PLIC_THRESHOLD_HART (0x2000)
#define EIC7700X_PLIC_THRESHOLD_HART 0x2000

/* Hart 0 S-Mode Claim / Complete */

#define EIC7700X_PLIC_CLAIM0 (EIC7700X_PLIC_BASE + 0x201004)
#define EIC7700X_PLIC_CLAIM_HART (0x2000)
#define EIC7700X_PLIC_CLAIM_HART 0x2000

#endif /* __ARCH_RISCV_SRC_EIC7700X_HARDWARE_EIC7700X_PLIC_H */

0 comments on commit 6b95885

Please sign in to comment.