summaryrefslogtreecommitdiff
path: root/src/sys/arch/amd64/cpu/cpu_mp.c
AgeCommit message (Collapse)Author
23 hourskern/amd64: mp: Add idle threads per coreIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
23 hourskern/amd64: proc: md_proc_yield -> md_proc_idleIan Moffett
Improve naming to be less confusing Signed-off-by: Ian Moffett <ian@osmora.org>
6 dayskern/amd64: Attempt to dequeue on a cores first goIan Moffett
When a CPU core first starts up, it has no proceses to assign to itself. This commit ensures that the processor will right away start trying to find tasks to grab from its runqueue. Signed-off-by: Ian Moffett <ian@osmora.org>
11 dayskern/amd64: mp: Initialize sched queue per coreIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-28kern: cpu: Fix typo in ap_entry()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-17kernel/amd64: mp: Use NULL instead of wrappingIan Moffett
It is best to return NULL when there is no next CPU instead of wrapping so we have an indicator at where the list ends. Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-17kern/amd64: mp: Add cpu_get() routineIan Moffett
This commit introduces a new cpu_get() function to acquire a specific CPU by using a logical ID as an index. Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-17kern/amd64: mp: Use zero-based index in corelistIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-09-15kern/amd64: cpu: Add initial SMP startup codeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>