Skip to content

Adds multicore processing support to a 64-bit x86 research operating system (InfOS). This involved designing the boot protocol to handle multiple cores, adapting the interrupt system to handle interprocessor interrupts, reworking the scheduler to distribute threads among multiple cores and writing locking primitives that prevent race conditions.

kimbethstonehouse/multicore-support

Repository files navigation

multicore-support

From within the multicore-support directory, run InfOS using the ./build-and-run.sh script.

To modify the number of cores, modify the -smp argument within run.sh.

InfOS runs in unicore mode by default. To run in multicore mode, add the smp=yes argument to the runscript, like so:

./build-and-run.sh smp=yes

Open a new terminal and run vncviewer localhost to see the InfOS shell. From ehre, you can run programs in the user space. Try:

/usr/mandelbrot

About

Adds multicore processing support to a 64-bit x86 research operating system (InfOS). This involved designing the boot protocol to handle multiple cores, adapting the interrupt system to handle interprocessor interrupts, reworking the scheduler to distribute threads among multiple cores and writing locking primitives that prevent race conditions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published