CS 452/652 Winter 2022 - Lecture 6

January 19, 2022 prev next

Context Switch

ARM Instructions

Subroutine Call

Stack Switch

Mode Switch

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.