Port-vax archive

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

Re: New Vax - future directions :-)

On 2021-07-07 23:16, Jason Thorpe wrote:

On Jul 7, 2021, at 11:15 AM, Johnny Billquist <bqt%update.uu.se@localhost> wrote:

On 2021-07-07 20:02, Jason Thorpe wrote:
On Jul 7, 2021, at 8:41 AM, Johnny Billquist <bqt%update.uu.se@localhost> wrote:

This might be extremely hard, since it's a feature that comes from the design of the PDP-11 MMU. The VAX MMU is very different, and don't allow this. (Allow might be the wrong word here - it's just not possible.)
(Anyone talked about execute-only protection of memory... The PDP-11 have it. :-) )
During the brainstorming of how to do a VAX-64 VM, I did mention that a split ITLB / DTLB would be useful for various reasons (and how it could be made "classical VAX-32" compatible), and so emulating a split I/D address space might be somewhat feasible on such a system.

It would be a nice addition. But it needs to be on the whole page table, and not just the TLB (I'm reading TLB as just the caching of (parts of) the page table here, but maybe you are thinking of something else?).

So - two page tables. One for I- and one for D-space.

If you already have separate TLBs for the I-stream and D-stream, that's really half the battle.  For PDP-11 user-space compatibility mode, you could simply hard-wire VA<16> to 1 for instruction fetches and put the I-space mappings in that portion of the user address space.

Unless you have separate page tables, what would the point be of having separate TLBs? Hmm, I guess it would mean you couldn't starve the caching of pages for the I stream. Might be a bit advantageous...

Anyway, as commented elsewhere, it's not enough to deal just with instruction fetches.

But I think we can come back to this topic the day Ragge actually starts looking at PDP-11 compatibility mode. Until then, just getting a VAX is enough of a project on its own.

When will we see first boot of NetBSD, Ragge?


Johnny Billquist                  || "I'm on a bus
                                  ||  on a psychedelic trip
email: bqt%softjar.se@localhost             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol

Home | Main Index | Thread Index | Old Index