]> git.proxmox.com Git - mirror_qemu.git/commit - hw/sparc/leon3.c
sparc/leon3: Initialize stack pointer
authorSebastian Huber <sebastian.huber@embedded-brains.de>
Mon, 3 Feb 2014 09:18:11 +0000 (10:18 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Sat, 15 Feb 2014 12:10:25 +0000 (16:10 +0400)
commitc1570e2a1fd7ff6bc8d7b0c6104bed77283f89a7
treef797672c0764bccafb2925bedeef597f52ea3da7
parenta63e5e0c0d457718a957c351c996ba9cb31d5cdd
sparc/leon3: Initialize stack pointer

A lot of real world LEON3 systems are shipped with the GRMON boot
loader.  This boot loader initializes the stack pointer with the end of
RAM address.  The application can use this to detect the RAM size of a
particular board variant.

Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
Reviewed-by: Fabien Chouteau <chouteau@adacore.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/sparc/leon3.c