From 298e9130c6c57706453e401975b36461e970460b Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Wed, 19 Nov 2025 00:59:51 -0500 Subject: kern/amd64: mp: Keep track of brought up cores This commit implements storing of processor descriptors per application processors as well helpers to request a CPU descriptor by index and better serialization Signed-off-by: Ian Moffett --- sys/inc/mu/cpu.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sys/inc/mu/cpu.h') diff --git a/sys/inc/mu/cpu.h b/sys/inc/mu/cpu.h index 7974cf1..05637f5 100644 --- a/sys/inc/mu/cpu.h +++ b/sys/inc/mu/cpu.h @@ -50,6 +50,11 @@ struct cpu_info { */ struct cpu_info *cpu_self(void); +/* + * Get a processor by index + */ +struct cpu_info *cpu_get(uint32_t index); + /* * Configure a processor core */ -- cgit v1.2.3