cs140e-24win/labs/13-ss-equiv/README.md at main · dddrrreee/cs140e-24win
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
- Assessing Claude Mythos Preview’s cybersecurity capabilities \ Anthropicred.anthropic.com
- The "Basics" | Putting the "You" in CPUcpu.land
- Writing an OS in Rustos.phil-opp.com
- Write your Own Virtual Machinejmeiners.com
- User Mode Linux HOWTO - The Linux Kernel documentationkernel.org
- The Linux Kernel Module Programming Guidesysprog21.github.io
- OS 202 Class Notescs.nyu.edu
- The little book about OS developmentlittleosbook.github.io
- Zenbleedlock.cmpxchg8b.com
- Kernel modules - The Linux Kernel documentationlinux-kernel-labs.github.io
- Lab 3: State and Registers | Computer Architecturecomp.anu.edu.au
- Introduction - The LearnixOS Booklearnix-os.com