diff options
author | Taylor Simpson <tsimpson@quicinc.com> | 2021-02-07 23:46:04 -0600 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2021-02-18 07:48:22 -0800 |
commit | 3f33e7875f7c156b27364945d97b2dd1e5f233e7 (patch) | |
tree | 3a31b0541a0e2303c023b023ee84e862329fe39b /target/hexagon/printinsn.h | |
parent | 66d29a5e80b042164eee17289f533f8ec0e85db5 (diff) | |
download | qemu-3f33e7875f7c156b27364945d97b2dd1e5f233e7.zip qemu-3f33e7875f7c156b27364945d97b2dd1e5f233e7.tar.gz qemu-3f33e7875f7c156b27364945d97b2dd1e5f233e7.tar.bz2 |
Hexagon (target/hexagon) instruction printing
Signed-off-by: Taylor Simpson <tsimpson@quicinc.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <1612763186-18161-15-git-send-email-tsimpson@quicinc.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/hexagon/printinsn.h')
-rw-r--r-- | target/hexagon/printinsn.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/target/hexagon/printinsn.h b/target/hexagon/printinsn.h new file mode 100644 index 0000000..2ecd173 --- /dev/null +++ b/target/hexagon/printinsn.h @@ -0,0 +1,27 @@ +/* + * Copyright(c) 2019-2021 Qualcomm Innovation Center, Inc. All Rights Reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, see <http://www.gnu.org/licenses/>. + */ + +#ifndef HEXAGON_PRINTINSN_H +#define HEXAGON_PRINTINSN_H + +#include "insn.h" + +void snprint_a_pkt_disas(GString *buf, Packet *pkt, uint32_t *words, + target_ulong pc); +void snprint_a_pkt_debug(GString *buf, Packet *pkt); + +#endif |