- 2
- 0
- 约6.58千字
- 约 45页
- 2020-12-30 发布于安徽
- 举报
Operating System Concepts User’s View of a Program Operating System Concepts Logical View of Segmentation 1 3 2 4 1 4 2 3 user space physical memory space Operating System Concepts Segmentation Architecture Logical address consists of a two tuple: segment-number, offset, Segment table – maps two-dimensional physical addresses; each table entry has: base – contains the starting physical address where the segments reside in memory. limit – specifies the length of the segment. Operating System Concepts Segment-table base register (STBR) points to the segment table’s location in memory. Segment-table length register (STLR) indicates number of segments used by a program; segment number s is legal if s STLR. Operating System Concepts Segmentation Architecture (Cont.) Relocation. dynamic by segment table Operating System Concepts Sharing. shared segments same segment number Allocation. first fit/best fit external fragmentation Operating System Concepts Segmentation Architecture (Cont.) Protection. With each entry in segment table associate: validation bit = 0 ? illegal segment read/write/execute privileges Protection bits associated with segments; code sharing occurs at segment level. Operating System Concepts Since segments vary in length, memory allocation is a dynamic storage-allocation problem. A segmentation example is shown in the following diagram Operating System Concepts Segmentation Hardware Operating System Concepts Example of Segmentation Operating System Concepts Sharing of Segments Operating System Concepts Example: The Intel Pentium Supports both segmentation and segmentation with paging CPU generates logical address Given to segmentation unit Which produces linear addresses Linear address given to paging unit Which generates physical address in main memory Paging units form equivalent of MMU Operating System Concepts Logical to Physical Address Translation in Pentium Operating System Concepts Intel Pentium Segmentation Operating System Con
您可能关注的文档
最近下载
- SY_T 5333-2023 钻井工程设计规范.pdf VIP
- 深度解析(2026)《SYT 5946-2019钻井液用包被抑制剂 聚丙烯酰胺钾盐》.pptx VIP
- 卧式储罐体积容积计算(带公式).xls VIP
- 深度解析(2026)《SYT 5661-2019钻井液用增粘剂 丙烯酰胺类聚合物》.pptx VIP
- SY_T 5061-2020 钻井液用石灰石粉.docx VIP
- 深度解析(2026)《SYT 5677-2019钻井液用滤纸》.pptx VIP
- ICU常用药物中英文对照一览表.doc VIP
- 心血管常用名词缩写和心血管常用药物英汉对照.pdf VIP
- ISO9001 质量管理体系全套(质量手册+程序文件+表格记录全套).doc VIP
- 深度解析(2026)SYT 5794-2010《钻井液用沥青类评价方法》:从标准解读到未来油田化学智能化应用的战略前瞻.pptx VIP
原创力文档

文档评论(0)