Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Eric Smith <eric@brouhaha.com>
Subject: Re: Winnt question
Date: 4 Nov 1996 21:27:26 -0000	[thread overview]
Message-ID: <0b9982c1dea3d6aad2856f43100d3720.axp-list@archive.invalid> (raw)

> WNT runs using different PALcode callbacks, both privileged and unprivileged.
> They are incompatible with Unix (Digital or Linux) just as OpenVMS's PALcode
> is incompatible.

Yes, my point was that perhaps a new version of PALcode could have a feature
to intercept all PALcode calls from a specific process (priviledged or not),
suspend that process, and pass info on that process to another process that
would handle it.

I haven't studied the architecture manual enough to be certain that this is
possible, but casual reading doesn't indicate any obvious reason why it
wouldn't be.  It would have the disadvantage that it would reduce the
performance of all PALcode traps due to the need to test a mode bit.

It would really be a shame if there was no way to do this on an Alpha, which
seems otherwise to be the most elegant processor arcitecture yet.  Motorola 
processors have been capable of providing a full virtual machine since the
introduction of the MC68010 in 1981, and that's a CISC architecture!  Designing
a RISC architecture that can support a virtual machine should be trivial by
comparison.  Minicomputers and mainframes offered this capability even earlier.

> The real killer though is that WNT runs in a different addressing
> mode (superpage and NOT KSEG) over which it overlays it's braindead memory
> management scheme.

I don't think that should actually be too difficult a problem.  WNT would
*think* it was running privileged, and it would *think* that it was mucking
with page tables, but in reality it would be running at user level in a Linux
process.  The memory mamangement for WNT would be entirely simulated based on
the host OS/PALcode's paging system (perhaps using mmap() calls).

Cheers,
Eric

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

             reply	other threads:[~1996-11-04 21:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-04 21:27 Eric Smith [this message]
  -- strict thread matches above, loose matches on Subject: below --
1996-11-23 15:12 Winnt question Joerg Schwerdtfeger
     [not found] <199611220005.BAA20364@unix1.bart.nl>
1996-11-22  2:42 ` Grant L. Allen
1996-11-22  7:12 ` Aaron
1996-11-22  0:05 geerten kuiper
1996-11-04 14:20 David A Rusling
1996-11-04  8:40 Mihaly HOMONNAI
1996-11-03 20:51 Justin Malcolm
1996-11-02 15:37 Stephen J. Gaudet
1996-11-02  4:10 Eric Smith
1996-11-02  3:40 Eric Smith
     [not found] <Pine.GSO.3.95.961101213238.9401A-100000@enterprise>
1996-11-02  2:57 ` Jim Nance
     [not found] <327A7B56.3E39885A@cti-ltd.com>
1996-11-02  2:35 ` Aaron
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox