Shipped Without an Edit¶
Exercise: 53k_ship_your_commands · Fri Dec 4 · Length: 6:54 · Reading: Week 15 · What oslings ship does · Explainer: Shipped Without an Edit
A narrated walk through the explainer, for before Friday's session (Dec 4),
to go with the Week 15 reading
fork, wait, and the User Shell:
a September command compiles twice from one unedited
source, once for your laptop and once for rv6, and oslings ship turns the
rv6 build into a flat image inside the kernel, which exec finds by name. The
video reads the course's own wc, built for the lab's laptop and for rv6,
then steps through what becomes of the rv6 build: its ELF file, its flat
image, its entry in the shipped table, and run mywc pantry, typed at rv6$
under cargo run on the reference kernel, from the lookup of its name to its
pages, its system calls and what it printed. The skeleton follows, with the
same keys typed and what it printed, and the line the test prints for it. The
video ends on what you write, the test's own commands, and what holds once it
passes. It shows no solution code: only the builds, the image, the table's
entries, the user pages and each call's answer at each step, with an example
file, or the test's own.
Download the video (MP4, 9 MB) · Captions (WebVTT) · All eleven Week 15 videos