Operating System Report of User Mode and Kernel Mode An Overview
Operating System Report of User Mode and Kernel Mode An Overview
Report of
User Mode
And
Kernel mode
An Overview
Directed by: Mr. Mohammed Yousif
Abdullah Sirwan
Omar Abbas
Ali Emad
User Mode vs Kernel Mode
A computer operates in two modes which are user mode and kernel
mode. When the computer is running application software, it is in user
mode. After the application software request for hardware, the
computer enters kernel mode. The kernel is the core of the computer
system. Subsequently, the computer frequently switches between user
mode and kernel mode. Most critical tasks of the operating system are
executing in the kernel mode. The key difference between User Mode
and Kernel Mode is that user mode is the mode in which the
applications are running and kernel mode is the privileged mode to
which the computer enters when accessing hardware resources.
There are several types of system calls. Process control system calls
create processes and terminates processes. File management system
calls read, write, create, delete, open, and close files. Device
management system calls request devices and release devices, get and
set device attributes. There are also information maintenance system
calls. They can be used to get system data, time, date. Resource
required by one process might be held by another process. Therefore,
the processes should communicate using communication system calls.
Communication system calls can create and delete connections, send
and receive status information.