freebsd-dev/sys/i386
Marcel Moolenaar 409a390c33 Use io(4) for I/O port access on ia64, rather than through sysarch(2).
I/O port access is implemented on Itanium by reading and writing to a
special region in memory. To hide details and avoid misaligned memory
accesses, a process did I/O port reads and writes by making a MD system
call. There's one fatal problem with this approach: unprivileged access
was not being prevented. /dev/io serves that purpose on amd64/i386, so
employ it on ia64 as well. Use an ioctl for doing the actual I/O and
remove the sysarch(2) interface.

Backward compatibility is not being considered. The sysarch(2) approach
was added to support X11, but support for FreeBSD/ia64 was never fully
implemented in X11. Thus, nothing gets broken that didn't need more work
to begin with.

MFC after:	1 week
2010-01-11 18:10:13 +00:00
..
acpica Extract the code to find and map the MADT ACPI table during early kernel 2009-09-23 15:42:35 +00:00
bios Unobfuscate unit number handling in apm(4). 2009-10-31 10:38:30 +00:00
compile
conf Add INCLUDE_CONFIG_FILE in GENERIC on all non-embedded platforms. 2010-01-10 17:44:22 +00:00
cpufreq Previous solution appeared to be unsufficient. After additional testing 2009-11-14 16:20:07 +00:00
i386 Use io(4) for I/O port access on ia64, rather than through sysarch(2). 2010-01-11 18:10:13 +00:00
ibcs2 As jhb@ pointed out to me, r197057 was incorrect, not least because these 2009-09-10 13:20:27 +00:00
include Use io(4) for I/O port access on ia64, rather than through sysarch(2). 2010-01-11 18:10:13 +00:00
isa Make isa_dma functions MPSAFE by introducing its own private lock. These 2009-11-09 20:29:10 +00:00
linux Fix some problems with effective mmap() offsets > 32 bits. This was 2009-10-28 20:17:54 +00:00
pci number of cleanups in i386 and amd64 pci md code 2009-09-24 07:11:23 +00:00
svr4 Change some movl's to mov's. Newer GAS no longer accept 'movl' instructions 2009-01-31 11:37:21 +00:00
xbox Update d_mmap() to accept vm_ooffset_t and vm_memattr_t. 2009-12-29 21:51:28 +00:00
xen Eliminate an unused declaration. 2010-01-11 15:51:13 +00:00
Makefile