Skip to content
Commit 0ad868a5 authored by Max Filippov's avatar Max Filippov Committed by Andrew Boie
Browse files

xtensa_sim_console: fix simcall



simcall must be in the volatile asm so that gcc does not optimize it
out. It also needs "memory" clobber to make sure data passed through
memory buffer is actually written back before the simcall.

Change-Id: I410b7348bf605d0d08f81ec5395f6cb144f33a43
Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
parent ed3d7c1d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment