Go to index, previous page, next page

kernel.cc

This module contains the main() function of the kernel. It performs initialisation and starts the first thread.

This module exports:

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


Module functions:

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


Go to index, previous page, next page