6 ms·
Why does the ISA spec define the starting adress of the text segment anyway? Struggling to find a good reason.
by mikevin 3y ago
Why does the ISA spec define the starting adress of the text segment anyway? Struggling to find a good reason.
- pm215 3y agoIt doesn't. Effectively the architecture spec defines behaviour so that it shouldn't matter what you choose for the text segment starting address, but this implementation's non-standard behaviour means it does matter, because there's a weirdly behaving address range you have to avoid.
- snvzz 3y agoIt doesn't. This implementation has a very incompatible (and problematic) deviation from the privileged ISA spec. It seems to act as if there was a hardcoded, stuck, TLB entry that cannot be removed, so the whole system has to work around it. And to add insult to injury, it affects a virtual memory address range that happens to be used in most Linux programs. IMHO ASUS is doing a disservice to RISC-V by releasing a board with such a chip. They should have used something else or skipped this generation.