Virtual Memory Management and Address Translation Overview

load time relocation n.w
1 / 5
Embed
Share

Explore the concepts of virtual memory management, load-time relocation, base and bounds example, x86-64 address translation, and accessing user memory in operating systems. Learn about the interaction between user and operating system memory spaces, stack, data, and code organization.

  • Virtual Memory
  • Address Translation
  • Operating System
  • Memory Management
  • x86-64

Uploaded on | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. Load-Time Relocation Operating System Process 3 Process 6 Process 1 0 CS 111 Lecture Notes: Virtual Memory Slide 1

  2. Base & Bounds Example 2000 1420 SP Process Virtual Address Space RETURN 140 66 CALL 140 62 0 CS 111 Lecture Notes: Virtual Memory Slide 2

  3. x86-64 Address Translation 64-bit Virtual Address 16 9 9 9 9 12 PML1 (Page Table) PML2 (Page Directory) PML3 (Page Directory Pointer Table) 40 12 PML4 Page Frame Offset PML4 Base 52-bit Physical Address CS 111 Lecture Notes: Virtual Memory Slide 3

  4. Accessing User Memory write(fd, buffer, length) Pages User Address Space (Virtual) OS Address Space (Physical) CS 111 Lecture Notes: Virtual Memory Slide 4

  5. OS and User in Same Address Space Operating System Stack Data Code 0 CS 111 Lecture Notes: Virtual Memory Slide 5

Related


More Related Content