diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-13 18:53:01 +0100 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-13 18:53:01 +0100 |
commit | f17eedb8856ae568ebb9b45b367ef6edf1bb7318 (patch) | |
tree | e2303eaa45da6d87de6beadd23d606fad97893ff /tests/cpu_trap | |
parent | 93c5ade08250e419b7dbc3177db6fba93163fd34 (diff) | |
download | qtmips-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')
0 files changed, 0 insertions, 0 deletions