Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Apr 2018 18:08:46 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r332786 - head/sys/i386/include
Message-ID:  <201804191808.w3JI8k1M043863@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kib
Date: Thu Apr 19 18:08:46 2018
New Revision: 332786
URL: https://svnweb.freebsd.org/changeset/base/332786

Log:
  Use symbolic constant, explaining the operation.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/i386/include/asmacros.h

Modified: head/sys/i386/include/asmacros.h
==============================================================================
--- head/sys/i386/include/asmacros.h	Thu Apr 19 17:55:48 2018	(r332785)
+++ head/sys/i386/include/asmacros.h	Thu Apr 19 18:08:46 2018	(r332786)
@@ -190,7 +190,7 @@
 	movl	$TF_SZ, %ecx
 	testl	$PSL_VM, TF_EFLAGS(%esp)
 	jz	1001f
-	addl	$(4*4), %ecx
+	addl	$VM86_STACK_SPACE, %ecx
 1001:	subl	%ecx, %edx
 	movl	%edx, %edi
 	movl	%esp, %esi



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