Definition of the CSRs

From: Himanshu Chauhan <himanshu_at_thechauhan.dev>
Date: Mon, 23 Dec 2024 11:25:30 UTC
Hi,

I see the following in the code:

csr_read(sstatus)
csr_read(stval)

But I can’t figure out where these sstatus and stval are defined. I want to define CSRs for IMSIC. I am using hard coded values for now but want to get rid of them. How can I do that?

Regards
Himanshu