9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Ronald G Minnich <rminnich@lanl.gov>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] replacing 9load
Date: Mon,  5 Dec 2005 14:02:55 -0700	[thread overview]
Message-ID: <4394AAFF.50207@lanl.gov> (raw)
In-Reply-To: <ee9e417a0512051247l3cceabe1o5996db34d52f191d@mail.gmail.com>

Russ Cox wrote:

>     - write vm86 code for the kernel to replace the realmode
>       code.  vm86 code should be safer and more reliable
>       and will make the vesa and apm code run on more machines.

a thought here. We've been looking at the vga path for a few years, in 
the linuxbios project, and in fact precede the current plan 9 learning 
curve on vga by a bit.

In 2001 I wrote the equivalent of the Plan 9 realmode code for 
linuxbios, and put it in; it did pretty much the equivalent of what the 
realmode driver does now, and it worked, but it is really risky at 
times. Why? because the things that those VGA bios guys do are really 
evil. I can tell you stories ... too ugly to discuss in a family 
publication like 9fans. I'm very impressed that it is working so well.

I would ask people to consider looking at what we finally had to do in 
linuxbios, which is to put an x86 emulator. derived from the X11 x86 
emulator, into a driver. This works really well. You can catch evil 
things that the vga bios tries to do, and make them less evil. Also, 
such a driver would go in port/, not pc/. Just a thought.

But, long term, the approach of replacing 9load with plan9 sure makes a 
lot of sense. Is it possible some day that 9fat could go away, and we 
just load a kernel off of fossil? Just wondering.

ron


  parent reply	other threads:[~2005-12-05 21:02 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-05 20:47 Russ Cox
2005-12-05 20:52 ` William Josephson
2005-12-05 21:02 ` Ronald G Minnich [this message]
2005-12-05 21:06   ` Charles Forsyth
2005-12-05 23:22     ` Ronald G Minnich
2005-12-05 21:21   ` Russ Cox
2005-12-05 23:27     ` Ronald G Minnich
2005-12-05 23:33       ` Russ Cox
2005-12-06  0:19         ` Ronald G Minnich
  -- strict thread matches above, loose matches on Subject: below --
2005-12-04  4:48 [9fans] Replacing 9load Uriel
2005-12-04  7:01 ` jmk
2005-12-04 16:00 ` Russ Cox
2005-12-04 16:56   ` Nigel Roles
2005-12-04 19:07     ` Charles Forsyth
2005-12-04 19:29       ` jmk
2005-12-04 22:13         ` C H Forsyth
2005-12-05 19:42 ` David Leimbach
2005-12-05 20:11   ` jmk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4394AAFF.50207@lanl.gov \
    --to=rminnich@lanl.gov \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).