summaryrefslogtreecommitdiff
path: root/simulator.h
diff options
context:
space:
mode:
Diffstat (limited to 'simulator.h')
-rw-r--r--simulator.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/simulator.h b/simulator.h
new file mode 100644
index 0000000..4773fb6
--- /dev/null
+++ b/simulator.h
@@ -0,0 +1,32 @@
+/*
+ Nios-sim - one simple NIOSII simulator only for personal interest and fun.
+ Copyright (C) 2010 chysun2000@gmail.com
+
+ 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.
+
+ 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.
+
+ 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__*/