svn commit: r234439 - projects/amd64_xen_pv/sys/amd64/xen
Cherry G. Mathew
cherry at FreeBSD.org
Wed Apr 18 19:18:11 UTC 2012
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
More information about the svn-src-projects
mailing list