From 229407408827ed49ce2e5cb2ce6d01189832b354 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Fri, 19 Nov 2010 14:06:29 +0100 Subject: Hook up simulator --- simulator.h | 40 ++++++++++++---------------------------- 1 file changed, 12 insertions(+), 28 deletions(-) (limited to 'simulator.h') 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 + * + * 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 -#include "public.h" - -struct debug_command { - char * short_cmd; - char * long_cmd; - char * desc; - int32_t code; -}; -#endif /* __SIMULATOR_H__*/ +#endif /* _SIMULATOR_H_*/ -- cgit v1.2.3-54-g00ecf