--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+unsubscribe@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/c46d9c3b-64b3-41bf-92ef-1762e5cddfd8%40groups.riscv.org.
Yes, the only way to clear MIP.MSIP is to write to the memory-mapped location that (eventually) will clear the bit.Similarly, the only way to clear MIP.MTIP is to write to the memory-mapped MTIMECMP location that (eventually) will clear the bit.The latency for these is unspecified (will vary across implementations, and may vary even within an implementation).Nikhil
On Fri, Jul 27, 2018 at 7:17 AM, Sebastian Huber <seb...@gmail.com> wrote:
Hello,I port currently the real-time operating system RTEMS to RISC-V. I worked only with Qemu so far, so I don't know the real chips. The operating system runs together with the application in machine mode. I had to patch Qemu a bit to get it working. The patch review was very interesting for me.Inter-processor interrupts are triggered by a write to the CLINT msip register. I naively thought that I can clear the software interrupt by the target hart via a write to the mip register. This seems to be forbidden (mip is read-only). So the only way to set/clear software interrupts is via concurrent writes to the memory-mapped CLINT msip register?
--
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+un...@groups.riscv.org.
--
Is there a spec for the PLIC register set (or any memory mapped register)? Or are they all considered implementation-dependent?
--
You received this message because you are subscribed to a topic in the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this topic, visit https://groups.google.com/a/groups.riscv.org/d/topic/sw-dev/BDnxG8643Dc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sw-dev+un...@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/89164d9f-b2fa-45c7-9a9d-4b516fc4f0ff%40groups.riscv.org.
Yeah it has several references to registers, but none of them are fully defined, at least not in the version I’m looking at from June and I don’t think it’s been updated for many months.
--Am Samstag, 28. Juli 2018 04:07:02 UTC+2 schrieb Paul Miranda:--Is there a spec for the PLIC register set (or any memory mapped register)? Or are they all considered implementation-dependent?There is a PLIC chapter in The RISC-V Instruction Set Manual, Volume II: Privileged Architecture.
You received this message because you are subscribed to a topic in the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this topic, visit https://groups.google.com/a/groups.riscv.org/d/topic/sw-dev/BDnxG8643Dc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sw-dev+un...@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/89164d9f-b2fa-45c7-9a9d-4b516fc4f0ff%40groups.riscv.org.
You received this message because you are subscribed to the Google Groups "RISC-V SW Dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sw-dev+un...@groups.riscv.org.
To post to this group, send email to sw-...@groups.riscv.org.
Visit this group at https://groups.google.com/a/groups.riscv.org/group/sw-dev/.
To view this discussion on the web visit https://groups.google.com/a/groups.riscv.org/d/msgid/sw-dev/CC04A8E8-9E78-4623-95EA-A5FB1DC5B554%40gmail.com.