main() function of the kernel. It performs
initialisation and starts the first thread.
struct KernelData KernData |
To reduce the use of global variables, all the vital kernel data are stored inside this structure. See the header file for futher details on its fields. |
Look at the header file: kernel.e
main() |
This is the entry point the BIOS will call when booting the machine.
It performs the initialisation of the kernel data structure then
it starts the first thread, which consists of the test() function
you can find in p2test.cc
|
Look at the code: kernel.cc