recategorized by
1,218 views
0 votes
0 votes

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?

  1. I/O protection is ensured by operating system routines
  2. I/O protection is ensured by a hardware trap
  3. I/O protection is ensured  during system configuration
  4. I/O protection is not possible
recategorized by

2 Answers

0 votes
0 votes

Option (A). 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.

Related questions

2 votes
2 votes
2 answers
1
0 votes
0 votes
4 answers
2
3 votes
3 votes
2 answers
3
0 votes
0 votes
2 answers
4
Pooja Khatri asked Jul 13, 2018
1,498 views
Which UNIX/Linux command is used to make all files and sub-directions in the directory "progs" executable by all users?chmod - R a + x progschmod - R 222 progschmod - X a...