diff options
| author | Richard Qin <richard.qin.x@gmail.com> | 2026-04-21 23:20:32 +0800 |
|---|---|---|
| committer | Richard Qin <richard.qin.x@gmail.com> | 2026-04-21 23:20:32 +0800 |
| commit | f5272c51b11ec06627d748901c7747154f3bbf04 (patch) | |
| tree | 2deb25860802dbadc5afcbead36c4202abeef70a /na/kernel/sync/cpu_state.h | |
| parent | 802dcab8ad6f31f266fa98e128b0a0bec3a15edf (diff) | |
| download | lume-f5272c51b11ec06627d748901c7747154f3bbf04.tar.gz lume-f5272c51b11ec06627d748901c7747154f3bbf04.tar.xz | |
feat: add features header and frame descriptor implementation
Diffstat (limited to 'na/kernel/sync/cpu_state.h')
| -rw-r--r-- | na/kernel/sync/cpu_state.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 <lume/types.h> +#include <lume/config.h> 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(); |
