1 / 6

Load-Time Relocation

Load-Time Relocation. 0. Process 1. Process 6. Process 3. Operating System. ∞. Base & Bound Example. Virtual Address Space. 0. 62. CALL 140. 66. 140. RETURN. SP. 1420. 2000. x86-64 Address Translation. 64-bit Virtual Address. 16. 9. 9. 12. 9. 9. not used. PML4 Table.

charla
Download Presentation

Load-Time Relocation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Load-Time Relocation 0 Process 1 Process 6 Process 3 OperatingSystem ∞ CS 140 Lecture Notes: Virtual Memory

  2. Base & Bound Example Virtual AddressSpace 0 62 CALL 140 66 ... 140 ... RETURN SP 1420 2000 CS 140 Lecture Notes: Virtual Memory

  3. x86-64 Address Translation 64-bit Virtual Address 16 9 9 12 9 9 not used PML4 Table Page Directory Pointer Table(PML3) Page Directory(PML2) Page Table 40 12 Page Frame Offset PML4 Base 52-bit Physical Address

  4. Accessing User Memory write(fd, buffer, length) Pages buffer User AddressSpace (Virtual) OS AddressSpace (Physical) CS 140 Lecture Notes: Virtual Memory

  5. OS and User in Same Address Space 0 Code Data Stack OperatingSystem ∞ CS 140 Lecture Notes: Virtual Memory

  6. CS 140 Lecture Notes: Virtual Memory

More Related