next up previous contents index
Next: 10.6.5 base_cpu_load: activate the Up: (X86) Base Environment Previous: 10.6.3 base_cpu_setup: initialize and

10.6.4 base_cpu_init: initialize the base environment data structures

   

SYNOPSIS

#include <oskit/machine/base_cpu.h>

void base_cpu_init(void);

DESCRIPTION

This function initializes all of the critical data structures used by the base environment, including base_cpuid, base_idt, base_gdt, and base_tss, but does not actually activate them or otherwise modify the processor's execution state. The base_cpu_load function must be called later to initialize the processor with these structures. Separate initialization and activation functions are provided to allow the OS to customize the processor data structures if necessary before activating them.

DEPENDENCIES

cpuid
10.5.2
base_trap_init
10.8.2
base_gdt_init
10.7.2
base_tss_init
10.7.7



University of Utah Flux Research Group