Messages in this thread | | | Subject | Re: Cache incoherencies [example code] | Date | Mon, 30 Aug 1999 13:19:06 +0100 | From | Philip Blundell <> |
| |
>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/
| |