Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Jonathan Currier
litex
Commits
1ea22d49
Commit
1ea22d49
authored
5 years ago
by
Florent Kermarrec
Browse files
Options
Download
Email Patches
Plain Diff
software/include/base/csr-defs.h: add specific CSR_IRQ_MASK/PENDING for Minerva
parent
f2570701
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
litex/soc/software/include/base/csr-defs.h
litex/soc/software/include/base/csr-defs.h
+7
-0
No files found.
litex/soc/software/include/base/csr-defs.h
View file @
1ea22d49
...
...
@@ -3,8 +3,15 @@
#define CSR_MSTATUS_MIE 0x8
#if defined (__vexriscv__)
#define CSR_IRQ_MASK 0xBC0
#define CSR_IRQ_PENDING 0xFC0
#endif
#if defined (__minerva__)
#define CSR_IRQ_MASK 0x330
#define CSR_IRQ_PENDING 0x360
#endif
#define CSR_DCACHE_INFO 0xCC0
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment