summaryrefslogtreecommitdiff
path: root/simulator.h
diff options
context:
space:
mode:
Diffstat (limited to 'simulator.h')
-rw-r--r--simulator.h40
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_*/