Search
lxdream.org :: lxdream/src/sh4/sh4dasm.h
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4dasm.h
changeset 736:a02d1475ccfd
prev586:2a3ba82cf243
next998:1754a8c6a9cf
author nkeynes
date Thu Dec 11 23:26:03 2008 +0000 (15 years ago)
permissions -rw-r--r--
last change Disable the generational translation cache - I've got no evidence that it
actually helps performance, and it simplifies things to get rid of it (in
particular, translated code doesn't have to worry about being moved now).
view annotate diff log raw
     1 /**
     2  * $Id$
     3  * 
     4  * SH4 CPU definition and disassembly function declarations
     5  *
     6  * Copyright (c) 2005 Nathan Keynes.
     7  *
     8  * This program is free software; you can redistribute it and/or modify
     9  * it under the terms of the GNU General Public License as published by
    10  * the Free Software Foundation; either version 2 of the License, or
    11  * (at your option) any later version.
    12  *
    13  * This program is distributed in the hope that it will be useful,
    14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
    15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    16  * GNU General Public License for more details.
    17  */
    19 #ifndef lxdream_sh4dasm_H
    20 #define lxdream_sh4dasm_H 1
    22 #include "cpu.h"
    24 #ifdef __cplusplus
    25 extern "C" {
    26 #endif
    28 #include <stdio.h>
    30 uint32_t sh4_disasm_instruction( uint32_t pc, char *buf, int len, char * );
    31 void sh4_disasm_region( FILE *f, int from, int to );
    33 extern const struct cpu_desc_struct sh4_cpu_desc;
    35 #ifdef __cplusplus
    36 }
    37 #endif
    39 #endif /* !lxdream_sh4dasm_H */
.