19a124b69SMax Filippov /* 29a124b69SMax Filippov * Copyright (c) 2018, Max Filippov, Open Source and Linux Lab. 39a124b69SMax Filippov * All rights reserved. 49a124b69SMax Filippov * 59a124b69SMax Filippov * Redistribution and use in source and binary forms, with or without 69a124b69SMax Filippov * modification, are permitted provided that the following conditions are met: 79a124b69SMax Filippov * * Redistributions of source code must retain the above copyright 89a124b69SMax Filippov * notice, this list of conditions and the following disclaimer. 99a124b69SMax Filippov * * Redistributions in binary form must reproduce the above copyright 109a124b69SMax Filippov * notice, this list of conditions and the following disclaimer in the 119a124b69SMax Filippov * documentation and/or other materials provided with the distribution. 129a124b69SMax Filippov * * Neither the name of the Open Source and Linux Lab nor the 139a124b69SMax Filippov * names of its contributors may be used to endorse or promote products 149a124b69SMax Filippov * derived from this software without specific prior written permission. 159a124b69SMax Filippov * 169a124b69SMax Filippov * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 179a124b69SMax Filippov * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 189a124b69SMax Filippov * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 199a124b69SMax Filippov * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 209a124b69SMax Filippov * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 219a124b69SMax Filippov * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 229a124b69SMax Filippov * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 239a124b69SMax Filippov * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 249a124b69SMax Filippov * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 259a124b69SMax Filippov * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 269a124b69SMax Filippov */ 279a124b69SMax Filippov 289a124b69SMax Filippov #include "qemu/osdep.h" 299a124b69SMax Filippov #include "cpu.h" 30*4ea5fe99SAlex Bennée #include "gdbstub/helpers.h" 319a124b69SMax Filippov #include "qemu/host-utils.h" 329a124b69SMax Filippov 339a124b69SMax Filippov #include "core-test_kc705_be/core-isa.h" 349a124b69SMax Filippov #include "overlay_tool.h" 359a124b69SMax Filippov 369a124b69SMax Filippov #define xtensa_modules xtensa_modules_test_kc705_be 37139c1837SPaolo Bonzini #include "core-test_kc705_be/xtensa-modules.c.inc" 389a124b69SMax Filippov 399a124b69SMax Filippov static XtensaConfig test_kc705_be __attribute__((unused)) = { 409a124b69SMax Filippov .name = "test_kc705_be", 419a124b69SMax Filippov .gdb_regmap = { 429a124b69SMax Filippov .reg = { 43139c1837SPaolo Bonzini #include "core-test_kc705_be/gdb-config.c.inc" 449a124b69SMax Filippov } 459a124b69SMax Filippov }, 469a124b69SMax Filippov .isa_internal = &xtensa_modules, 479a124b69SMax Filippov .clock_freq_khz = 40000, 489a124b69SMax Filippov DEFAULT_SECTIONS 499a124b69SMax Filippov }; 509a124b69SMax Filippov 519a124b69SMax Filippov REGISTER_CORE(test_kc705_be) 52