Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Jan 1996 11:50:18 +0900
From:      KATO Takenori <kato@eclogite.eps.nagoya-u.ac.jp>
To:        current@freebsd.org
Subject:   TSS broken
Message-ID:  <199601010250.LAA00929@marble.eps.nagoya-u.ac.jp>

next in thread | raw e-mail | index | archive | help
In recent change of sys/i386/i386/swtch.s, the code
	movl	%esp,PCB_ESP(%ecx)
is changed into
	leal	4(%esp),%eax
	movl	%eax,PCB_ESP(%ecx)
(in savectx).

After this operation, the member tss_esp points not user stack
pointer, but the address of TSS.

This may causes panic when swapper is activated.

----
KATO Takenori <kato@eclogite.eps.nagoya-u.ac.jp>
Dept. Earth Planet. Sci., Nagoya Univ.,  Nagoya 464-01
Voice: +81-52-789-2529   Fax: +81-52-789-3033



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199601010250.LAA00929>