fork of PCE focusing on macplus, supporting DaynaPort SCSI network emulation
at master 57 lines 2.5 kB view raw
1/***************************************************************************** 2 * pce * 3 *****************************************************************************/ 4 5/***************************************************************************** 6 * File name: src/arch/simarm/cmd_arm.h * 7 * Created: 2004-11-04 by Hampa Hug <hampa@hampa.ch> * 8 * Copyright: (C) 2004-2013 Hampa Hug <hampa@hampa.ch> * 9 * Copyright: (C) 2004-2006 Lukas Ruf <ruf@lpr.ch> * 10 *****************************************************************************/ 11 12/***************************************************************************** 13 * This program is free software. You can redistribute it and / or modify it * 14 * under the terms of the GNU General Public License version 2 as published * 15 * by the Free Software Foundation. * 16 * * 17 * This program is distributed in the hope that it will be useful, but * 18 * WITHOUT ANY WARRANTY, without even the implied warranty of * 19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General * 20 * Public License for more details. * 21 *****************************************************************************/ 22 23/***************************************************************************** 24 * This software was developed at the Computer Engineering and Networks * 25 * Laboratory (TIK), Swiss Federal Institute of Technology (ETH) Zurich. * 26 *****************************************************************************/ 27 28 29#ifndef PCE_SIMARM_CMD_ARM_H 30#define PCE_SIMARM_CMD_ARM_H 1 31 32 33#include <stdio.h> 34 35#include "simarm.h" 36#include "timer.h" 37 38#include <cpu/arm/arm.h> 39#include <lib/monitor.h> 40 41 42void sarm_dasm_str (char *dst, arm_dasm_t *op); 43void sarm_prt_state_cpu (arm_t *c, FILE *fp); 44void sarm_prt_state_mmu (arm_t *c, FILE *fp); 45void sarm_prt_state_timer (ixp_timer_t *tmr, FILE *fp); 46void sarm_prt_state_intc (simarm_t *sim, FILE *fp); 47void sarm_prt_state_mem (simarm_t *sim, FILE *fp); 48void prt_state (simarm_t *sim, FILE *fp, const char *str); 49 50void sarm_run (simarm_t *sim); 51 52int sarm_do_cmd (simarm_t *sim, cmd_t *cmd); 53 54void sarm_cmd_init (simarm_t *sim, monitor_t *mon); 55 56 57#endif