9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: ron minnich <rminnich@lanl.gov>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] port/devcons.c is not port-able
Date: Tue, 13 Jul 2004 20:49:58 -0600	[thread overview]
Message-ID: <Pine.LNX.4.44.0407132047350.4048-100000@maxroach.lanl.gov> (raw)
In-Reply-To: <5163edd58190d4009b6242e9a5030c82@granite.cias.osakafu-u.ac.jp>

On Wed, 14 Jul 2004, Kenji Okamoto wrote:

> > I would actually be making the whole thing simpler
>
> Actually I didn't understand why you needed that modification.
> Because of porting the system to another?

the devices in port/devocns.c are hardcoded to assume that there's a
keyboard, a uart, a vga console in some form or another. There are queues
and pointers in there that get initialized in random places. Random
different devices initialize (or don't) those variables to enable
different kinds of console I/O.

I understand the pragmatism, but it's a jungle in there.

There are machines that don't have keyboard, uarts, or vga coming out now.
port/devcons.c is living on borrowed time and we need to do better.

ron



  reply	other threads:[~2004-07-14  2:49 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-13 13:57 ron minnich
2004-07-14  1:24 ` Geoff Collyer
2004-07-14  2:10   ` ron minnich
2004-07-14  2:30     ` Geoff Collyer
2004-07-14  2:47       ` ron minnich
2004-07-14  2:34     ` andrey mirtchovski
2004-07-14  2:47       ` ron minnich
2004-07-14  2:51         ` Kenji Okamoto
2004-07-14  4:40           ` Dan Cross
2004-07-14 13:33           ` OT: " Dave Lukes
2004-07-14 14:08             ` ron minnich
2004-07-14 15:31               ` Jack Johnson
2004-07-14  5:00         ` Skip Tavakkolian
2004-07-14 10:34         ` matt
2004-07-14 14:04           ` ron minnich
2004-07-14 14:04           ` Dave Lukes
2004-07-14 15:03             ` ron minnich
2004-07-14 16:13               ` boyd, rounin
2004-07-14 14:52           ` boyd, rounin
2004-07-14  2:49       ` Kenji Okamoto
2004-07-14  4:36       ` Dan Cross
2004-07-14  2:38     ` Kenji Okamoto
2004-07-14  2:49       ` ron minnich [this message]
2004-07-14  5:15         ` Geoff Collyer
2004-07-14  6:36           ` Geoff Collyer
2004-07-14 13:47           ` ron minnich
2004-07-14 18:29             ` Dan Cross
2004-07-14 18:53               ` boyd, rounin
2004-07-14 19:42               ` ron minnich
2004-07-14 20:14                 ` Charles Forsyth
2004-07-14 20:19                 ` Frank Palazzolo
2004-07-14 20:18                   ` Charles Forsyth
2004-07-14 21:06                     ` Geoff Collyer
2004-07-14 21:31                   ` boyd, rounin
2004-07-14  4:31 ` Dan Cross
     [not found] <00aba352392cbadebd943e05d1e17412@plan9.ucalgary.ca>
2004-07-15  3:14 ` Geoff Collyer

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.44.0407132047350.4048-100000@maxroach.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).