[brandz-discuss] MSR_AMD_FSBASE in Solaris (is it pointing to 8G for ever?)

Wei Shen cquark at gmail.com
Mon May 28 09:05:35 PDT 2007


Hi all,

Added the *syscall* hook today. As a temporary solution, %gs is used to tell
the lx callback whether a *syscall* is from native or lx code. It works for
my simple test program, however, I think I need to check its reliability and
will consult you on this issue later. In fact, I may need quite a few time
to review all the modifications made.

Another issue is about the MSR_AMD_FSBASE register. I must make certain
always set to 0x200000000 (i.e. points at 8G) in Solaris? Since NPTL uses it
 to access to thread local data, it needs to be saved/restored at the
native/lx code switching.

Regards,

Wei Shen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://oss-beta1.opensolaris.org/pipermail/brandz-discuss/attachments/20070529/0bd55ce6/attachment.html 


More information about the brandz-discuss mailing list