<aside> 🧠

Last time Prof. Eyolfson proved to us that virtual memory indeed exists!

</aside>

Summary

Kernel interfaces operate between CPU mode boundaries- in user mode, applications have restricted access that they cannot directly interact with hardware or critical system resources

System Calls

<aside> ☎️

System calls are functions provided by the kernel that allow user programs to make requests to the OS (i.e., file operations, memory allocation, process control, or communication with hardware).

We can represent them as regular C functions

</aside>

Another abstraction: file descriptors

IPC: inter-process communication is transferring data between two processes

File descriptor: a resource that users may either read bytes from or write bytes to

Expected File Descriptors: