Skip to content

OSlings Practice 42k-44k, Problem 1: Boot Order

OSlings Practice 42k-44k, problem 1 of 3 · Length: 4:58 · Exercise: 42k_boot_to_life (Week 11) · Problems: 42k-44k (PDF) · Answer key: Solutions (PDF)

Two parts, worked on the set's pages 1 and 2: (a) what kvmmake() returns when kinit builds the page table before kalloc::init(), and why, then the fixed order; (b) why uart::init() comes first, and why the idle loop runs wfi instead of spinning in an empty loop {}. The answer key's handwriting is written onto the page as each step is worked.

Download the video (MP4, 8 MB) · Captions (WebVTT) · All three problems