-/* $OpenBSD: cpu.h,v 1.80 2024/06/20 10:46:11 aoyama Exp $ */
+/* $OpenBSD: cpu.h,v 1.81 2024/08/08 13:56:00 miod Exp $ */
/*
* Copyright (c) 1996 Nivas Madhur
* Copyright (c) 1992, 1993
struct pmap;
struct cpu_info {
- u_int ci_flags;
+ volatile u_int ci_flags;
#define CIF_ALIVE 0x01 /* cpu initialized */
#define CIF_PRIMARY 0x02 /* primary cpu */
-/* $OpenBSD: cpu.h,v 1.147 2024/06/09 21:15:29 jca Exp $ */
+/* $OpenBSD: cpu.h,v 1.148 2024/08/08 13:56:00 miod Exp $ */
/*-
* Copyright (c) 1992, 1993
struct pmap *ci_curpmap;
uint ci_intrdepth; /* interrupt depth */
#ifdef MULTIPROCESSOR
- u_long ci_flags; /* flags; see below */
+ volatile u_long ci_flags; /* flags; see below */
#endif
volatile int ci_ddb;
#define CI_DDB_RUNNING 0