mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-24 18:51:36 +01:00
move doc of userland physical address tests to README
This commit is contained in:
@@ -1,10 +1,4 @@
|
||||
/*
|
||||
Convert a virtual address to physical for a given process PID using /proc/PID/pagemap.
|
||||
|
||||
https://stackoverflow.com/questions/5748492/is-there-any-api-for-determining-the-physical-address-from-virtual-address-in-li/45128487#45128487
|
||||
|
||||
Test this out with usermem.c.
|
||||
*/
|
||||
/* https://github.com/cirosantilli/linux-kernel-module-cheat#userland-physical-address-experiments */
|
||||
|
||||
#define _XOPEN_SOURCE 700
|
||||
#include <stdio.h> /* printf */
|
||||
|
||||
Reference in New Issue
Block a user