From owner-freebsd-current Wed Dec 22 2:38:48 1999 Delivered-To: freebsd-current@freebsd.org Received: from eclogite.eps.nagoya-u.ac.jp (eclogite.eps.nagoya-u.ac.jp [133.6.124.145]) by hub.freebsd.org (Postfix) with ESMTP id 01C1314F45 for ; Wed, 22 Dec 1999 02:38:41 -0800 (PST) (envelope-from kato@ganko.eps.nagoya-u.ac.jp) Received: from localhost (gneiss.eps.nagoya-u.ac.jp [133.6.124.148]) by eclogite.eps.nagoya-u.ac.jp (8.9.3/3.7W) with ESMTP id TAA56782; Wed, 22 Dec 1999 19:38:37 +0900 (JST) To: FreeBSD-current@FreeBSD.ORG Cc: FreeBSD98-hackers@jp.freebsd.org Subject: indirection in bus space From: KATO Takenori X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) X-PGP-Fingerprint: 03 72 85 36 62 46 23 03 52 B1 10 22 44 10 0D 9E Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <19991222193807R.kato@gneiss.eps.nagoya-u.ac.jp> Date: Wed, 22 Dec 1999 19:38:07 +0900 X-Dispatcher: imput version 980905(IM100) Lines: 32 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm planning to commit the bus space code(*) supporting indirection into current for PC-98. As far as I know, only PC-98 needs indirection. So, it will be enabled only when the `PC98' is defined to avoid performance loss on IBM-PCs. (*)The code is submitted by Takahashi-san . My plan is as follows: 1. copy sys/i386/include/bus.h to sys/i386/include/bus_at386.h 2. put sys/i386/include/bus_pc98.h into the sys/i386/include directory. 3. Make new sys/i386/include/bus.h file as: #ifdef PC98 #include #else #include #endif 4. Make new file bus_pio_ind.h. This file only defines _I386_BUS_PIO_IND_H. New functions isa_alloc_resourcev() and isa_load_resourcev are added to support indirection in isa.c. Also, nexus.c is modifed. I'll fork these files int sys/pc98/pc98 and sys/pc98/i386. Is there any comments? -----------------------------------------------+--------------------------+ KATO Takenori | FreeBSD | Dept. Earth Planet. Sci, Nagoya Univ. | The power to serve! | Nagoya, 464-8602, Japan | http://www.FreeBSD.org/ | |http://www.jp.FreeBSD.org/| ++++ FreeBSD(98) 3.3R-Rev. 01 available! +==========================+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message