![]() |
FrostWing
A lightweight raw-control operating system.
|
The basic requirement from kernel to other parts of the code. More...
#include <flanterm/flanterm.h>#include <fb.h>#include <hal.h>#include <acpi.h>#include <acpi-shutdown.h>#include <pci.h>#include <graphics.h>#include <opengl/glcontext.h>#include <opengl/glbackend.h>#include <stddef.h>#include <stdint.h>#include <limine.h>#include <memory.h>#include <strings.h>#include <math/fpu.h>#include <sse.h>#include <debugger.h>#include <drivers/serial.h>#include <basics.h>#include <cpuid2.h>#include <heap.h>#include <drivers/pc-speaker.h>#include <drivers/rtl8139.h>#include <versions.h>#include <cc-asm.h>#include <secure-boot.h>#include <paging.h>#include <algorithms/hashing.h>#include <keyboard.h>#include <linkedlist.h>#include <ps2-mouse.h>#include <image/targa.h>#include <executables/fwde.h>#include <fdlfcn.h>#include <stream.h>
Go to the source code of this file.
Macros | |
| #define | KERNEL_OFFSET 0xffffffff00000000 |
| Long story short: linker is a mole-rat and gives virtual addresses. But we asked the linker to allocate at this address, so we are spoofing its "security" to get the real memory address of kernel start and end. | |
Functions | |
| void | main (void) |
| The main kernel function. | |
The basic requirement from kernel to other parts of the code.
Definition in file kernel.h.
| #define KERNEL_OFFSET 0xffffffff00000000 |
| void main | ( | void | ) |
The main kernel function.