CS 452/652 Spring 2025 - Lecture 5

ABI, Coding, Kernel

May 20, 2025 prev next

ABI - Procedure Call Standard for the Arm 64-bit Architecture

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

Context Switch (details)

Task Creation

Kernel Initialization

Additional Information

An earlier context-switch 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.