Skip to content

How to use multiple cores? #1398

Discussion options

You must be logged in to vote

You want SMP I assume. I'm new to this so I'm trying to summarize what I understood (keep in mind I have a working SMP setup right now, so there has to be some truth in what I'm about to say).

The bootloader initializes all available cores and puts all except one to sleep. That one core (CPU from now on) is your bootstrap CPU (BSP). Once your kernel is loaded (and the mapping is set up etc.), the bootloader (running on the BSP) jumps to your kernel.

Your kernel (running on the BSP) now needs to somehow start the APs (the other, currently sleeping, non BSP CPUs).

This may be an entry point for you into m…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ChocolateLoverRaj
Comment options

@tsatke
Comment options

@ChocolateLoverRaj
Comment options

Answer selected by ChocolateLoverRaj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants