[Libre-soc-dev] daily kan-ban update 15may2021
Luke Kenneth Casson Leighton
lkcl at lkcl.net
Sat May 15 18:59:01 BST 2021
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68
On Sat, May 15, 2021 at 6:52 PM Tobias Platen
<libre-soc at platen-software.de> wrote:
> is there a way to enable/disable virtual memory?
> I have been thinking about a test that does the following:
> disable virtual memory
> write page table
> enable virtual memory
> do tests with virtual memory enabled
nice. quite involved, but nice.
use the MTMSR instruction as part of the test, to clear the appropriate bit.
you can pre-prepare a register in initial_regs (r29 or something) so
that you don't
have to do the 6-long immediate suite of instructions or use a shift instruction
to get the appropriate (high) bit set.
More information about the Libre-soc-dev