Allow an info.size field of -1 to indicate that the descriptor should map
authorMatthew Dillon <dillon@dragonflybsd.org>
Wed, 23 Mar 2005 01:13:20 +0000 (01:13 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Wed, 23 Mar 2005 01:13:20 +0000 (01:13 +0000)
commit13cb830da45e444f5c050fabee56b95fff533935
treefe40b72609fc2ccac8b9def6dfb4cfdccc4bab0c
parent2de752c8e0aaabd464b202e4ef7b50668918e88e
Allow an info.size field of -1 to indicate that the descriptor should map
the entire address space, requires for direct-tls %gs:OFFSET support (where
the OFFSET is negative).  Otherwise the descriptor only maps the specified
range (typically just the TCB area created by the thread library) and %gs:0
must be used to obtain a pointer from which negative relative memory accesses
can be made.
sys/i386/i386/tls.c
sys/platform/pc32/i386/tls.c