CS 452/652 Spring 2022 - Lecture 5

May 17, 2022 prev next

Context Switch (cont'd)

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.

Mixing C and Assembler

Coding

See various examples file in demo05. Take a look at the compiled .s source

Recommendations

RedBoot Init

Kernel Start

Task Management

Scheduling