nkeynes@30: /** nkeynes@30: * $Id: armdasm.h,v 1.2 2005-12-25 05:57:00 nkeynes Exp $ nkeynes@30: * nkeynes@30: * ARM CPU definition and disassembly function declarations nkeynes@30: * nkeynes@30: * Copyright (c) 2005 Nathan Keynes. nkeynes@30: * nkeynes@30: * This program is free software; you can redistribute it and/or modify nkeynes@30: * it under the terms of the GNU General Public License as published by nkeynes@30: * the Free Software Foundation; either version 2 of the License, or nkeynes@30: * (at your option) any later version. nkeynes@30: * nkeynes@30: * This program is distributed in the hope that it will be useful, nkeynes@30: * but WITHOUT ANY WARRANTY; without even the implied warranty of nkeynes@30: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the nkeynes@30: * GNU General Public License for more details. nkeynes@30: */ nkeynes@30: nkeynes@12: #ifndef armdasm_H nkeynes@12: #define armdasm_H 1 nkeynes@12: nkeynes@30: #include "cpu.h" nkeynes@12: nkeynes@12: #ifdef __cplusplus nkeynes@12: extern "C" { nkeynes@12: #endif nkeynes@12: nkeynes@12: #include nkeynes@12: nkeynes@12: uint32_t arm_disasm_instruction( uint32_t pc, char *buf, int len, char * ); nkeynes@12: uint32_t armt_disasm_instruction( uint32_t pc, char *buf, int len, char * ); nkeynes@12: extern const struct cpu_desc_struct arm_cpu_desc; nkeynes@12: extern const struct cpu_desc_struct armt_cpu_desc; nkeynes@12: nkeynes@12: #ifdef __cplusplus nkeynes@12: } nkeynes@12: #endif nkeynes@12: nkeynes@12: #endif