Skip to content

minano430/Linux_page_unit_project

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Linux Page Unit Project

Introduction

  • This project is a simple demonstration for translating virtual address to physical address.
  • Using Page Global Directory(PGD), Page Upper Directory(PUD), Page Middle Directory(PMD), Page Table(PTE)
  • Implemented with a Linux kernel module.

Environment

  • Linux Kernel 3.10.104
  • Ubuntu Desktop 16.04 32-bit
  • Ubuntu Package:
    • wget
    • gcc
    • bc
    • libgetopt-argvfile-perl
    • libncurses5-dev

Setup

Result

  • We can use dmesg to watch the output of this kernel module.
  • We can see the virtual address translating procedure with PGD->PUD->PMD->PT, and then we can get physical address in out physical memory.

About

A Project for study Linux memory management unit. Using Linux paging mechanism to translate virtual address to physical address

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C 100.0%