CS 452/652 Winter 2024 - Lecture 5

ABI, Coding, Kernel

Jan 23, 2024 prev next

Application Binary Interface (ABI)

→ can use ABI rules when implementing (synchronous) system call!

Coding: Mixing C/C++ and Assembler

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

Recommendations

Kernel Design

Context Switch (details)

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.

Kernel Initialization

Task Creation