opnsense-src/sys/amd64/amd64
Ahmad Khalifa ae0350f1c0 Add a new sysctl in order to diffrentiate UEFI architectures
With the new 32-bit UEFI loader, it's convenient to have a sysctl to
figure out how we booted. Can be accessed at machdep.efi_arch

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1098

(cherry picked from commit b538d4911004ca541507166b8ec9689d2e87d1aa)
(cherry picked from commit 0e8890a425bc778d323566c881e26bad7c54baf2)

Approved by:	so
Security:	FreeBSD-EN-25:12.efi
2025-08-08 11:49:17 +02:00
..
apic_vector.S sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
atpic_vector.S sys: Remove $FreeBSD$: one-line .h pattern 2023-08-16 11:54:18 -06:00
bios.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
bpf_jit_machdep.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
bpf_jit_machdep.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
copyout.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
cpu_switch.S sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
db_disasm.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
db_interface.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
db_trace.c Stop using expressions in _Alignof() 2024-04-08 10:26:16 -07:00
efirt_machdep.c efirt_machdep.c: Trim some unused includes 2023-10-11 08:10:32 -07:00
efirt_support.S sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
elf_machdep.c sysentvec: add SV_SIGSYS flag 2023-10-09 06:24:31 +03:00
exception.S sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
exec_machdep.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
fpu.c x86: Remove invalid DEVMETHOD methods for leaf devices 2024-11-30 21:46:07 -05:00
gdb_machdep.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
genassym.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
initcpu.c x86: AMD Zen2: Zenbleed chicken bit mitigation 2023-10-10 09:34:31 -04:00
io.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
locore.S la57: explain how the trampoline works 2024-10-23 21:04:58 +03:00
machdep.c Add a new sysctl in order to diffrentiate UEFI architectures 2025-08-08 11:49:17 +02:00
mem.c uio: Use switch statements when handling UIO_READ vs UIO_WRITE 2024-11-30 08:55:57 -05:00
minidump_machdep.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
mp_machdep.c amd64/mp_machdep.c: style 2024-10-05 10:08:53 +03:00
mpboot.S sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
pmap.c amd64: switch pmap_map_io_transient() to use pmap_kenter_attr() 2024-12-02 03:44:55 +02:00
ptrace_machdep.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
sigtramp.S sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
support.S rdmsr_safe/wrmsr_safe: handle pcb_onfault nesting 2024-02-17 16:18:20 +02:00
sys_machdep.c sysarch: improve checks for max user address 2024-09-23 16:03:07 +03:00
trap.c amd64: print limited EFIRT fault messages on first fault, not second 2025-04-16 04:38:33 +03:00
uio_machdep.c uio: Use switch statements when handling UIO_READ vs UIO_WRITE 2024-11-30 08:55:57 -05:00
uma_machdep.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
vm_machdep.c cpu_set_upcall / linux_clone_thread: Remove calls to cpu_thread_clean 2025-03-03 11:56:20 -05:00
xen-locore.S sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00