[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: More on oskit-mach booting troubles
From: |
Kalle Olavi Niemitalo |
Subject: |
Re: More on oskit-mach booting troubles |
Date: |
22 Jul 2001 15:02:40 +0300 |
Roland McGrath <roland@gnu.org> writes:
> > extern inline void down (struct semaphore *sem)
> > {
> > asm volatile ("
> > decl (%0)
> > js 2f
> > 1: .section .text.lock,"ax"
> > 2: call __down_failed
> > jmp 1b
> > .previous"
> > : "c" (sem) : "memory");
> > }
>
> This is approximately: while (--*(int*)sem < 0) __down_failed();
Isn't that "if" rather than "while"? I don't see a jump back to
the "decl".
- More on oskit-mach booting troubles, Igor Khavkine, 2001/07/20
- Re: More on oskit-mach booting troubles, Roland McGrath, 2001/07/20
- Re: More on oskit-mach booting troubles, Igor Khavkine, 2001/07/21
- Re: More on oskit-mach booting troubles, Igor Khavkine, 2001/07/21
- Re: More on oskit-mach booting troubles, Roland McGrath, 2001/07/21
- Re: More on oskit-mach booting troubles, Igor Khavkine, 2001/07/22
- Re: More on oskit-mach booting troubles, Roland McGrath, 2001/07/22
- Re: More on oskit-mach booting troubles, Igor Khavkine, 2001/07/22
- Re: More on oskit-mach booting troubles, Roland McGrath, 2001/07/22
- Re: More on oskit-mach booting troubles,
Kalle Olavi Niemitalo <=