freebsd-dev/sys/x86
Jim Harris 7b332f2020 Add bus_space_read_8 and bus_space_write_8 for amd64.
Rather than trying to KASSERT for callers that invoke this on
IO tags, either do nothing (for write_8) or return ~0 (for read_8).
Using KASSERT here just makes bus.h too messy from both
polluting bus.h with systm.h (for any number of drivers that include
bus.h without first including systm.h) or ports that use bus.h
directly (i.e. libpciaccess) as reported by zeising@.

Also don't try to implement all of the other bus_space functions for
8 byte access since realistically only these two are needed for some
devices that expose 64-bit memory-mapped registers.

Put the amd64-specific functions here rather than sys/amd64/include/bus.h
so that we can keep this header unified for x86, as requested by mdf@
and tijl@.

Submitted by:	Carl Delsey <carl.r.delsey@intel.com>
MFC after:	3 days
2012-12-13 21:40:11 +00:00
..
acpica Merge ACPICA 20120816. 2012-08-16 20:54:52 +00:00
bios Add missing header needed by free(9). 2012-09-30 15:42:20 +00:00
cpufreq This isn't functionally identical. In some cases a hint to disable 2012-10-22 13:06:09 +00:00
include Add bus_space_read_8 and bus_space_write_8 for amd64. 2012-12-13 21:40:11 +00:00
isa This isn't functionally identical. In some cases a hint to disable 2012-10-22 13:06:09 +00:00
pci Trim stray blank line. 2012-04-11 21:00:33 +00:00
x86 ioapic_program_intpin: program high bits before low bits 2012-12-01 18:16:14 +00:00