Skip to content

Packing satp

Exercise: 39k_virtual_memory · Fri Oct 30 · Length: 5:25 · Lecture: Week 10 · satp by hand · Explainer: Packing satp

A narrated walk through the explainer, for after the Oct 27 lecture and before Friday's session: one register, satp, names the whole page table. The video builds a satp value from a root table's address, field by field, for two example roots, then shows the test's two checks of that value. Two broken cases follow, with what the test printed for each in a real run: the mode left out, and the address left unshifted. Then the two given instructions that install the value, and the TLB from 43k on. It shows no solution code: only the register's bits, with numbers that are examples, not the lecture's.

Download the video (MP4, 7 MB) · Captions (WebVTT) · All five Week 10 videos