[uClinux-dev] user stack

amit bhor amit_bhor at hotpop.com
Fri Mar 14 16:05:36 EST 2003


Hi,

I would guess its seeing the status register of the inerrupted control flow 
(process / kernel) that was interrupted. This along with the PC is pushed 
by the control unit on interrupt. More specifically the state (13th) bit in 
the status word is being checked there.

Amit,

On Fri, 14 Mar 2003 11:52:39 -0800 (PST), Deepa Sivasankarane 
<sdeepa69 at yahoo.com> wrote:

>
> Hi,
>
> In m68knommu/entry.S, the following check for interrupt from user:
>
> #define SAVE_ALL      \
> move #0x2700,%sr;  /* disable intrs */ \
> btst #5,%sp@(2);  /* from user? */ \
> bnes 6f;   /* no, skip */
>
> Could someone please tell me which register is checked at sp at 2 ?
>
> Thanx,
>
> Deepa
>
>
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Web Hosting - establish your business online






More information about the uClinux-dev mailing list