Search
lxdream.org :: lxdream/src/aica/armdasm.h
lxdream 0.9.1
released Jun 29
Download Now
filename src/aica/armdasm.h
changeset 30:89b30313d757
prev12:7748fcf320b9
next561:533f6b478071
author nkeynes
date Wed Jan 03 09:00:17 2007 +0000 (17 years ago)
permissions -rw-r--r--
last change Adjust timers when they're read rather than waiting until the next time
slice. Also temporarily cut the CPU time by 4.
Initialize the FRQCR register to 0x0E0A for convenience
view annotate diff log raw
     1 /**
     2  * $Id: armdasm.h,v 1.2 2005-12-25 05:57:00 nkeynes Exp $
     3  * 
     4  * ARM 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 armdasm_H
    20 #define armdasm_H 1
    22 #include "cpu.h"
    24 #ifdef __cplusplus
    25 extern "C" {
    26 #endif
    28 #include <stdio.h>
    30 uint32_t arm_disasm_instruction( uint32_t pc, char *buf, int len, char * );
    31 uint32_t armt_disasm_instruction( uint32_t pc, char *buf, int len, char * );
    32 extern const struct cpu_desc_struct arm_cpu_desc;
    33 extern const struct cpu_desc_struct armt_cpu_desc;
    35 #ifdef __cplusplus
    36 }
    37 #endif
    39 #endif
.