From f5272c51b11ec06627d748901c7747154f3bbf04 Mon Sep 17 00:00:00 2001 From: Richard Qin Date: Tue, 21 Apr 2026 23:20:32 +0800 Subject: feat: add features header and frame descriptor implementation --- na/kernel/sync/cpu_state.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'na/kernel/sync/cpu_state.h') diff --git a/na/kernel/sync/cpu_state.h b/na/kernel/sync/cpu_state.h index d0e3814..1f7dde0 100644 --- a/na/kernel/sync/cpu_state.h +++ b/na/kernel/sync/cpu_state.h @@ -14,6 +14,7 @@ */ #include +#include namespace sync { @@ -25,7 +26,7 @@ struct CpuSyncState { inline constexpr uint64 kInvalidCpuId = ~0ULL; // BSS-segment global array, zero-initialized by entry.S -extern CpuSyncState g_cpu_sync_states[kMaxCPUs]; +extern CpuSyncState g_cpu_sync_states[kMaxCpus]; // Internal API — called only by Spinlock::acquire/release void push_intr(); -- cgit v1.2.3