Class notes --02 operating system, the operating system basics

Class notes --02 operating system, the operating system basics


2.1, OS startup

DISK: storage OS

BIOS: Basic I / O processing system

Bootloader: Load OS

POST (Power On Self Test): Looking for graphics and execute BIOS

2.2, OS interact with the equipment and procedures

  1. System calls, exceptions, interrupts
  2. Three interactive event source:

  3. Interrupt: Peripherals
  4. Exception: unexpected application behavior
  5. System call: application requests the operation service

    Processing time of three interactive events

  6. Interrupts: Asynchronous
  7. Exception: Synchronization
  8. System call: asynchronous or synchronous

    Three state response interaction events

  9. Break: continuous, for user application is transparent
  10. Exception: Kill or re-execute unexpected application instructions
  11. System call: Wait and sustained

    Handling mechanism interrupts and exceptions

  12. Detailed analysis of system calls:


    The main program is accessible interface instead of a direct system calls through high-level API

  13. Overhead across operating system boundaries

Guess you like

Origin www.cnblogs.com/xgp123/p/11606883.html