Phoenix
Object-oriented orthogonally persistent operating system
Namespaces | Functions
init.cpp File Reference

Low level kernel entry point. More...

#include <sys.h>
#include <boot.h>
Include dependency graph for init.cpp:

Namespaces

namespace  anonymous_namespace{init.cpp}

Functions

void Start (BootParam *bootParam) __NORETURN
 The kernel entry point.

Detailed Description

Low level kernel entry point.

This file contains the entry point for the kernel. It is called by EFI loader with identity mapping active. So this file is linked to physical loading address while the rest code is linked to the kernel image virtual address. Its task is to initialize virtual mapping - map all the kernel to new virtual address, create new stack and switch to it, switch to new virtual address space and call the kernel high-level entry point.


Function Documentation

void Start ( BootParam bootParam)

The kernel entry point.

Called directly by EFI boot loader.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines