Executable structure

Dynamic linking

File system

A file is an abstraction of persistent storage, hiding details of storage devices: protocol, allocation, etc.

Disk structure

Bootstrapping

  1. Ground zero:
  2. BIOS: mini real OS
    1. Stored in mostly-read-only memory (nowadays flash memory, previously: EEPROM, EPROM, PROM)
    2. Load the actual OS
    3. Configures hardware details: RAM refresh rate (bus speed), password protection, Boot-device order, etc.

I/O devices

Memory-mapped IO vs port-mapped IO…