[comp.sys.intel] i386 GDT question

duane@mauve.samsung.com (Andrew Duane) (10/23/90)

We are doing some multi-processor i386 work, and have come across
an interesting problem with sharing a GDT between processors.

We have a typical GDT set up (3 descriptors: Null, Code, and Data).
The first processor runs fine, going all the way into 32-bit protected
mode. The sceond processor, however, hangs as soon as we set a segment
register (any one seems to do it) to reference the GDT. Loading the
GDTR works fine.

Question: is there any problem with sharing a GDT between to processors?
The Intel books don't imply there is, but ...

--
(Sorry, .signature is on a temporarily dead machine)
Replies to: duane@samsung.com or uunet!samsung!duane

jsp@glia.u.washington.edu (Jeff Prothero) (10/24/90)

One possible problem: The BUSY bit for a task is stored in the TSS
descriptor in the GDT, instead of in the TSS.  (Why??)  Have
you thought through the implications of sharing this?
 jsp@milton.u.washington.edu

--

- Jeff   (S)