how to probe an i/o access
- From: Sebastien Fauris <sebf_98@xxxxxxxx>
- Date: Sat, 28 Oct 2006 20:32:26 +0200
Hi guys,
I am an happy switcher from vxworks to linux on a MPC8560. I would like
to probe a read or write access to the address of a peripheral. If I
were using vxworks, I would do a vxMemProbe.
When using Linux, what should I use:
- in kernel space ? ( ?? )
- in user space ? (install a signal handler ?)
I don't want to check the validity of the acces (read/write) from a MMU
point of view (for that I have the macro access_ok in
include/asm/uaccess.h) but to install on the fly a bus error handler and
get cleanly the result of the read or write access.
Thanks for your help,
Sebastien.
.
- Prev by Date: Re: System calls parameter restrictions
- Next by Date: Automatically controlling the mouse and keyboard for GUI scripting?
- Previous by thread: Two nodes under /dev/EEPROM/ for one EEPROM
- Next by thread: Automatically controlling the mouse and keyboard for GUI scripting?
- Index(es):
Relevant Pages
|