flâneur — a map of the web's best reading

cs140e-24win/labs/13-ss-equiv/README.md at main · dddrrreee/cs140e-24win

github.com · 1,649 words · saved by 1 readers

The entire lab (part1 + part 2) will be building a wildly useful trick for ruthlessly detecting subtle operating system mistakes. It will prove invaluable next week when we do virtual memory --- a topic that has extremely hard-to-track-down bugs if you just use "normal" testing of running programs and checking print statements and exit codes. Today you'll build the pieces for the final step on thursday. There's not much code, we build it up in small pieces, and it tests itself, so that's a nice improvement over some labs. Goals: Here you'll learn how to read and write the user-level registers from kernel mode using the ldm and stm idiom in an easy-to-test and examine way. You'll also write the code to read and write other mode registers. You'll use these as a basis for writing process and exception switching code. Two files: Test harness: 0-user-sp-lr.c. You don't have to implement anything, though you should definitely insert assertions or print statements if things act weirdly! All c

Explore this link on the map →

saved by

related reading