LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 05-27-2008, 01:32 AM   #1
navvu_mom
LQ Newbie
 
Registered: Mar 2008
Posts: 1

Rep: Reputation: 0
Cool Access kernel register from user application


hello,

I need an application which can takes a register address and maps it to /dev/mem using mmap().
Now my application is mapping and reading the contents. But,
I want to test it by pushing some value to the register and if the read back passes, i can confirm the application is working.

My doubt is how can i do this
writing to a register of the kernel space is there any sys call that does this work.
i tried to write to the mapped address it is getting written and i am able to read from the mapped address as it is a pointer.
but how to write to register..

I will be happy if some one can help me.

Thanks and best Regards
Naveen
 
  


Reply

Tags
how, register, write


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dazuko is loading in the kernel but my application is failing to register with dazuko sharad Linux - Kernel 1 02-24-2007 02:53 PM
Ekiga VoIP application. Register account ernst Linux - Software 2 05-28-2006 11:22 PM
How this user can register? ukrainet Linux - Newbie 2 03-17-2005 10:25 AM
which application I can use in Suse 9.0 pro for remote access connection user/psw mcandy Linux - Software 0 03-05-2004 03:41 AM


All times are GMT -5. The time now is 02:44 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration