Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2012 19:18:11 +0000 (UTC)
From:      "Cherry G. Mathew" <cherry@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r234439 - projects/amd64_xen_pv/sys/amd64/xen
Message-ID:  <201204181918.q3IJIBut046985@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cherry
Date: Wed Apr 18 19:18:10 2012
New Revision: 234439
URL: http://svn.freebsd.org/changeset/base/234439

Log:
  Initialise the base pointer to the actual base of the boottime stack.
  
  Modify comments to reflect this.
  
  Approved by:	gibbs (implicit)

Modified:
  projects/amd64_xen_pv/sys/amd64/xen/locore.S

Modified: projects/amd64_xen_pv/sys/amd64/xen/locore.S
==============================================================================
--- projects/amd64_xen_pv/sys/amd64/xen/locore.S	Wed Apr 18 19:15:59 2012	(r234438)
+++ projects/amd64_xen_pv/sys/amd64/xen/locore.S	Wed Apr 18 19:18:10 2012	(r234439)
@@ -92,13 +92,13 @@ NON_GPROF_ENTRY(btext)
 
 	/* Use our own stack */
 	/* XXX: %ss */
-	movq	%rsp, xenstack	/* save the one xen gives us */
+	movq	%rsp, xenstack	/* save a reference to the one xen gives us */
 	movq	$bootstack, %rsp
-	xorl	%ebp, %ebp
+	movq	$bootstack, %rbp
 
 	movq	%rsi, %rdi
 	call	initxen		/* vm_paddr_t init_xen(struct start_info *); */
-	/* XXX: %rbp ? */
+
 	movq	%rax, %rsp
 	call	mi_startup
 	



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