Date: Fri, 2 Sep 2022 14:43:50 GMT From: Tijl Coosemans <tijl@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: cfdc649e455b - main - i386 doreti: Fix calculation of stack frame size Message-ID: <202209021443.282Eho2k004920@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by tijl: URL: https://cgit.FreeBSD.org/src/commit/?id=cfdc649e455bc0d37d42c46b59360462e93b4300 commit cfdc649e455bc0d37d42c46b59360462e93b4300 Author: Tijl Coosemans <tijl@FreeBSD.org> AuthorDate: 2022-09-02 14:16:35 +0000 Commit: Tijl Coosemans <tijl@FreeBSD.org> CommitDate: 2022-09-02 14:41:52 +0000 i386 doreti: Fix calculation of stack frame size Reviewed by: kib Fixes: e8b2980e4a12 - i386 doreti: stop saving/restoring %ecx --- sys/i386/i386/exception.s | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/i386/i386/exception.s b/sys/i386/i386/exception.s index 2373fa425210..ab6c83843bfe 100644 --- a/sys/i386/i386/exception.s +++ b/sys/i386/i386/exception.s @@ -530,7 +530,7 @@ doreti_exit: testl $PSL_VM,TF_EFLAGS(%esp) jz 2f /* PCB_VM86CALL is not set */ addl $VM86_STACK_SPACE, %ecx -2: subl $TF_SZ, %edx +2: subl %ecx, %edx movl %edx, %edi rep; movsb movl %edx, %esp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209021443.282Eho2k004920>