Moved base linear address to 0xFF800000 Kernel only reserves the page frames it actually needs Memory for multiboot2 headers is freed Video memory and APIC registers are dynamically mapped into linear addresses
13 lines
196 B
C
13 lines
196 B
C
#pragma once
|
|
|
|
#include <stdarg.h>
|
|
|
|
int initialize_screen();
|
|
|
|
int putchar(int c);
|
|
|
|
int puts(const char *str);
|
|
|
|
int printf(const char *format, ...);
|
|
|
|
int sprintf(char *str, const char *format, ...); |