[fpc-devel] threadvar implementation

Hans-Peter Diettrich DrDiettrich1 at aol.com
Thu Aug 5 11:19:25 CEST 2010


Michael Schnell schrieb:
>  OK I was wrong by two bits.
> 
> See http://flint.cs.yale.edu/cs422/doc/24547212.pdf page 3-7
> 
> The "logical address" is 24 bits: 16 bits "Segment Selector" and 32 bits 
> "Offset".

Please be a bit more precise with your bitcounts.


> The Selector is used to take one of up to 2^13 "Segment Descriptor"s out 
> of a set of two Descriptor tables.

Please accept that no more than 3 different segments are in use 
nowadays. FS/GS for non-zerobased segments, all others are zero-based. 
That's all you have to know about the segment stuff.

DoDi




More information about the fpc-devel mailing list