Skip to main content
Contents
Dark Mode Prev Up Next Profile
\(\newcommand{\N}{\mathbb N} \newcommand{\Z}{\mathbb Z} \newcommand{\Q}{\mathbb Q} \newcommand{\R}{\mathbb R}
\newcommand{\lt}{<}
\newcommand{\gt}{>}
\newcommand{\amp}{&}
\definecolor{fillinmathshade}{gray}{0.9}
\newcommand{\fillinmath}[1]{\mathchoice{\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}}
\)
Section 3.2 Address Translation
This reading covers chapter 15 on the details of address translation.
Practice 3.2.1 .
Which of the following are assumptions we will be making in this section about the user address spaces?
All processes will need the same amount of space, so all address spaces are of the same size.
All the needed address spaces can collectively fit in the physical memory.
Only one process can be in memory at a time.
We must place each entire address space in a single contiguous location.
All requests for address space are known ahead of time.
Practice 3.2.2 .
Read section 15.3 about hardware-based dynamic relocation.
Practice 3.2.3 .
Practice 3.2.4 .
A process address space is specified using the base-bounds setup with base address at
0x1000 and a bounds value of
0x2000 (with the approach that it indicates the increment from the base, i.e. itβs the highest address of the address space). Which of the following are acceptable address space base-bounds values for other processes?
base of 0x2000 and bounds of 0x1000.
base of 0x2000 and bounds of 0x1000.
base of 0x3000 and bounds of 0x2000.
base of 0x0000 and bounds of 0x2000.
Read section 15.4, summarizing the needed hardware support.
Practice 3.2.5 .
Practice 3.2.6 .
Practice 3.2.7 .
Read section 15.5, about the responsibilities of the operating system.
Practice 3.2.8 .
Which of the following are the responsibilities of the OS regarding address translation?
Finding appropriate space in memory for a new process.
Translating every address that appears in the user program to a corresponding physical address.
Set the base and bounds registers at every context switch.
Provide code to run when a process attempts to access out of its bounds.
Make sure that the user code does not reference addresses outside of its address space.
No the OS must simply provide a mechanism to handle the exception when the user program tries to do this.
Read the summary section 15.6.
You have attempted
of
activities on this page.