166d29a5eSTaylor Simpson /* 266d29a5eSTaylor Simpson * Copyright(c) 2019-2021 Qualcomm Innovation Center, Inc. All Rights Reserved. 366d29a5eSTaylor Simpson * 466d29a5eSTaylor Simpson * This program is free software; you can redistribute it and/or modify 566d29a5eSTaylor Simpson * it under the terms of the GNU General Public License as published by 666d29a5eSTaylor Simpson * the Free Software Foundation; either version 2 of the License, or 766d29a5eSTaylor Simpson * (at your option) any later version. 866d29a5eSTaylor Simpson * 966d29a5eSTaylor Simpson * This program is distributed in the hope that it will be useful, 1066d29a5eSTaylor Simpson * but WITHOUT ANY WARRANTY; without even the implied warranty of 1166d29a5eSTaylor Simpson * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1266d29a5eSTaylor Simpson * GNU General Public License for more details. 1366d29a5eSTaylor Simpson * 1466d29a5eSTaylor Simpson * You should have received a copy of the GNU General Public License 1566d29a5eSTaylor Simpson * along with this program; if not, see <http://www.gnu.org/licenses/>. 1666d29a5eSTaylor Simpson */ 1766d29a5eSTaylor Simpson 1866d29a5eSTaylor Simpson #ifndef HEXAGON_DECODE_H 1966d29a5eSTaylor Simpson #define HEXAGON_DECODE_H 2066d29a5eSTaylor Simpson 2166d29a5eSTaylor Simpson #include "cpu.h" 2266d29a5eSTaylor Simpson #include "opcodes.h" 2366d29a5eSTaylor Simpson #include "insn.h" 24*1547a2d3STaylor Simpson #include "translate.h" 2566d29a5eSTaylor Simpson 2666d29a5eSTaylor Simpson void decode_init(void); 2766d29a5eSTaylor Simpson 2866d29a5eSTaylor Simpson void decode_send_insn_to(Packet *packet, int start, int newloc); 2966d29a5eSTaylor Simpson 30*1547a2d3STaylor Simpson int decode_packet(DisasContext *ctx, int max_words, const uint32_t *words, 31*1547a2d3STaylor Simpson Packet *pkt, bool disas_only); 3266d29a5eSTaylor Simpson 3366d29a5eSTaylor Simpson #endif 34