【正文】
for the process Bounds register(界限寄存器 ) Ending location of the process These values are set when the process is loaded or when the process is swapped in 28 Registers Used during Execution The value of the base register is added to a relative address to produce an absolute address The resulting address is pared with the value in the bounds register If the address is not within bounds, an interrupt is generated to the operating system 29 Paging(分頁(yè) ) Partition memory into small equal fixedsize chunks and divide each process into the same size chunks The chunks of a process are called pages and chunks of memory are called frames(幀 ) Operating system maintains a page table(頁(yè)表 ) for each process Contains the frame location for each page in the process Memory address consist of a page number and offset within the page 30 Assignment of Process Pages to Free Frames 31 Assignment of Process Pages to Free Frames 32 Page Tables for Example 每頁(yè)對(duì)應(yīng)一個(gè)幀位置 空閑幀列表 33 34 35 Segmentation All segments of all programs do not have to be of the same length There is a maximum segment length Addressing consist of two parts a segment number(段號(hào) ) and an offset Since segments are not equal, segmentation is similar to dynamic partitioning 36 37