Re: Use of the PC value in interrupt/exception handlers

2013-08-02 Thread Piyus Kedia
Thanks. On Sat, Aug 3, 2013 at 1:44 AM, Matt Thomas wrote: > > On Aug 2, 2013, at 9:41 AM, Piyus Kedia wrote: > > > Hi, > > > > I can see a system call sys_rasctl which install a RAS area. So I assume > that the RAS PC's will be only user PC's and the cpu_switchto will modify > the user PC if

Re: Use of the PC value in interrupt/exception handlers

2013-08-02 Thread Matt Thomas
On Aug 2, 2013, at 9:41 AM, Piyus Kedia wrote: > Hi, > > I can see a system call sys_rasctl which install a RAS area. So I assume that > the RAS PC's will be only user PC's and the cpu_switchto will modify the user > PC if it is interrupted in the middle of a RAS. No. Some architectures use

Re: Use of the PC value in interrupt/exception handlers

2013-08-02 Thread Piyus Kedia
Hi, I can see a system call sys_rasctl which install a RAS area. So I assume that the RAS PC's will be only user PC's and the cpu_switchto will modify the user PC if it is interrupted in the middle of a RAS. Thanks, Piyus On Sat, Aug 3, 2013 at 1:12 AM, Matt Thomas wrote: > > On Aug 2, 2013

Re: Use of the PC value in interrupt/exception handlers

2013-08-02 Thread Piyus Kedia
Thanks a lot. On Sat, Aug 3, 2013 at 1:12 AM, Matt Thomas wrote: > > On Aug 2, 2013, at 4:43 AM, Martin Husemann wrote: > > > On Fri, Aug 02, 2013 at 10:46:31AM +, Piyus Kedia wrote: > >> Dear all, > >> > >> We are working on developing a dynamic binary translator for the kernel. > >> Towa

Re: Use of the PC value in interrupt/exception handlers

2013-08-02 Thread Johnny Billquist
On 2013-08-02 12:46, Piyus Kedia wrote: Dear all, We are working on developing a dynamic binary translator for the kernel. Towards this, we wanted to confirm if the interrupted PC value pushed on stack by an interrupt/exception is used by the interrupt/exception handlers? For example, is the PC

Re: Use of the PC value in interrupt/exception handlers

2013-08-02 Thread Matt Thomas
On Aug 2, 2013, at 4:43 AM, Martin Husemann wrote: > On Fri, Aug 02, 2013 at 10:46:31AM +, Piyus Kedia wrote: >> Dear all, >> >> We are working on developing a dynamic binary translator for the kernel. >> Towards this, we wanted to confirm if the interrupted PC value pushed on >> stack by a

Re: Use of the PC value in interrupt/exception handlers

2013-08-02 Thread Martin Husemann
On Fri, Aug 02, 2013 at 10:46:31AM +, Piyus Kedia wrote: > Dear all, > > We are working on developing a dynamic binary translator for the kernel. > Towards this, we wanted to confirm if the interrupted PC value pushed on > stack by an interrupt/exception is used by the interrupt/exception hand

Use of the PC value in interrupt/exception handlers

2013-08-02 Thread Piyus Kedia
Dear all, We are working on developing a dynamic binary translator for the kernel. Towards this, we wanted to confirm if the interrupted PC value pushed on stack by an interrupt/exception is used by the interrupt/exception handlers? For example, is the PC value compared against a fixed address to