Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

distinguish between user mode and kernel mode?

Answer Posted / rhino

Kernel Mode (System Mode) :

in this mode executing code has complete and unrestricted
access to the underlying hardware. It can execute any CPU
instruction and reference any memory address.

Kernel mode is generally reserved for the lowest-level,
most trusted functions of the operating system. Crashes in
kernel
mode are catastrophic; they will halt the entire PC.

When the CPU is in kernel mode, it is assumed to be
executing trusted software, and thus it can execute any
instructions
and reference any memory addresses (i.e., locations in
memory).

The kernel (which is the core of the operating system and
has complete control over everything that occurs in the
system)
is trusted software, but all other programs are considered
untrusted software.

Thus, all user mode software must request use of the kernel
by means of a system call in order to perform privileged
instructions, such as process creation or input/output
operations.


User Mode :

In User mode, the executing code has no ability to directly
access hardware or reference memory. Code running in user
mode must delegate to system APIs to access hardware or
memory.

Due to the protection afforded by this sort of isolation,
crashes in user mode are always recoverable. Most of the
code
running on your computer will execute in user mode.

Is This Answer Correct ?    21 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Enlist some filename manipulation commands in unix.

1159


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

1220


What are awk commands?

1158


What does awk stand for?

1077


What is the use of tee command?

1156


How do I delete files from command prompt?

1219


What is the command to view process running?

1104


How do I run a bash script?

1182


How do I search for a file in unix command?

1019


Explain command to display different lines that are found when compare two files?

1176


What is s and g in sed command?

1114


What are the unix commands?

1095


What is the use of find command in unix?

1149


What is the difference between grep and grep?

1126


What is the use of sed command in unix?

1199