From: Raj Patil <rpatil0296@yahoo.com>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] How to set/reset gp pointer : info needed
Date: Fri, 14 Mar 2003 15:08:51 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590709806096@msgid-missing> (raw)
[-- Attachment #1: Type: text/plain, Size: 1482 bytes --]
Hello,
I am not sure whether this is the right group for me to ask this or get the
kind of information I am looking for. I apologize if this is not the
right group. I am relatively new to Linux/ia64 and this question is related
to ia64. Hence, decided to post it here
I am looking for some info on how to set/unset the gp pointer, locations/cases
where I need to set and any other issues I need to worry. Any pointers to
some documentation or sample code or notes will be really appreciated.
Reason: I am just trying to port an utility to ia64 based Linux platform from
x86 platform. It adds an entry to syscall table to point to a function in
a module. It is like adding a new temp syscall for a small duration.
By looking at some documentation, I realized that I need to set
the gp pointer correctly before calling the function (not sure exactly wehre
and how). So, I am looking for some docs/notes which clarify my doubts like
-what in general needs to be done to set/reset gp (where?).
-Does this need to be done if one is adding an entry to ia32 syscall
table too?
-If this new function in the module calls other kernel functions in between,
should it worry about gp pointer before calling the kernel functions etc.
I have access to RH Advanced Server 2.1 running on an HP Itanium-2 box.
Thank you very much for any pointers/info.
Regards,
Raj
---------------------------------
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
[-- Attachment #2: Type: text/html, Size: 1734 bytes --]
next reply other threads:[~2003-03-14 15:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-14 15:08 Raj Patil [this message]
2003-03-14 16:52 ` [Linux-ia64] How to set/reset gp pointer : info needed Stephane Eranian
2003-03-14 17:17 ` David Mosberger
2003-03-14 17:56 ` Raj Patil
2003-03-14 19:41 ` David Mosberger
2003-03-15 1:27 ` Keith Owens
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-105590709806096@msgid-missing \
--to=rpatil0296@yahoo.com \
--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