summaryrefslogtreecommitdiff
path: root/target/xtensa/core-fsf.c
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2017-11-03 15:46:55 -0700
committerMax Filippov <jcmvbkbc@gmail.com>2017-12-18 21:26:19 -0800
commit502d0f361b690df7d5b19ed8869d7f465fd51ed1 (patch)
treeb4f66049479ae0d1df041ea58c149c25a3fc41a3 /target/xtensa/core-fsf.c
parente763684f82d6997554642bab9067e2041315f9d3 (diff)
downloadqemu-502d0f361b690df7d5b19ed8869d7f465fd51ed1.tar.gz
target/xtensa: switch fsf to libisa
Autogenerated xtensa-modules.c is added by the import_core.sh script. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'target/xtensa/core-fsf.c')
-rw-r--r--target/xtensa/core-fsf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/target/xtensa/core-fsf.c b/target/xtensa/core-fsf.c
index 15ef470e8b..f41de9a1aa 100644
--- a/target/xtensa/core-fsf.c
+++ b/target/xtensa/core-fsf.c
@@ -29,11 +29,15 @@
#include "cpu.h"
#include "exec/exec-all.h"
#include "exec/gdbstub.h"
+#include "qemu-common.h"
#include "qemu/host-utils.h"
#include "core-fsf/core-isa.h"
#include "overlay_tool.h"
+#define xtensa_modules xtensa_modules_fsf
+#include "core-fsf/xtensa-modules.c"
+
static XtensaConfig fsf __attribute__((unused)) = {
.name = "fsf",
.gdb_regmap = {
@@ -42,6 +46,7 @@ static XtensaConfig fsf __attribute__((unused)) = {
XTREG_END
},
},
+ .isa_internal = &xtensa_modules,
.clock_freq_khz = 10000,
DEFAULT_SECTIONS
};