Remove write functions for read-only registers
This commit is contained in:
parent
707f51f46e
commit
e21ce5249f
6
asm.S
6
asm.S
@ -44,7 +44,7 @@ __clear_ ## name: \
|
|||||||
|
|
||||||
// VexRiscv custom registers
|
// VexRiscv custom registers
|
||||||
RW(0xBC0, vmim) // Machine IRQ Mask
|
RW(0xBC0, vmim) // Machine IRQ Mask
|
||||||
RW(0xFC0, vmip) // Machine IRQ Pending
|
RO(0xFC0, vmip) // Machine IRQ Pending
|
||||||
RW(0x9C0, vsim) // Supervisor IRQ Mask
|
RW(0x9C0, vsim) // Supervisor IRQ Mask
|
||||||
RW(0xDC0, vsip) // Supervisor IRQ Pending
|
RO(0xDC0, vsip) // Supervisor IRQ Pending
|
||||||
RW(0xCC0, vdci) // DCache Info
|
RO(0xCC0, vdci) // DCache Info
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
//! DCache Information register
|
//! DCache Information register
|
||||||
|
|
||||||
read_csr_as_usize!(0xCC0, __read_vdci);
|
read_csr_as_usize!(0xCC0, __read_vdci);
|
||||||
write_csr_as_usize!(0xCC0, __write_vdci);
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
//! Machine IRQ Pending register
|
//! Machine IRQ Pending register
|
||||||
|
|
||||||
read_csr_as_usize!(0xFC0, __read_vmip);
|
read_csr_as_usize!(0xFC0, __read_vmip);
|
||||||
write_csr_as_usize!(0xFC0, __write_vmip);
|
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
//! Supervisor IRQ Pending register
|
//! Supervisor IRQ Pending register
|
||||||
|
|
||||||
read_csr_as_usize!(0xDC0, __read_vsip);
|
read_csr_as_usize!(0xDC0, __read_vsip);
|
||||||
write_csr_as_usize!(0xDC0, __write_vsip);
|
|
||||||
|
Loading…
Reference in New Issue
Block a user