43 | | The boot code and the kernel code are two separated compilation units, but some ''common'' functions can be used by both the boot code and the kernel code: |
| 43 | The boot code and the kernel code are two separated compilation units, but some functions are used by both the boot code and the kernel code: |
| 44 | * They are used by the boot-loader in the ''static'' phase, to build the page tables and initialize the schedulers and the peripherals. |
| 45 | * They are used by the kernel in the ''dynamic'' phase, to handle events such as interrupts, exceptions and syscalls. |