Re: questions about eret....

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

 



On Tue, Aug 21, 2001 at 06:09:19PM +0800, machael thailer wrote:

> Yes.
> But in the sourece codes, when we finish the exception handlers , we will
> run "ret_from_irq" (ret_from_sys_call) in the entry.S and then run macro
> "RESTORE_ALL_AND_RET".  The macro does restore all registers and then ERET.
> But there is not a "CLI" just before ERET as the user manual suggested. Why?
> so when we handle a syscall exception, we do "STI" in the handle_sys(). and
> when ret_from_sys_call and we will run this macro "RESTORE_ALL_AND_RET".
> because there is not a "CLI" just before ERET , is it possible to have some
> problems?

Look again.

  Ralf


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux