From owner-freebsd-arch Thu Jan 23 10: 3:47 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC7B937B401 for ; Thu, 23 Jan 2003 10:03:45 -0800 (PST) Received: from mail.qubesoft.com (gate.qubesoft.com [217.169.36.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC99243EB2 for ; Thu, 23 Jan 2003 10:03:43 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from bluebottle.qubesoft.com (bluebottle.qubesoft.com [192.168.1.2]) by mail.qubesoft.com (8.12.6/8.12.6) with ESMTP id h0NI3UBs040780; Thu, 23 Jan 2003 18:03:30 GMT (envelope-from dfr@nlsystems.com) Received: from builder02.qubesoft.com (builder02.qubesoft.com [192.168.1.8]) by bluebottle.qubesoft.com (8.12.6/8.12.6) with ESMTP id h0NI3St8058819; Thu, 23 Jan 2003 18:03:28 GMT (envelope-from dfr@nlsystems.com) Subject: Re: the mythical syscons redesign document ( was Re: Porting wscons ) From: Doug Rabson To: "Pedro F. Giffuni" Cc: arch@FreeBSD.ORG In-Reply-To: <20030123163733.86437.qmail@web13404.mail.yahoo.com> References: <20030123163733.86437.qmail@web13404.mail.yahoo.com> Content-Type: text/plain Organization: Message-Id: <1043345008.29340.7.camel@builder02.qubesoft.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.0 Date: 23 Jan 2003 18:03:28 +0000 Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-4.7 required=5.0 tests=IN_REP_TO,REFERENCES,SPAM_PHRASE_00_01 version=2.41 Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 2003-01-23 at 16:37, Pedro F. Giffuni wrote: > --- Doug Rabson ha scritto: > > On Wednesday 22 January 2003 9:36 pm, Nicolas Souchu > > wrote: > ... > > > > > > What is called the kobj interface? > > > > Kobj is just the low-level method dispatch framework > > which newbus (at > > least newbus in 5.x) uses to call the drivers. Look > > at the kobj(9) > > manpage. > > > I understand the sound drivers already use it, and > someday someone with lot's of spare time might start > rewriting FreeBSD to make it more modular..something > like SPIN OS where everything is an object. > > I wonder.. how far did your patches first set of > patches for the Alpha go? ;). The alpha stuff I did was solving a specific problem - implementing busspace properly on multi-hose alpha hardware. On such hardware, there isn't a single i/o port i/o memory address space. There is typically one of each per hose (a hose is approximately a host-pci bridge). The busspace implementation in 4.x was pretty lame and didn't scale to the really big machines so I re-wrote it to represent each space (i/o port or i/o memory) as an object with methods on that object to access the space. This was wrapped in a busspace-standard api. The kobj version was fully functional but it was never committed - we changed over to structures of function pointers to make it possible to back-port to 4.x. The back-porting never happened though :-(. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message