CS 452/652 Winter 2020 - Lecture 6

January 17, 2020 prev next

Context Switch

Subroutine Call

Stack Switch

Mode Switch

ARM Instructions

SWI Instruction

After SWI

Kernel Exit

System Call Processing

Additional Information

An earlier document by Bill Cowan is available here.

This is certainly not the only way to write a context switch and I do not necessarily recommend (or not recommend) this particular approach, but I figure every bit of information can help.