how to use __iomem and __user

T

!truth

Hi,

I don't know how __iomem and __user work, and can you help?

Another problem what does sparse mean?

thanks.
 
J

J. J. Farrell

I don't know how __iomem and __user work, and can you help?

Another problem what does sparse mean?

These aren't defined by C. They must be something specific to the
compiler you are using or to the Operating System you are working on.
You should be able to get knowledgeable answers from a newsgroup
dedicated to one or other of those - there's a good chance you'll be
able to find one elsewhere in the comp heirarchy.
Another problem what does sparse mean?

Putting the words 'definition' and 'sparse' into a Google search
produces lots of good answers to that.
 
M

mark_bluemel

Hi,

I don't know how __iomem and __user work, and can you help?

No, but I might know a man who can.
Another problem what does sparse mean?

A little time on Google shows that in the context of "__iomem" and
"__user", you probably mean the "SPARSE" tool which is a static
analysis tool for C, as far as I can tell from a very brief look at
http://www.kernel.org/pub/software/devel/sparse/ - "__iomem" and
"__user" appear to be code annotations which SPARSE understands, but I
could well be mistaken.

This is nothing to do with the C language as such, and all to do with
using C to write the Linux kernel. You should start by looking at the
SPARSE webpages, and any further questions probably belong in the
comp.os.linux.development newsgroup hierarchy - probably
comp.os.linux.development.system, I think - rather than comp.lang.c.
There is also a SPARSE mailing list - details on the webpage.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,434
Messages
2,571,691
Members
48,796
Latest member
Greg L.

Latest Threads

Top