Revert part of last commit. Instead of using %fs for KSD/TSD, we'll

follow Linux' convention and use %gs.  This adds back the setting of
%fs to a sane value in sendsig().  The value of %gs remains preserved
to whatever it was in user context.
This commit is contained in:
deischen 2001-05-12 22:54:53 +00:00
parent 54e6b0dd64
commit 9e4833d2ec
2 changed files with 2 additions and 0 deletions

View File

@ -744,6 +744,7 @@ sendsig(catcher, sig, mask, code)
regs->tf_cs = _ucodesel; regs->tf_cs = _ucodesel;
regs->tf_ds = _udatasel; regs->tf_ds = _udatasel;
regs->tf_es = _udatasel; regs->tf_es = _udatasel;
regs->tf_fs = _udatasel;
regs->tf_ss = _udatasel; regs->tf_ss = _udatasel;
} }

View File

@ -744,6 +744,7 @@ sendsig(catcher, sig, mask, code)
regs->tf_cs = _ucodesel; regs->tf_cs = _ucodesel;
regs->tf_ds = _udatasel; regs->tf_ds = _udatasel;
regs->tf_es = _udatasel; regs->tf_es = _udatasel;
regs->tf_fs = _udatasel;
regs->tf_ss = _udatasel; regs->tf_ss = _udatasel;
} }