Date: Wed, 22 Dec 1999 19:38:07 +0900 From: KATO Takenori <kato@ganko.eps.nagoya-u.ac.jp> To: FreeBSD-current@FreeBSD.ORG Cc: FreeBSD98-hackers@jp.freebsd.org Subject: indirection in bus space Message-ID: <19991222193807R.kato@gneiss.eps.nagoya-u.ac.jp>
next in thread | raw e-mail | index | archive | help
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 <nyan@FreeBSD.ORG>.
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 <machine/bus_pc98.h>
#else
#include <machine/bsu_at386.h>
#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 <kato@ganko.eps.nagoya-u.ac.jp> | 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19991222193807R.kato>
