#include <oskit/machine/base_cpu.h>void base_cpu_init(void);
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.
- cpuid
- 10.5.2
- base_trap_init
- 10.8.2
- base_gdt_init
- 10.7.2
- base_tss_init
- 10.7.7