opnsense-src/sys/x86
Zhenlei Huang 356be1348d 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
2024-08-30 18:26:30 +08:00
..
acpica xen/pvh: fix initialization of environment 2024-08-02 12:41:52 +02:00
bios newbus: replace -1 in BUS_ADD_CHILD(...-1) with DEVICE_UNIT_ANY 2024-07-24 22:23:02 -06:00
conf guestrpc module to handle VMware backdoor port GuestRPC functionality 2024-05-01 15:45:45 -04:00
cpufreq sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
include xen/pvh: fix initialization of environment 2024-08-02 12:41:52 +02:00
iommu DMAR: clear dmar_devs[unit] if attach failed 2024-08-21 18:23:07 +03:00
isa Deprecate contigfree(9) in favour of free(9) 2024-07-26 10:45:01 +00:00
linux linux(4): Remove sys/cdefs.h inclusion under x86/linux due to 685dc743 2023-08-18 15:58:32 +03:00
pci newbus: replace -1 in BUS_ADD_CHILD(...-1) with DEVICE_UNIT_ANY 2024-07-24 22:23:02 -06:00
x86 kernel: Make some compile time constant variables const 2024-08-30 18:26:30 +08:00
xen x86/xen: ignore error to fetch memory map in xen_arch_init_physmem() 2024-08-02 20:12:55 -07:00