svn commit: r262378 - projects/arm64/sys/boot/arm64/efi

Andrew Turner andrew at FreeBSD.org
Sun Feb 23 18:44:10 UTC 2014


Author: andrew
Date: Sun Feb 23 18:44:10 2014
New Revision: 262378
URL: http://svnweb.freebsd.org/changeset/base/262378

Log:
  Use the stack provided by the UEFI firmware

Modified:
  projects/arm64/sys/boot/arm64/efi/start.S

Modified: projects/arm64/sys/boot/arm64/efi/start.S
==============================================================================
--- projects/arm64/sys/boot/arm64/efi/start.S	Sun Feb 23 18:41:07 2014	(r262377)
+++ projects/arm64/sys/boot/arm64/efi/start.S	Sun Feb 23 18:44:10 2014	(r262378)
@@ -137,12 +137,7 @@ section_table:
 
 	.globl	_start
 _start:
-	/* Set up the stack */
-	adr	x29, init_stack
-	mov	x28, INIT_STACK_SIZE
-	add	x29, x29, x28
-	mov	sp, x29
-
+	/* Save the boot params to the stack */
 	stp	x0, x1, [sp, #-16]!
 
 	adr	x0, __bss_start


More information about the svn-src-projects mailing list