public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Keith Owens <kaos@ocs.com.au>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] modules external refs
Date: Wed, 13 Jun 2001 16:35:59 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590693005727@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590693005726@msgid-missing>

On Wed, 13 Jun 2001 17:04:51 +0200, 
gerard <gerard@mylos.grenoble.hp.com> 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.



      reply	other threads:[~2001-06-13 16:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-13 15:04 [Linux-ia64] modules external refs gerard
2001-06-13 16:35 ` Keith Owens [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-ia64-105590693005727@msgid-missing \
    --to=kaos@ocs.com.au \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox