qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Fabrice Bellard <fabrice@bellard.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [patch] NPTL/TLS support
Date: Sun, 21 Aug 2005 12:01:34 +0200	[thread overview]
Message-ID: <430850FE.9080306@bellard.org> (raw)
In-Reply-To: <200508141653.25261.paul@codesourcery.com>

Paul Brook wrote:
> The attached patch adds partial support for ARM NPTL binaries.
> 
> It implements the following things:
> 
> - The Arm magic kernel code page. This is used on recent Arm kernels to 
> provide efficient access to kernel/CPU features. For example atomic 
> operations, and reading the TLS register (which may or may not be a real 
> hardware register). This is simplified version of the VDSO used on recent x86 
> and ppc kernels.
> - A new Arm specific syscall to set the TLS register.
> - Support for the 5-argument form of sys_clone.
> 
> This is sufficient to run single-threaded NPTL enabled binaries. I've not yet 
> implemented the futex syscalls, so multithreaded applications probaby won't 
> work.
> 
> NPTL support is only enabled for ARM.  Other architectures may need 
> architecture specific bits implementing before they can be enabled.

On i386 there are AUXENTs to define the address of the VDSO page 
(AT_SYSINFO and AT_SYSINFO_EHDR). If it was supported by the ARM glibc, 
it would avoid some hacks you need to do to intercept calls to it. Can 
you check that ?

Fabrice.

  reply	other threads:[~2005-08-21 10:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-14 15:53 [Qemu-devel] [patch] NPTL/TLS support Paul Brook
2005-08-21 10:01 ` Fabrice Bellard [this message]
2005-08-21 11:02   ` Paul Brook
2005-11-14 14:12 ` Gwenole Beauchesne

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=430850FE.9080306@bellard.org \
    --to=fabrice@bellard.org \
    --cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).