All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: linux-kernel@vger.kernel.org
Subject: Re: sysenter on x86
Date: 14 Apr 2003 11:14:57 -0700	[thread overview]
Message-ID: <b7etr1$s27$1@cesium.transmeta.com> (raw)
In-Reply-To: 1050156926.1449.2.camel@laptop.fenrus.com

Followup to:  <1050156926.1449.2.camel@laptop.fenrus.com>
By author:    Arjan van de Ven <arjanv@redhat.com>
In newsgroup: linux.dev.kernel
>
> 
> --=-EFK+Hzuvs0Z6BUNjBVGk
> Content-Type: text/plain
> Content-Transfer-Encoding: quoted-printable
> 
> On Sat, 2003-04-12 at 15:54, Felix von Leitner wrote:
> > I just added sysenter support for linux-2.5 on x86 to the diet libc, but
> > I noted that the original patch said user space should jump to
> > 0xfffff000, which segfaults.  Jumping to 0xffffe000 works.
> >=20
> > I suggest adding a comment somewhere in the kernel about the proper
> > calling convention, because the glibc code is frankly not readable in
> > this regard.
> 
> you HAVE to use the location as specified with the AT_SYSINFO elf flag.
> The kernel is free to move this address around between builds, as long
> as AT_SYSINFO gives the address for the location.
> 

... which quite frankly kind of bites :(

	-hpa
-- 
<hpa@transmeta.com> at work, <hpa@zytor.com> in private!
"Unix gives you enough rope to shoot yourself in the foot."
Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64

      reply	other threads:[~2003-04-14 18:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-12 13:54 sysenter on x86 Felix von Leitner
2003-04-12 14:15 ` Arjan van de Ven
2003-04-14 18:14   ` H. Peter Anvin [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='b7etr1$s27$1@cesium.transmeta.com' \
    --to=hpa@zytor.com \
    --cc=linux-kernel@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.