tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

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



On Aug 2, 2013, at 9:41 AM, Piyus Kedia <piyuskedia%gmail.com@localhost> 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 RAS against kernel addresses 
but those comparisons against the PC are explicitly done.
(MIPS is an example for implementing the atomic_ops on
MIPS processors which don't have the LL/SC instructions.)


Home | Main Index | Thread Index | Old Index