qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] arm eabi TLS


From: Fabrice Bellard
Subject: Re: [Qemu-devel] [PATCH] arm eabi TLS
Date: Thu, 13 Dec 2007 00:03:06 +0100
User-agent: Thunderbird 1.5.0.9 (X11/20070212)

Thayne Harbaugh wrote:
> I believe Paul Brook did the original patch for arm eabi TLS.  The patch
> has bounced around for a bit but hasn't been applied.  We've been using
> this patch for a while and have tweaked it to be a bit more correct as
> far as code organization.
> 
> Please let me know what else should be improved for this so that it can
> be applied.

- the clone() syscall must be disabled when it is used to create a
thread because it cannot work reliably in its current state.

- the system to intercept calls to the syscall page must be made more
generic to be used at least by arm user and x86_64 user.

- It would be good to limit the changes in the CPU emulation code to
handle the TLS. For example, on MIPS, the TLS register must not be
stored in the CPU state. Same for ARM.

Regards,

Fabrice.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]