freebsd-dev/sys/x86/include
Julien Grall ab7ce14b1d xen/intr: introduce dev/xen/bus/intr-internal.h
Move the xenisrc structure which needs to be shared between the core Xen
interrupt code and architecture-dependent code into a separate header.  A
similar situation exists for the NR_EVENT_CHANNELS constant.

Turn xi_intsrc into a type definition named xi_arch to reflect the new
purpose of being an architectural variable for the interrupt source.

This was originally implemented by Julien Grall, but has been heavily
modified.  The core side was renamed "intr-internal.h" and is #include'd
by "arch-intr.h" instead of the other way around.  This allows the
architecture to add function definitions which use struct xenisrc.

The original version only moved xi_intsrc into xen_arch_isrc_t.  Moving
xi_vector was done by the submitter.

The submitter had also moved xi_activehi and xi_edgetrigger into
xen_arch_isrc_t.  Those disappeared with the removal of PVHv1 support.

Copyright note.  The current xenisrc structure was introduced at
76acc41fb7 by Justin T. Gibbs.  Traces remain, but the strength of
Copyright claims from before 2013 seem pretty weak.

Reviewed by: royger
Submitted by: Elliott Mitchell <ehem+freebsd@m5p.com>, 2021-03-17 19:09:01
Original implementation: Julien Grall <julien@xen.org>, 2015-10-20 09:14:56
Differential Revision: https://reviews.freebsd.org/D30648
[royger]
 - Adjust some line lengths
 - Fix comment about NR_EVENT_CHANNELS after movement.
 - Use #include instead of symlinks.
2023-04-14 15:58:53 +02:00
..
xen xen/intr: introduce dev/xen/bus/intr-internal.h 2023-04-14 15:58:53 +02:00
_align.h
_inttypes.h
_limits.h
_stdint.h amd64: reduce header pollution in _stdint.h 2023-03-22 16:23:57 +00:00
_types.h
acpica_machdep.h
apicreg.h
apicvar.h Increase MAX_APIC_ID safeguard to 0x800 2022-10-27 12:33:34 -04:00
apm_bios.h
bus_dma.h busdma: Add KMSAN integration 2021-08-10 21:27:54 -04:00
bus.h Remove checks for __GNUCLIKE_ASM assuming it is always true. 2022-04-12 10:05:45 -07:00
busdma_impl.h bus_dma: Deduplicate locking helper functions. 2022-01-05 13:50:40 -08:00
clock.h x86: Probe the TSC frequency earlier 2022-03-01 09:39:35 -05:00
cputypes.h
dump.h minidump: De-duplicate the progress bar 2021-09-29 16:42:21 -03:00
elf.h x86/include/elf.h: make inclusion blocks for elf32.h and elf64.h similar 2022-10-25 19:00:44 +03:00
endian.h
fdt.h
float.h
fpu.h Revert "linux32: add a hack to avoid redefining the type of the savefpu tag" 2021-09-22 23:17:47 +03:00
frame.h
ifunc.h Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
init.h
intr_machdep.h
iommu.h
kvm.h kvm_clock: KVM paravirtual clock support 2021-08-14 15:57:54 +03:00
legacyvar.h
mca.h
metadata.h
mptable.h
ofw_machdep.h
pci_cfgreg.h
procctl.h
psl.h
ptrace.h
pvclock.h pvclock: Export a vDSO page even without rdtscp available 2023-02-03 11:48:25 -05:00
reg.h x86: Add a NT_X86_SEGBASES register set. 2022-03-24 11:36:19 -07:00
segments.h
setjmp.h
sigframe.h
signal.h
specialreg.h x86: add more definitions for XCR0 bits 2023-01-27 19:44:49 +02:00
stack.h
stdarg.h
sysarch.h
tls.h Add <machine/tls.h> header to hold MD constants and helpers for TLS. 2021-12-09 13:17:13 -08:00
trap.h x86: remove unused T_USER flag 2021-12-05 11:12:40 -04:00
ucode.h
ucontext.h
vdso.h pvclock: Add vDSO support 2021-08-14 15:57:54 +03:00
vmware.h
x86_ieeefp.h Remove checks for <sys/cdefs.h> being included. 2022-04-12 10:06:18 -07:00
x86_smp.h amd64: Reduce the amount of cpuset copying done for TLB shootdowns 2021-11-15 13:01:31 -05:00
x86_var.h amd64: Eliminate write only cpu_fxsr. 2023-02-01 18:17:06 +03:00