LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-04-2011, 04:09 AM   #1
pike87
LQ Newbie
 
Registered: Mar 2011
Posts: 7

Rep: Reputation: 0
print physical address of page directories for all processes


How to printing physical address of page directories for all processes?
Help me please

#include <linux/module.h>
#include <linux/init.h>
#include <linux/sched.h>
#include <asm/page.h>
#include <linux/list.h>

MODULE_DESCRIPTION("print a phisical address each entry of page global directory");
MODULE_LICENSE("GPL");

static int __init init_print( void )
{
struct task_struct* task;
for_each_process(task) {
/* print here */
}
return 0;
}

static int __exit exit_print( void )
{
return 0;
}

module_init( init_print );
module_exit( exit_print );
 
Old 04-05-2011, 01:59 AM   #2
pike87
LQ Newbie
 
Registered: Mar 2011
Posts: 7

Original Poster
Rep: Reputation: 0
I need to print the physical addresses of page table of all processes begining with HIGH memory.
help me please
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] physical address to page? dbrazeau Programming 1 10-18-2010 07:11 PM
KMAP Physical Page to Kernel Virtual Address: unable to handle kernel paging request kickuindajunk Linux - Kernel 6 08-21-2010 12:17 PM
script/app to automatically print web page to physical printer when updated cyberhus Programming 10 08-17-2010 05:08 AM
Converting virtual address to physical address in the kernel DBQ Programming 0 02-07-2010 06:30 PM
how to translate virtual address to physical address in linux application saurin Programming 1 11-18-2009 09:05 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration