================
@@ -276,6 +276,14 @@ foreach i = 0...15 in {
 foreach i = 0...63 in
   def : SysReg<"pmpaddr"#i, !add(0x3B0, i)>;
 
+//===----------------------------------------------------------------------===//
+// Machine Non-Maskable Interrupt Handling
+//===----------------------------------------------------------------------===//
+def:SysReg<"mnscratch",0x740>;
----------------
topperc wrote:

ARen't these already in the file?

```
//===-----------------------------------------------                            
 
// Resumable Non-Maskable Interrupts(Smrnmi) CSRs                               
 
//===-----------------------------------------------                            
 
def : SysReg<"mnscratch", 0x740>;                                               
 
def : SysReg<"mnepc", 0x741>;                                                   
 
def : SysReg<"mncause", 0x742>;                                                 
 
def : SysReg<"mnstatus", 0x744>;
```

https://github.com/llvm/llvm-project/pull/111668
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to