Skip to content
Related Articles

Related Articles

Improve Article
GATE | GATE-CS-2005 | Question 90
  • Difficulty Level : Hard
  • Last Updated : 11 Sep, 2014

Normally user programs are prevented from handling I/O directly by I/O instructions in them. For CPUs having explicit I/O instructions, such I/O protection is ensured by having the I/O instructions privileged. In a CPU with memory mapped I/O, there is no explicit I/O instruction. Which one of the following is true for a CPU with memory mapped I/O?
(A) I/O protection is ensured by operating system routine (s)
(B) I/O protection is ensured by a hardware trap
(C) I/O protection is ensured during system configuration
(D) I/O protection is not possible

Answer: (A)

Explanation: User applications are not allowed to perform I/O in user mode – All I/O requests are handled through system calls that must be performed in kernel mode.

Quiz of this Question

Attention reader! Don’t stop learning now. Learn all GATE CS concepts with Free Live Classes on our youtube channel.

My Personal Notes arrow_drop_up
Recommended Articles
Page :