Re: [Linux-ia64] modules external refs

From: Keith Owens <>
Date: 2001-06-14 02:35:59
On Wed, 13 Jun 2001 17:04:51 +0200, 
gerard <> wrote:
>I have put a printk in the second module trying to access the controler
>in which I  print the address of the function it tries to call, it
>corresponds to what
>I see in /proc/ksyms, but when I call that function, I get a
>Unimplemented Instruction Address fault .

IA64 function pointers do not point to the function, instead they point
to a descriptor area which contains data about the function, including
its real address.  If you are calling direct to the address in ksyms
then you are bypassing the function descriptor and r1 will contain an
incorrect value.  Also make sure that your modules are compiled with
the correct options, compile an existing module and copy the flags.
Received on Wed Jun 13 09:38:56 2001

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:04 EST