--- hatari/src/uae-cpu/readcpu.h 2019/04/01 07:10:43 1.1.1.3 +++ hatari/src/uae-cpu/readcpu.h 2019/04/09 08:53:27 1.1.1.6 @@ -1,8 +1,8 @@ /* * readcpu.h - UAE CPU core * - * This file is distributed under the GNU Public License, version 2 or at - * your option any later version. Read the file gpl.txt for details. + * This file is distributed under the GNU General Public License, version 2 + * or at your option any later version. Read the file gpl.txt for details. */ #ifndef UAE_READCPU_H @@ -41,10 +41,12 @@ ENUMDECL { i_PACK, i_UNPK, i_TAS, i_BKPT, i_CALLM, i_RTM, i_TRAPcc, i_MOVES, i_FPP, i_FDBcc, i_FScc, i_FTRAPcc, i_FBcc, i_FSAVE, i_FRESTORE, i_CINVL, i_CINVP, i_CINVA, i_CPUSHL, i_CPUSHP, i_CPUSHA, i_MOVE16, - i_MMUOP + i_MMUOP, + + MAX_OPCODE_FAMILY /* should always be last of the list */ } ENUMNAME (instrmnem); -extern struct mnemolookup { +extern const struct mnemolookup { instrmnem mnemo; const char *name; } lookuptab[]; @@ -82,7 +84,7 @@ struct instr_def { const char *opcstr; }; -extern struct instr_def defs68k[]; +extern const struct instr_def defs68k[]; extern int n_defs68k; extern struct instr {