HomeFreeBSD

Fix use of the custom TSS on i386 after the 4/4 split.

Description

Fix use of the custom TSS on i386 after the 4/4 split.

Record common_tssd, the descriptor to be written in GDT to point to
the common TSS, before LTR is executed. The LTR instruction sets the
loaded descriptor type to 386 TSS busy, which traps on reloads.

Sponsored by: The FreeBSD Foundation

Details

Provenance
kibAuthored on
Parents
rS333521: PROC_PDEATHSIG_CTL will appear first in 11.2.
Branches
Unknown
Tags
Unknown