[coyotos-dev] SMP: Bootable ISO image for fun
Jeroen Visser
jeroen.c.visser at gmail.com
Tue Oct 23 21:13:27 EDT 2007
Hello,
Buyer beware...
The link below is for a bootable ISO image containing my latest SMP
patches and well as a hacked up transmap, and a single shared kernel
map for all CPUs. This is probably not anywhere near where Shap wants
things to go, but seeing multiple CPUs announce themselves is fun :)
This image contains two running processes, inc_eax and inc_edx.
With default grub settings this boots Coyotos in single processor
mode. When you add the "smp" option to the command line and you have
more than one detected CPU (logical core) you will see the rest start
up.
This limps along but really isn't anywhere near SMP safe. And since it
doesn't handle timer interrupts on the additional processors, nothing
will get rescheduled. Under qemu -smp however you should be able to ee
that one CPU is busy incrementing EAX and another EDX.
coyotos-test.iso.bz2
http://www.mediafire.com/?7gxmtyfmmbi
This code boots on a Toshiba 1 CPU laptop and an Acer HT Intel. It
does not boot on my dual core x86-64 laptop but that is due to IOAPIC
or related problems.
-JCV
More information about the coyotos-dev
mailing list