CIS 452 Study Guide - Final Guide: Family Of Sets, Protection Ring, Logical Address

135 views4 pages
2 May 2018
School
Course
Professor
http://codex.cs.
yale.edu/avi/os
-
book/OS9/prac
tice-exer-dir/8-
web.pdf
7.1
Name two
differences
between
logical and
physical
addresses.
Logical address is not real address. Generated by CPU
Physical add refer to real add. Generated by MMU.
7.2
the major advantage is for code and data sharing.
The disadvangtage is code and data separated
7.3
why are page size always powers of 2
because of the bit position represents a power of 2, splitting an add between bits result in a page size
that is power of 2.
7.5
by allowing 2 entries in a page table to point to the same same page frame in M , users can share code
and data
https://www.cs.auckland.ac.nz/courses/compsci340s2c/tutorials/tutorials2014/Tutorial8/Tutorial8.pdf
7.8
a. Protection not necessary, set system key to 0.
b. Set system key to 0 when in supervisor mode.
c. Region sizes must be fixed in increments of 2k bytes, allocate key with memory blocks.
d. Same as above.
e. Frame sizes must be in increments of 2k bytes, allocate key with pages.
f. Segment sizes must be in increments of 2k bytes, allocate key with segments.
7.12.
a. relocation of the whole prorram since there is not enough space.
b. require relocation of the segment that needs to be extended.
c. pure paging : increments the new pages.
find more resources at oneclass.com
find more resources at oneclass.com
Unlock document

This preview shows page 1 of the document.
Unlock all 4 pages and 3 million more documents.

Already have an account? Log in

Document Summary

Name two differences between logical and physical addresses. 7. 2 the major advantage is for code and data sharing. 7. 3 why are page size always powers of 2 because of the bit position represents a power of 2, splitting an add between bits result in a page size that is power of 2. 7. 5 by allowing 2 entries in a page table to point to the same same page frame in m , users can share code and data https://www. cs. auckland. ac. nz/courses/compsci340s2c/tutorials/tutorials2014/tutorial8/tutorial8. pdf. 7. 8: protection not necessary, set system key to 0. b. 7. 12: relocation of the whole prorram since there is not enough space, require relocation of the segment that needs to be extended, pure paging : increments the new pages. Paging requires more memory overhead to maintain the translation structures. Segmentation requires just two registers per segment: one to maintain the base of the segment and the other to maintain the extent of the segment.