LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 07-18-2006, 10:26 AM   #1
bijukoothrat
LQ Newbie
 
Registered: Dec 2004
Posts: 1

Rep: Reputation: 0
'mmap'ing a global variable in driver


Hi All,

I am facing a problem with mmap. I tried

mmap for a 'kmallocd' memory in the driver and

it works as desired.

With the same code,when I try to map a global

memory in my driver to application, it gets a

different memory.

Whatever changes I made from driver (from init

module or later with ioctls) application

doesnt see anything (vice versa) .

Can any one tell me what is causing the problem?

Suggestions will be a great help!

Thanks in advance

-BijuKoothrat
 
  


Reply



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
Python Global Variable? ElementNine Programming 5 11-05-2007 12:53 PM
Define global variable maxmil Linux - Newbie 4 03-07-2006 10:36 AM
How can I define a global variable? kloss Linux - General 4 02-21-2006 04:30 AM
problems with a global variable javier_ccs Programming 2 06-21-2005 12:18 PM
how to define a global variable Anniebaby Programming 1 11-09-2003 10:43 PM

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

All times are GMT -5. The time now is 11:02 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