6 ToDos
tomolt edited this page 2025-10-01 19:29:01 +02:00

To Do's

Basics

  • serial console output
  • printf
  • GDT
  • Spinlocks
  • Interrupt Table + Handlers
  • Physical Memory Allocation
  • Memory Allocation (malloc or SLAB or buddy or ...)
  • Paging
  • LAPIC
  • IOAPIC
  • Differentiate between BSP and AP processors

Advanced

  • PCI(e)
  • Timers (PIT or RTC or LAPIC or HPET or ...)
  • reading the initrd
  • Stack Protector
  • Insert proper locking into existing codebase

Getting to userspace

  • parsing executables (ELF?)
  • LAPIC timer
  • syscall, sysret
  • iret into ring 3
  • process/thread/task structures
  • one kernel thread per task
  • context switching
  • basic scheduler

Block devices

File Systems

Network devices

Graphics

  • Find suitable target hardware: Intel (U)HD Graphics 4000 (Haswell)

Human Input Devices

  • Intel 8042 PS/2 Controller
  • Text Console Framebuffer Drawing

Host Controllers

  • AHCI / SATA
  • OHCI (USB1)
  • UHCI (USB1)