diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2017-11-03 15:46:55 -0700 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2017-12-18 21:26:19 -0800 |
commit | 502d0f361b690df7d5b19ed8869d7f465fd51ed1 (patch) | |
tree | b4f66049479ae0d1df041ea58c149c25a3fc41a3 /target/xtensa/core-fsf.c | |
parent | e763684f82d6997554642bab9067e2041315f9d3 (diff) |
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.c | 5 |
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 }; |