On Wed, Jan 4, 2017 at 6:53 AM, Suseela Budi <
bsl.rg...@gmail.com> wrote:
> Is it means TLB miss (TLB filling) is done by OS or software?
Not specified by the RISC-V specifications. This is CPU dependent.
> What about page table management?
Not specified by the RISC-V specifications. This is OS dependent.
> What all things are done by software?
Not specified by the RISC-V specifications.
Remember that RISC-V is a *family* of instruction set specifications.
They are not *implementations*. It's entirely up to the implementer
of the processor to provide answers to these questions. You should
consult the documentation of your specific processor for more details;
if it's your own processor, you're free to decide how to do these
things yourself. :)
You can even implement a RISC-V "processor" by completely emulating
the whole thing in software if you wanted to, similar to how Transmeta
CPUs implemented an 80x86-compatible processor using VLIW technology
years ago. The specifications hosted on
risc-v.org doesn't care.
The ISA (user and privilege mode alike) specifications exist to
provide an *interface* between your software and whatever is actually
running it.
--
Samuel A. Falvo II