X hits on this document

102 views

0 shares

0 downloads

0 comments

27 / 40

1.27

Silberschatz, Galvin and Gagne ©2005

Operating System Concepts

Operating-System Operations

Interrupt driven by hardware

Software error or request creates exception or trap

Division by zero, request for operating system service

Other process problems include infinite loop, processes modifying each other or the operating system

Dual-mode operation allows OS to protect itself and other system components

User mode and kernel mode

Mode bit provided by hardware

Provides ability to distinguish when system is running user code or kernel code

Some instructions designated as privileged, only executable in kernel mode

System call changes mode to kernel, return from call resets it to user

Document info
Document views102
Page views102
Page last viewedThu Dec 08 14:21:03 UTC 2016
Pages40
Paragraphs571
Words2538

Comments