blob: 0d1719c5893bc08ebcd8df396bbb55f9844967e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
* boot.bin - boot sector (stage 1 and 2, total 2k), offset 0x7c00
* boot.asm - the main boot sector code using:
* kernel.bin - linked kernel with fix start offset 0x8400
* boot_gdt.asm - the early GDT, flat memory model, no protection
* stage1_functions.asm - real mode functions of the bootloader
* stage2_functions.asm - protected mode primitive VGA routines
* switch_mode.asm - early GTD loading and switching from real to protected mode
* kernel.c - Kernel C entry point 'kernel_main'
* magic.bin (512 bytes magic marker sector)
* magic.asm
kernel utility routines
* kernel.c - kernel helper functions
* port.c, port.asm - I/O ports
* interrupts.c, interrups.asm - interrupt handlers
* pci.c - PCI introspection and driver initialization
* console.c - the kernel console, can use VGA or serial port for now
* vga.c - VGA basic output routines for early kernel output
* serial.c - serial output to COM1 (only sequential ASCII chars, no terminal)
kernel drivers
* driver.c - generic driver manager
* keyboard.c - PS/2 keyboard
* mouse.c - PS/2 mouse
C library definitions
* stddef.h - definition of NULL, size_t
* limits.h - domain range constants like INT_MAX
C library routines
* string.c - string, memory functions
* stdlib.c - UNIX standard library functions
* stdio.c - I/O functions, printing
|