freebsd-nq/sys/x86/include
Konstantin Belousov 3fd0053a50 Add an ioapic_get_rid() function to obtain PCIe TLP requester-id for
the interrupt messages from given IOAPIC, if the IOAPIC can be
enumerated on PCI bus.

If IOAPIC has PCI binding, match the PCI device against MADT
enumerated IOAPIC.  Match is done first by registers window physical
address, then by IOAPIC ID as read from the APIC ID register.

PCI bsf address of the matched PCI device is the rid.

Reviewed by:	jhb
Sponsored by:	The FreeBSD Foundation
Hardware provided by:	Intel
MFC after:	2 weeks
X-Differential revision:	https://reviews.freebsd.org/D12205
2017-09-08 19:39:20 +00:00
..
xen
_align.h
_inttypes.h
_limits.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
_stdint.h
_types.h Define the vm_ooffset_t and vm_pindex_t types as machine-independend. 2017-02-04 12:26:38 +00:00
acpica_machdep.h
apicreg.h Add a constant specifying the min size of the IOAPIC registers window. 2017-09-08 19:25:11 +00:00
apicvar.h Add an ioapic_get_rid() function to obtain PCIe TLP requester-id for 2017-09-08 19:39:20 +00:00
apm_bios.h
bus_dma.h Clean up MD pollution of bus_dma.h: 2017-07-01 05:35:29 +00:00
bus.h
busdma_impl.h Clean up MD pollution of bus_dma.h: 2017-07-01 05:35:29 +00:00
cputypes.h Remove 'cpu' and 'cpu_class' on amd64. 2016-09-15 17:05:54 +00:00
dump.h
elf.h
endian.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
fdt.h
float.h
fpu.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
frame.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
init.h
legacyvar.h
mca.h
metadata.h
mptable.h
ofw_machdep.h
pci_cfgreg.h
psl.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ptrace.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
pvclock.h
reg.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
segments.h Remove constants and comments for unimplemented entries in the default LDT. 2017-05-24 18:54:21 +00:00
setjmp.h
sigframe.h
signal.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
specialreg.h x86 MCA: Enable AMD thresholding support on 17h 2017-09-07 21:31:07 +00:00
stack.h
stdarg.h
sysarch.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
trap.h Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
ucontext.h
vdso.h hyperv: Implement userspace gettimeofday(2) with Hyper-V reference TSC 2016-12-19 07:40:45 +00:00
vmware.h
x86_smp.h x86: make the arrays that depend on MAX_APIC_ID dynamic 2017-08-10 09:16:03 +00:00
x86_var.h Store AMD RAS Capabilities cpuid value and name flags 2017-09-07 21:29:51 +00:00