target/nios2: Move nios2-semi.c to nios2_softmmu_ss
Semihosting is not enabled for nios2-linux-user. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
79cc9724c2
commit
ca97e0ef99
@ -1,7 +1,6 @@
|
||||
nios2_ss = ss.source_set()
|
||||
nios2_ss.add(files(
|
||||
'cpu.c',
|
||||
'nios2-semi.c',
|
||||
'op_helper.c',
|
||||
'translate.c',
|
||||
))
|
||||
@ -10,7 +9,8 @@ nios2_softmmu_ss = ss.source_set()
|
||||
nios2_softmmu_ss.add(files(
|
||||
'helper.c',
|
||||
'monitor.c',
|
||||
'mmu.c'
|
||||
'mmu.c',
|
||||
'nios2-semi.c',
|
||||
))
|
||||
|
||||
target_arch += {'nios2': nios2_ss}
|
||||
|
@ -22,14 +22,9 @@
|
||||
*/
|
||||
|
||||
#include "qemu/osdep.h"
|
||||
|
||||
#include "cpu.h"
|
||||
#include "exec/gdbstub.h"
|
||||
#if defined(CONFIG_USER_ONLY)
|
||||
#include "qemu.h"
|
||||
#else
|
||||
#include "semihosting/softmmu-uaccess.h"
|
||||
#endif
|
||||
#include "qemu/log.h"
|
||||
|
||||
#define HOSTED_EXIT 0
|
||||
|
Loading…
Reference in New Issue
Block a user