- 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.
- Linux Kernel 3.10.104
- Ubuntu Desktop 16.04 32-bit
- Ubuntu Package:
- wget
- gcc
- bc
- libgetopt-argvfile-perl
- libncurses5-dev
- Compile and install Linux kernel(v3.10.104) from source code
- Create
Makefile
for compiling Linux Module - Compile
hello.c
and usingdmesg
to watch the output of kernel module.