diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2010-11-19 14:06:29 +0100 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2010-11-19 14:06:29 +0100 |
commit | 229407408827ed49ce2e5cb2ce6d01189832b354 (patch) | |
tree | acc560c1d83367b12e18158affda3af8d82ec306 /simulator.h | |
parent | abb6c10f3a5be99396c303e60d286606ddc72e17 (diff) |
Hook up simulator
Diffstat (limited to 'simulator.h')
-rw-r--r-- | simulator.h | 40 |
1 files changed, 12 insertions, 28 deletions
diff --git a/simulator.h b/simulator.h index 4773fb6..deb609a 100644 --- a/simulator.h +++ b/simulator.h @@ -1,32 +1,16 @@ /* - Nios-sim - one simple NIOSII simulator only for personal interest and fun. - Copyright (C) 2010 chysun2000@gmail.com + * Copyright (C) 2010 Tobias Klauser <tklauser@distanz.ch> + * + * This file is part of nios2sim-ng. + * + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + */ - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. +#ifndef _SIMULATOR_H_ +#define _SIMULATOR_H_ - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. +extern void simulator_run(struct nios2 *cpu); - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ - -#ifndef __SIMULATOR_H__ -#define __SIMULATOR_H__ - -#include <stdio.h> -#include "public.h" - -struct debug_command { - char * short_cmd; - char * long_cmd; - char * desc; - int32_t code; -}; -#endif /* __SIMULATOR_H__*/ +#endif /* _SIMULATOR_H_*/ |