HardenedBSD/sys/riscv
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
..
allwinner
conf
include riscv: Add machine/ifunc.h corresponding to rtld-elf's resolver interface 2024-08-22 20:36:45 +01:00
riscv kernel: Make some compile time constant variables const 2024-08-30 18:26:30 +08:00
sifive
starfive