x86 STUFF
- Although the files are named ...486..., they probably won't work on anything less that a Pent Pro.
- The 'kernel' actually runs mostly in exec (level 1) mode. Only the default exception handler runs in
true kernel mode, and very small 'int' instruction handlers to access the control registers. I did
this to catch exec stack overflows and such. It can be disabled and it all run in kernel mode by
setting the EXECODESEG and EXEDATASEG symbols in oz_params_486.s to KNLCODESEG and KNLDATASEG.
- In light of the above, there is one TSS per cpu. It holds the Kernel and Executive stack pointers, and
that's about it. When a thread switch happens, the TSS's exec sp is changed to that required by the
new thread. The kernel sp is not touched, and it points to the top of its own 4k page.
- My system is an Asus P2B-D with dual P2 350's, 256Mb ram,
DE450 (tulip) ethernet, Lsilogic 53C875 scsi card.