diff options
| author | cheapie <cheapiephp@gmail.com> | 2026-10-30 09:09:20 -0500 |
|---|---|---|
| committer | cheapie <cheapiephp@gmail.com> | 2026-10-30 09:09:20 -0500 |
| commit | a16b984f06ca52be0785073ee2c21fcae301fff3 (patch) | |
| tree | 78dd6761af6088d27e791a533bcb73a974cb3c89 /doc | |
| parent | 1feb4eefe87b555a64d51e08eca7315b30521345 (diff) | |
| download | rvcontroller-a16b984f06ca52be0785073ee2c21fcae301fff3.tar rvcontroller-a16b984f06ca52be0785073ee2c21fcae301fff3.tar.gz rvcontroller-a16b984f06ca52be0785073ee2c21fcae301fff3.tar.bz2 rvcontroller-a16b984f06ca52be0785073ee2c21fcae301fff3.tar.xz rvcontroller-a16b984f06ca52be0785073ee2c21fcae301fff3.zip | |
Add console interrupt support
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/csr.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/csr.txt b/doc/csr.txt index fdd7939..3eae14f 100644 --- a/doc/csr.txt +++ b/doc/csr.txt @@ -69,18 +69,19 @@ while some of the platform-use bits have been assigned to additional interrupts. 0x304 - mie (Machine Interrupt-Enable) - 31 18 17 16 15 8 7 6 0 + 31 19 18 17 16 15 8 7 6 0 +---------------------------------------------------------------------+ -| Reserved |MDIE|MMIE| Reserved |MTIE| Reserved | +| Reserved |MCIE|MDIE|MMIE| Reserved |MTIE| Reserved | +---------------------------------------------------------------------+ 0x344 - mie (Machine Interrupt-Pending) - 31 18 17 16 15 8 7 6 0 + 31 19 18 17 16 15 8 7 6 0 +---------------------------------------------------------------------+ -| Reserved |MDIP|MMIP| Reserved |MTIP| Reserved | +| Reserved |MCIE|MDIP|MMIP| Reserved |MTIP| Reserved | +---------------------------------------------------------------------+ * MTIE/MTIP: Machine Timer Interrupt (see RISC-V Machine-Level ISA documentation) * MMIE/MMIP: Machine Mesecons Interrupt - Becomes pending when a mesecons input changes state and remains pending until manually set to 0 * MDIE/MDIP: Machine Digilines Interrupt - Becomes pending when a digilines message is received and remains pending until manually set to 0 +* MCIE/MCIP: Machine Console Interrupt - Becomes pending when a character is received on standard input and remains pending until manually set to 0 |
