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
![Transition from User to Kernel Mode](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqeh9ct8DVp_Iu96RfHPOLdYSHyVplRPGurw2S1CUYigEiVuMQQ1P4YZJ_rHWF4ZDtSLyv-ffWUpZb7cLs3G4wCSygOo9UwopjQka3aT_9x4MF_GowctddJkNv96MoppYXCOosO4h1mzI/s400/Operating+Systems+-+Transition+from+kernel+to+user+mode.bmp)
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