Phōs (source code)
= Phōs
{c}
Phōs is a teaching <operating system> appearing in Oxford Digital Systems materials. Its device-service model uses <operating-system processes>: a <device driver> runs as a process, while other processes request its services through a callable interface.<Digital Systems course archive of the University of Oxford>[3 September 2019 resit paper, question 2(a–c): a sensor-driver process and concurrent client requests]{ref}
The sensor example separates three responsibilities. A <device-driver process> coordinates the hardware operation, an <interrupt> signals completion, and a client obtains the result. This lets the hardware service be studied as a communication protocol between <operating-system processes>. The <request-reply sensor conversion> describes how exclusive device ownership, request ordering and completion replies can prevent interference between clients; <starvation freedom> additionally requires progress assumptions about scheduling and hardware completion.
Back to article page