9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Ronald G Minnich <rminnich@lanl.gov>
To: <9fans@cse.psu.edu>
Subject: Re: [9fans] non-BIOS boot
Date: Thu, 30 May 2002 09:15:36 -0600	[thread overview]
Message-ID: <Pine.LNX.4.33.0205300910530.31343-100000@snaresland.acl.lanl.gov> (raw)
In-Reply-To: <8f6cf824.0205291150.157c7698@posting.google.com>

On Thu, 30 May 2002, Don wrote:

> If you dont use the BIOS wouldn't you have to access
> the disk via i/o ports? If so, you would have to adhere to
> the SCSI/ATA standard rather than a more conformed interface
> via int13?

Great question. I used to think this too.

Turns out PC hardware is designed for two things: full-capability OSes and
really STUPID STUPID BIOSes. So, for example, IDE hardware runs with all
kinds of fancy DMA, and also runs in trivial polled-IO modes so that
software written ca. 1982 will work correctly. It's really amazing to see
the contortions PC hardware goes through to conform to an Intel reference
design from 1978 or so (not kidding, I have some of those old books
somewhere).

It turns out that the INT13 is no more conforming than the silly hardware.

What we do in LinuxBIOS for IDE support is run dead-stupid simple
polled-IO drivers to load the kernel. These were contributed by someone
from another project.

 > If you did have to adhere to the different standards
> wouldnt that mean implementing the drivers in the MBR/PBS?

Yes, you are right here, but this has turned out to be not a big deal (so
far).

ron



  reply	other threads:[~2002-05-30 15:15 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-27  8:57 Don
2002-05-27 18:45 ` Ronald G Minnich
2002-05-29  8:47   ` Don
2002-05-29 13:50     ` Ronald G Minnich
2002-05-30  8:40       ` Don
2002-05-30 15:15         ` Ronald G Minnich [this message]
2002-05-27 17:47 rsc
2002-05-30 18:17 David Gordon Hogan
2002-05-31  8:56 ` Don
2002-05-31  8:57 ` Charles Perkins
2002-05-31 16:10   ` Ronald G Minnich
2002-06-05  9:54   ` Don
2002-06-05 15:23     ` Ronald G Minnich
2002-06-05  9:54   ` Douglas A. Gwyn
2002-05-31 17:57 David Gordon Hogan

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=Pine.LNX.4.33.0205300910530.31343-100000@snaresland.acl.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).