On Tue, Mar 21, 2000 at 02:21:51PM -0800, Mike Touloumtzis wrote:
> On Tue, Mar 21, 2000 at 09:00:59AM -0500, Scott Bambrough wrote:
> > The kernel is a 26/32 bit piece of code. It makes no use of thumb
> > instructions, I can't imagine why it would either.
> 
> Ummm, thumb is still 32-bit, right?  I know it has 16-bit opcodes, but
> my understanding is that it still supports 32-bit operations.  I'm just
> asking if anyone has gone through the trouble of getting some of the
> platform-independant parts of the kernel (i.e. no asm, no asmlinkage)
> to use a thumb backend.

There's a lot of assembler where you can't see it, hidden in macros.
All semaphore code (up() and down() etc.) is implemented in asm for
example.  See include/asm-* for what I mean.

You'd have to create new versions of these macros first before you can
compile parts of the kernel as thumb code (and care for conditional
inclusion in the case thumb is being compiled).

-- 
          Andreas E. Bombe <[EMAIL PROTECTED]>
http://home.pages.de/~andreas.bombe/                DSA key 0x04880A44

unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]
++        Please use [EMAIL PROTECTED] for           ++
++                        kernel-related discussions.                      ++

Reply via email to