Fundamentals of an OS

What is an OS?

A good example can be reference at section 6.5 of Structured Computer Organization.

Fundamentally, an OS provides services:

  • File services (open, read, write, close etc.)
  • Networking services (open, read, write, close internet socket)
    • Berkeley socket interface
  • Multi-tasking services
    • Creating multiple threads
    • Dictating priorities for threads

Interrupt

An interrupt is an asynchronous function call that can interrupt normal flow of a program.

Kernel vs. User Space

Virtual Memory

Virtual memory is not purely virtual memory, it is virtual memory addresses that maps to real and physical hardware memory.

POSIX Interface

Back to top