[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Memory protection



Michael Schwingen wrote:

> The Milan Bootblock & TOS use the MMU quite heavily. The pagesize is set to
> 8k, and the bootblock initializes the MMU so that TOS sees a contiguous
> memory space for ST-RAM (where physical == virtual addresses) and TT-RAM,
> where this may not be true.

This is very interesting to know. What you say is that parts of the logical address spaces are going to digress from the
physical space, and that de facto
you have implemented what I think is unavoidable for a full paging model in MiNT.
But I think you use it in such a way that the effect is a mere amalgamating of
ST and TT ram. The displacement from physical space is a constant for all TT ram
pages. Am I right?

> In short: it would be a good idea to keep the old MMU setup and only modify
> it, and not build new tables from scratch.
>

If I am right I agree. ;-)

Greetings
Henk.