Browse Source

fix: clearify that mip.{MSIP, MTIP} are read-only

closes #62
luojia65 2 years ago
parent
commit
9418b6c59a
1 changed files with 0 additions and 6 deletions
  1. 0 6
      src/register/mip.rs

+ 0 - 6
src/register/mip.rs

@@ -80,18 +80,12 @@ set_clear_csr!(
 set_clear_csr!(
     /// Supervisor Software Interrupt Pending
     , set_ssoft, clear_ssoft, 1 << 1);
-set_clear_csr!(
-    /// Machine Software Interrupt Pending
-    , set_msoft, clear_msoft, 1 << 3);
 set_clear_csr!(
     /// User Timer Interrupt Pending
     , set_utimer, clear_utimer, 1 << 4);
 set_clear_csr!(
     /// Supervisor Timer Interrupt Pending
     , set_stimer, clear_stimer, 1 << 5);
-set_clear_csr!(
-    /// Machine Timer Interrupt Pending
-    , set_mtimer, clear_mtimer, 1 << 7);
 set_clear_csr!(
     /// User External Interrupt Pending
     , set_uext, clear_uext, 1 << 8);