Start to add annotations to the cpu_info members, doing I/a/o for
authorguenther <guenther@openbsd.org>
Sun, 7 Aug 2022 23:56:06 +0000 (23:56 +0000)
committerguenther <guenther@openbsd.org>
Sun, 7 Aug 2022 23:56:06 +0000 (23:56 +0000)
commit0403d5bcc6af6e3b8d03ad1c6de319d5acc58295
tree0a45cfc6859d58caef0168c5c0a6fa0aaf459952
parentd600f90f1a804e442018f93ce8ec61f99cd5fb69
Start to add annotations to the cpu_info members, doing I/a/o for
immutable/atomic/owned ala <sys/proc.h>.  Move CPUF_USERSEGS and
CPUF_USERXSTATE, which really are private to the CPU, into a new
ci_pflags and rename s/CPUF_/CPUPF_/.  Make all (remaining) ci_flags
alterations via atomic_{set,clear}bits_int(), so its annotation
isn't a lie.  Delete ci_info member as unused all the way from
rev 1.1

ok jsg@ mlarkin@
sys/arch/amd64/amd64/acpi_machdep.c
sys/arch/amd64/amd64/cpu.c
sys/arch/amd64/amd64/fpu.c
sys/arch/amd64/amd64/genassym.cf
sys/arch/amd64/amd64/identcpu.c
sys/arch/amd64/amd64/ipifuncs.c
sys/arch/amd64/amd64/locore.S
sys/arch/amd64/amd64/machdep.c
sys/arch/amd64/amd64/vm_machdep.c
sys/arch/amd64/amd64/vmm.c
sys/arch/amd64/include/cpu.h