Operating Systems · Revision notes

OS Structures & System Calls

An operating system manages hardware and gives programs a safe, uniform interface. This chapter covers OS roles, the user/kernel split with dual-mode protection, system calls, monolithic vs microkernel designs, and how interrupts and traps transfer control into the kernel.

Quick revision

  • OS = resource manager + abstraction + protection
  • Mode bit: privileged instructions only in kernel mode
  • System call: wrapper → trap → table dispatch → return
  • Monolithic fast but fragile; microkernel safe but IPC overhead
  • Interrupt = async (hardware); trap/exception = sync (instruction)
  • Timer interrupt guarantees OS regains the CPU
Read the full OS Structures & System Calls notes on Doubtclip →