opnsense-src/sys/x86
Zhenlei Huang 497f577f46 kernel: Make some compile time constant variables const
Those variables are not going to be changed at runtime. Make them const
to avoid potential overwriting. This will also help spotting accidental
global variables shadowing, since the variable's name such as `version`
is short and commonly used.

This change was inspired by reviewing khng's work D44760.

No functional change intended.

MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D45227

(cherry picked from commit 356be1348d)
2024-09-20 18:04:02 +08:00
..
acpica madt: print CPU APIC ID as signed int 2024-08-01 11:11:45 -04:00
bios sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
conf x86 NOTES: Move shared options from amd/i386 NOTES to x86 NOTES 2024-07-18 13:33:13 -04:00
cpufreq sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
include x86/iommu: extract useful utilities into x86_iommu.c 2024-06-01 12:24:24 +03:00
iommu x86: always provide dummy x86_iommu virtual methods 2024-09-11 11:44:00 +03:00
isa atrtc(4): Fix a typo in a sysctl description 2024-04-18 06:34:26 +02:00
linux linux(4): Remove sys/cdefs.h inclusion under x86/linux due to 685dc743 2023-08-18 15:58:32 +03:00
pci x86/pci_early_quirks: Sync Intel 11th+ gen PCI IDs with Linux 2024-08-02 00:09:40 +03:00
x86 kernel: Make some compile time constant variables const 2024-09-20 18:04:02 +08:00
xen sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00