Messages in this thread |  | | From | Greg Johnson <> | | Subject | Process VM Addr to Kernel VM Addr at Interrupt Time. | | Date | Wed, 28 Apr 1999 15:10:56 +1000 (EST) |
| |
Hi,
I have the following problem. An application talks directly to a peripheral card. The application give the peripheral device an address within the applications address space. Some time later, the peripheral device generates and interrupt and the interrupt service routine reads back the address given to the peripheral device earlier. The ISR now needs to access the data at the memory location read back, but it is in the memory space of the original application. The ISR knows the process ID of the applicaiton in question, but since it is not executing with the context of that application, how can it convert the address in the applications address space, to its own virtual address space?
Any advice, pointers etc appreciated.
Greg.
-- +----------------------------------------------------+ | Do you want to know more? | | --== Greg Johnson ==-- | | HW/SW Engineer gjohnson@research.canon.com.au | | Canon Information Systems Research Australia | | 1 Thomas Holt Dr, North Ryde, NSW, 2113, Australia | | "I FLEXed my BISON and it went YACC!" - me. | +----------------------------------------------------+
- 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/
|  |