|   | 1 | = GIET_VM / Shared Kernel functions = | 
                  
                          |   | 2 |  | 
                  
                          |   | 3 | 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: | 
                  
                          |   | 4 |  * They are used by the boot-loader in the ''static'' phase, to build the page tables and initialize the schedulers and the peripherals. | 
                  
                          |   | 5 |  * They are used by the kernel in the ''dynamic'' phase, to handle events such as interrupts, exceptions and syscalls.  | 
                  
                          |   | 6 |  | 
                  
                          |   | 7 | === [wiki:kernel_cp0 CP0 registers access functions] === | 
                  
                          |   | 8 |  | 
                  
                          |   | 9 | === [wiki:kernel_cp2 CP2 registers access functions] === | 
                  
                          |   | 10 |  | 
                  
                          |   | 11 | === [wiki:kernel_paddr Physical addressing functions] === | 
                  
                          |   | 12 |  | 
                  
                          |   | 13 | === [wiki:kernel_locks Locks access functions] === | 
                  
                          |   | 14 |  | 
                  
                          |   | 15 | === [wiki:kernel_tty0 TTY0 access functions] === | 
                  
                          |   | 16 |  | 
                  
                          |   | 17 | === [wiki:kernel_context Task context access functions] === | 
                  
                          |   | 18 |  | 
                  
                          |   | 19 | === [wiki:kernel_mapping Mapping access functions] === | 
                  
                          |   | 20 |  | 
                  
                          |   | 21 | === [wiki:kernel_pmem Physical memory allocators] === | 
                  
                          |   | 22 |  | 
                  
                          |   | 23 | === [wiki:kernel_vmem Virtual to physical address translation] === | 
                  
                          |   | 24 |  | 
                  
                          |   | 25 | === [wiki:kernel_utils Miscelaneous kernel functions] === |