ArvernOS
Loading...
Searching...
No Matches
kmain_start.h File Reference
#include <boot.h>
#include <stdint.h>
Include dependency graph for kmain_start.h:

Functions

void kmain_early_start ()
void kmain_start (const boot_info_t *info)

Detailed Description

This file contains the functions shared by all arch- and/or board-specific kmain() functions to start the kernel in ArvernOS.

Function Documentation

◆ kmain_early_start()

void kmain_early_start ( )

Early starts the kernel.

◆ kmain_start()

void kmain_start ( const boot_info_t * info)

Starts the kernel. This function should be called once the arch- and/or board-specific initialization code has been executed.

The boot information (command line, initial ramdisk, etc.) must have been recorded with boot_info_set() beforehand (cf. boot.h).

Parameters
infothe boot information discovered by the arch-specific boot code