Udemyallen

xv6 operating system kernel design from scratch in C program

Learn OS fundamentals! Build the xv6 kernel with hands-on design. Practical experience in operating system development.

3.6(20)
227students
9h 4m
Certificate
Ezeuko Emmanuel
Ezeuko EmmanuelComputer engineer

Course Content

xv6 operating system kernel design from scratch in C program is an all-levels Udemy course taught by Ezeuko Emmanuel. It runs 9h 4m, is taught in English, and includes a certificate of completion. Learners rate it 3.6 out of 5 from 20 reviews, with 227 students enrolled. It is a paid course, first published March 2024.

Dive into the world of operating systems with a deep exploration of the xv6 kernel! This 8-hour course provides hands-on experience writing C code from the ground up for a powerful, multi-core processor kernel, ideal for learning OS fundamentals.

You'll gain practical skills by building and understanding core OS concepts, including:

  • Kernel Subsystem Initialization: Learn how to set up essential kernel components like processes, memory management, disk access, interrupt handling, trap mechanisms, and different processor modes.
  • Operating Modes: Master the nuances of machine mode, supervisor mode, and user mode, and understand the critical process of switching between them.
  • Multi-Core Synchronization: Develop robust techniques for protecting shared data on multi-core systems using spin locks and sleep locks.
  • Hardware Virtualization: Explore how to interface with external hardware like keyboards and displays using chips like the 16550a UART.
  • Virtual Memory: Understand virtual memory addressing and how it's mapped to physical memory for efficient resource utilization.
  • System Calls: Learn how to generate system calls from user mode, including the transition and execution process in supervisor mode.
  • Timer Interrupts & Scheduling: Discover how timed operations like sleep() and process scheduling are managed using timer interrupts.
  • Disk Management: Explore essential disk management techniques, including buffering, bit-mapping, and logging for optimized data storage.
  • VIRTIO Memory-Mapped Registers: Understand how hardware virtualization enables disk access from virtual machines to the host system via VIRTIO memory-mapped registers.
  • File Management: Learn how to organize files and directories using inodes, pipes, and device files both on disk and in memory.
  • Process Management & Scheduling: Gain expertise in process management and scheduling techniques, covering process creation, process allocation, and process manipulation.

The xv6 kernel runs seamlessly on the QEMU virtual machine, providing a safe and flexible environment for experimentation. This course empowers you to extend the kernel's features and build a solid foundation in operating system design.

$ whoami — the devs behind tutorialsearch.io

Need a web app built? Hire the team behind TutorialSearch.io

We ship fast, production-grade full-stack apps (Next.js, React, edge infra) — the same stack that powers this site.