qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] still trying to use TLS
@ 2004-09-13 21:09 Rafael Ávila de Espíndola
  0 siblings, 0 replies; only message in thread
From: Rafael Ávila de Espíndola @ 2004-09-13 21:09 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 436 bytes --]

I have successfully fixed the problem of the code generated by one thread 
being invalid for another. The solution is to generate code with the gs 
prefix and compute the offsets from gs:0.

One think that is missing is to simulate the per thread gdt that the kernel 
maintains (ie. alter the simulated gdt when clone is called with 
CLONE_SETTLS). I will study how qemu simulates the segments and see if I can 
implement that.

Rafael

[-- Attachment #2: qemu.patch.gz --]
[-- Type: application/x-gzip, Size: 3460 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-09-13 21:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-13 21:09 [Qemu-devel] still trying to use TLS Rafael Ávila de Espíndola

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).