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

Julian Elischer julian at freebsd.org
Tue Feb 25 01:48:08 UTC 2014


On 2/24/14, 2:44 AM, Andrew Turner wrote:
> 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 */

maybe you might add some information in a comment about how big the 
stack is, and what the UEFI spec says about it,

>   	stp	x0, x1, [sp, #-16]!
>   
>   	adr	x0, __bss_start
>



More information about the svn-src-projects mailing list