lkml.org 
[lkml]   [1999]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Cache incoherencies [example code]
Date
From
>datas are not correctly read by the chip, so I beleive this is because
>virt_to_bus doesn't work with vmalloc addresses, am I wrong ?

That's true, it doesn't. To get the physical address you need to walk
pagetables as someone (either Roger or Ralf I think) pointed out. I think
there is code in ptrace.c that shows how this is done but it's not really
recommended practice.

So, maybe the vmalloc idea wasn't such a good one after all and some
completely new routine is needed.

p.



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