lkml.org 
[lkml]   [1999]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: bus_base() in kernel space
On Tue, Jan 19, 1999 at 11:39:41AM -0800, Linux Lists wrote:
> Quick question: what's the equivalent of the user space function
> bus_base() in kernel space ?? Is it a function or a constant ??

Presumably you are referring to the Alpha libc function of that name?
Things work differently in the kernel.

In kernel space you should ioremap the space you are interested in,
then use read/write[bwlq] to access the data.

See linux/Documentation/IO-mapping.txt.


r~

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.054 / U:0.480 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site