|
StuBS
|
#include "startup.h"#include "types.h"#include "compiler/libc.h"#include "debug/output.h"#include "debug/kernelpanic.h"#include "interrupt/handler.h"#include "machine/acpi.h"#include "machine/apic.h"#include "machine/core.h"#include "machine/idt.h"#include "machine/pic.h"Functions | |
| void | kernel_init () |
| Initializes the C++ environment and detects system components. | |
Constants | |
| static bool | is_bootstrap_processor = true |
| The first processor is the Bootstrap Processor (BSP) | |
| void kernel_init | ( | ) |
Initializes the C++ environment and detects system components.
The startup code(both for bootstrap and application processor) jumps to this high level function. After initialization it will call main() or main_ap() respectively
|
static |
The first processor is the Bootstrap Processor (BSP)