NetBSD/sys/arch/i386/include
thorpej 8c2f15c6fc New implementation of bus_io_{,un}map() for the i386. Details:
- A fixed extent map (statically allocated descriptor storage) is
	  created in init386(), just before the call to consinit().  The
	  fixed descriptor storage has enough room for 8 region entires,
	  which is plenty for early initialization, but doesn't chew up
	  that much memory.

	  This extent map (ioport_ex) manages the i386 i/o port
	  space (0x0 - 0xffff).

	- Just before the call to configure() in cpu_startup(), a
	  flag is set which notifies the bus_io functions that it is
	  safe to use malloc() to allocate descriptor storage, in the
	  event that more than 8 regions are needed.

	- bus_io_map() attempts to allocate the specified region from
	  ioport_ex.  If the allocation succeeds, the io handle is
	  filled in.  If the allocation fails, it is implied that
	  something else is already using that io space, and an
	  error condition is returned.

	- bus_io_unmap() frees a region previously allocated from
	  ioport_ex in bus_io_map().  If the free fails, a warning
	  is printed on the conole.

These changes implement "port accounting".  This is required for
proper autoconfiguration on the i386 port, and makes dealing with,
among other things, PCMCIA io mappings _much_ easier.
1996-06-23 19:59:06 +00:00
..
pc new RCS ID format. 1994-10-27 04:14:23 +00:00
ansi.h Add _BSD_WINT_T_ definition so we can handle wint_t type added in NA1. 1996-03-16 01:31:45 +00:00
aout_machdep.h new RCS ID format. 1994-10-27 04:14:23 +00:00
asm.h new RCS ID format. 1994-10-27 04:14:23 +00:00
bus.h New implementation of bus_io_{,un}map() for the i386. Details: 1996-06-23 19:59:06 +00:00
cdefs.h Changed name of __weak_reference() to __indr_reference(). They really 1995-03-23 19:58:48 +00:00
conf.h Add the joystick 1996-05-05 19:28:34 +00:00
cpu.h Change the prototype of fillw from (int, caddr_t, size_t) to 1996-05-05 19:29:26 +00:00
cpufunc.h new RCS ID format. 1994-10-27 04:14:23 +00:00
cputypes.h new RCS ID format. 1994-10-27 04:14:23 +00:00
db_machdep.h Comment out unused routines; add prototype for kdb_trap 1996-05-03 19:23:59 +00:00
disklabel.h To enable people to mount DOS partitions on disks with no NetBSD 1996-03-09 20:52:54 +00:00
endian.h Revert last change. 1996-05-08 20:00:38 +00:00
exec.h new RCS ID format. 1994-10-27 04:14:23 +00:00
float.h Wrap with #ifndef _XXX_FLOAT_H_/#define _XXX_FLOAT_H_/ ... /#endif. 1995-06-20 20:45:22 +00:00
frame.h Various changes from John Kohl and me: 1995-10-11 04:19:29 +00:00
freebsd_machdep.h FreeBSD binary compatibility module, from Noriyuki Soda. 1995-10-10 01:22:31 +00:00
gdt.h Copyright assigned to the NetBSD Foundation 1996-02-27 22:28:09 +00:00
ieeefp.h Move fp_except and fp_rnd definitions to machine/include. 1995-04-09 21:31:58 +00:00
intr.h Make imask[] larger, to match other changes. 1996-05-13 06:11:28 +00:00
joystick.h add joystick driver from Matthieu Herrb (pr #2267) 1996-03-27 19:11:13 +00:00
limits.h Minor cleanup. 1995-12-21 01:08:59 +00:00
linux_machdep.h Add missing prototypes. 1996-05-03 19:26:28 +00:00
mouse.h new RCS ID format. 1994-10-27 04:14:23 +00:00
npx.h new RCS ID format. 1994-10-27 04:14:23 +00:00
param.h add _MACHINE and _MACHINE_ARCH, which are like MACHINE and MACHINE_ARCH, 1996-03-04 05:04:10 +00:00
pcb.h VM86 support, by John Kohl, touched up a bit by me. 1996-01-08 13:51:30 +00:00
pccons.h Fix #includes. 1996-02-02 18:05:36 +00:00
pio.h make this idempotent. bus.h needs to include it, and other things which 1996-03-08 20:15:23 +00:00
pmap.h Add missing prototypes. 1996-05-03 19:26:28 +00:00
proc.h Move the `used fpu' flag into mdproc, so it can be referenced when a process 1995-08-06 05:32:59 +00:00
profile.h KERNEL -> _KERNEL 1995-03-28 18:13:48 +00:00
psl.h Move spl*() and soft interrupt definitions into intr.h. For now, include it 1996-05-13 01:28:01 +00:00
pte.h LOCORE -> _LOCORE 1996-02-01 22:28:24 +00:00
ptrace.h Move the `used fpu' flag into mdproc, so it can be referenced when a process 1995-08-06 05:32:59 +00:00
reg.h Various changes from John Kohl and me: 1995-10-11 04:19:29 +00:00
segments.h LOCORE -> _LOCORE 1996-02-01 22:28:24 +00:00
setjmp.h make the definition of _JBLEN mach. dep. header-dependent. 1994-12-20 10:36:27 +00:00
signal.h VM86 support, by John Kohl, touched up a bit by me. 1996-01-08 13:51:30 +00:00
specialreg.h new RCS ID format. 1994-10-27 04:14:23 +00:00
spkr.h new RCS ID format. 1994-10-27 04:14:23 +00:00
stdarg.h Stylistic changes. 1995-12-25 23:15:31 +00:00
svr4_machdep.h Reorganization of the signal frame and ucontext to make it shareable with 1995-03-31 02:51:37 +00:00
sysarch.h VM86 support, by John Kohl, touched up a bit by me. 1996-01-08 13:51:30 +00:00
trap.h new RCS ID format. 1994-10-27 04:14:23 +00:00
tss.h Various changes from John Kohl and me: 1995-10-11 04:19:29 +00:00
types.h Enable paging of the user area. 1995-12-24 01:07:32 +00:00
varargs.h Make the type of __builtin_va_list a long. 1995-12-26 01:16:24 +00:00
vm86.h Add missing prototypes. 1996-05-03 19:26:28 +00:00
vmparam.h new RCS ID format. 1994-10-27 04:14:23 +00:00