kimbethstonehouse / multicore-support

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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.


Languages

Language:CMake 29.9%Language:C++ 28.9%Language:C 23.5%Language:Makefile 13.9%Language:Shell 3.8%