Operating System OS has two modes of Operation:-
1. User mode
2. Kernel mode (Supervisor mode, system mode or privileged mode)
A bit called mode bit is added to the hardware of the computer to indicate the current mode: kernel (0) or user (1). With the mode bit, we are able to distinguish between a task that is executed on behalf of the OS and one that is executed on behalf of the user.
Transition from User to Kernel Mode

At boot time, the hardware starts in kernel mode. The OS is then loaded and starts user
application in user mode.
No comments:
Post a Comment