lkml.org 
[lkml]   [1999]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Address spaces on a i386 - Getting Confused
Paul Sargent wrote:
> As far as I can see there are probably three distinct address spaces used
> (please correct me if I'm wrong)
> * Kernel space Virtual Addresses
> * User Space Virtual Addresses (1 address space per process)
> * Physical (Bus) addresses

Actually physical and bus addresses are not always identical. On the
i386 they are the same but on some other achitectures they are not. So
you also need phys_to_bus() (which is just an empty macro on the i386)
to return the real bus address which you can give to the card's DMA
controller.

--

Brian Gerst

-
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:51    [W:3.048 / U:0.408 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site