aboutsummaryrefslogtreecommitdiff
path: root/target-tricore/cpu.c
diff options
context:
space:
mode:
authorTimothy E Baldwin <T.E.Baldwin99@members.leeds.ac.uk>2016-05-12 18:47:45 +0100
committerRiku Voipio <riku.voipio@linaro.org>2016-05-27 14:49:51 +0300
commit71a8f7fece3e42dc55e865e081866f62f5c8c07e (patch)
treeecf53e7cb88abd95986501e2a8936e44e7359fc6 /target-tricore/cpu.c
parent4134ecfeb903c362558cb1cb594ff532fd83fb84 (diff)
linux-user: Add debug code to exercise restarting system calls
If DEBUG_ERESTARTSYS is set restart all system calls once. This is pure debug code for exercising the syscall restart code paths in the per-architecture cpu main loops. Signed-off-by: Timothy Edward Baldwin <T.E.Baldwin99@members.leeds.ac.uk> Message-id: 1441497448-32489-10-git-send-email-T.E.Baldwin99@members.leeds.ac.uk [PMM: Add comment and a commented-out #define next to the commented-out generic DEBUG #define; remove the check on TARGET_USE_ERESTARTSYS; tweak comment message] Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
Diffstat (limited to 'target-tricore/cpu.c')
0 files changed, 0 insertions, 0 deletions