FS is an index into the table of segment descriptors , which, in turn, contain the base address that is added to the address. In win32, FS used to access the stream information block (or, more precisely, the segment descriptor indexed by FS has a base address such that FS:[0] is the beginning of the TIB), and FS:[30h] is the location of the pointer to block of the working environment of the process. In win64, GS used to access the TIB.
source share