fork of PCE focusing on macplus, supporting DaynaPort SCSI network emulation
1/*****************************************************************************
2 * pce *
3 *****************************************************************************/
4
5/*****************************************************************************
6 * File name: src/arch/sim405/cmd_ppc.h *
7 * Created: 2004-06-01 by Hampa Hug <hampa@hampa.ch> *
8 * Copyright: (C) 2004-2015 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_SIM405_CMD_H
30#define PCE_SIM405_CMD_H 1
31
32
33#include "sim405.h"
34
35#include <chipset/ppc405/uic.h>
36
37#include <cpu/ppc405/ppc405.h>
38
39#include <lib/cmd.h>
40#include <lib/monitor.h>
41
42
43void s405_prt_state_ppc (sim405_t *sim);
44void s405_prt_state_spr (p405_t *c);
45void s405_prt_state_uic (p405_uic_t *uic);
46void s405_prt_state_mem (sim405_t *sim);
47
48void prt_state (sim405_t *sim, const char *str);
49
50void ppc_run (sim405_t *sim);
51
52int ppc_do_cmd (sim405_t *sim, cmd_t *cmd);
53
54void ppc_cmd_init (sim405_t *sim, monitor_t *mon);
55
56
57#endif