aboutsummaryrefslogtreecommitdiff
path: root/tests/cpu_trap/Makefile
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-13 18:53:01 +0100
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-13 18:53:01 +0100
commitf17eedb8856ae568ebb9b45b367ef6edf1bb7318 (patch)
treee2303eaa45da6d87de6beadd23d606fad97893ff /tests/cpu_trap/Makefile
parent93c5ade08250e419b7dbc3177db6fba93163fd34 (diff)
downloadqtmips-f17eedb8856ae568ebb9b45b367ef6edf1bb7318.tar.gz
qtmips-f17eedb8856ae568ebb9b45b367ef6edf1bb7318.tar.bz2
qtmips-f17eedb8856ae568ebb9b45b367ef6edf1bb7318.zip
Initialize SP to safe RAM area.
Address under 0xc0000000 corresponds to typical Linux stack on 32-bit systems. If SP is initialized to 0x00000000 then it can overwrite programs tarting at RAM begin and overflow to top of physical address-space which is reserved for uncached peripherals. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'tests/cpu_trap/Makefile')
0 files changed, 0 insertions, 0 deletions