From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 13 Jul 2004 20:49:58 -0600 From: ron minnich To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] port/devcons.c is not port-able In-Reply-To: <5163edd58190d4009b6242e9a5030c82@granite.cias.osakafu-u.ac.jp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Topicbox-Message-UUID: c003dab8-eacd-11e9-9e20-41e7f4b1d025 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