linux-mips
[Top] [All Lists]

Xilleon port from 2.4.5 to top of tree, asm("$28") problem

To: linux-mips@oss.sgi.com
Subject: Xilleon port from 2.4.5 to top of tree, asm("$28") problem
From: Rob Lembree <lembree@metrolink.com>
Date: 25 Jul 2002 09:53:29 -0400
Sender: owner-linux-mips@oss.sgi.com
Hi there,

        I'm the person who did the initial port of Linux 
to the ATI Xilleon chip (4KC based, little endian).  At the
time, we did the port to 2.4.5, and everything works
swimmingly. I'm now preparing to submit this for inclusion
to this source tree, and have come across a weird problem. 
During boot-up, 'current' (which eventually evaluates to
an offset of register struct thread_info *__current_thread_info 
__asm__("$28");) is null plus the offset, in sock_alloc, 
obviously making the kernel take a big dive.

        Are there any obvious reasons why this would evaluate
to null?

thanks,
rob

-- 

Rob Lembree                        Metro Link Incorporated
29 Milk St.                          lembree@metrolink.com
Nashua, NH 03064-1651             http://www.metrolink.com
Phone:  954.660.2460               Alternate: 603.577.9714
PGP: 1F EE F8 58 30 F1 B1 20       C5 4F 12 21 AD 0D 6B 29


<Prev in Thread] Current Thread [Next in Thread>