how to probe an i/o access



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.
.



Relevant Pages

  • Re: Linux Vs vxWorks
    ... Linux is now more or less equal to vxWorks ... Till the time you talk about soft real time it is very subjected to ... Linux is soft real time and vxWorks ...
    (comp.os.vxworks)
  • Re: What are main issues while porting VxWorks code to Linux?
    ... > Appreciated for some info on porting from VxWorks to Linux. ... Porting VxWorks Applications to Linux ... Legacy2Linux - Porting Legacy RTOS Applications ... "Legacy2Linux project provides emulation environments which implement ...
    (comp.os.linux.embedded)
  • Re: Linux Vs vxWorks
    ... VxWorks is not outdated. ... Linux is BIG, even trimmed ... source cost savings you may pay for in MEMORY CHIPS. ... I'm also concerned about the latency of the Real time Linux kernels. ...
    (comp.os.vxworks)
  • Re: ans the following Qs
    ... What are the differences between VxWorks & Linux regarding ... Linux has processes with full contexts. ... most other Unix kernel scheduling, ... Priority inversion is when a task A with a high priority ends up ...
    (comp.os.vxworks)
  • Re: ans the following Qs
    ... Network initialisation and scheduling in both vxworks and linux. ... Describe Multi thread programming and mutex in Linux and VxWorks. ... Describe Socket c/s programming model, ...
    (comp.os.vxworks)