summaryrefslogtreecommitdiffstats
path: root/private/mvdm/softpc.new/base/inc/yoda.h
diff options
context:
space:
mode:
Diffstat (limited to 'private/mvdm/softpc.new/base/inc/yoda.h')
-rw-r--r--private/mvdm/softpc.new/base/inc/yoda.h71
1 files changed, 71 insertions, 0 deletions
diff --git a/private/mvdm/softpc.new/base/inc/yoda.h b/private/mvdm/softpc.new/base/inc/yoda.h
new file mode 100644
index 000000000..b091e9a32
--- /dev/null
+++ b/private/mvdm/softpc.new/base/inc/yoda.h
@@ -0,0 +1,71 @@
+
+/*
+ * VPC-XT Revision 0.1
+ *
+ * Title : yoda.h
+ *
+ * Description : The force is with you include file
+ * (ps yoda debugging file)
+ *
+ * Author : Henry Nash
+ * Phil Bousfield
+ *
+ * Notes : This file contains the debugger call definitions
+ */
+
+/* SccsID[]="@(#)yoda.h 1.6 06/30/95 Copyright Insignia Solutions Ltd."; */
+
+/*
+ * ============================================================================
+ * Structure/Data definitions
+ * ============================================================================
+ */
+
+/* None */
+
+/*
+ * ============================================================================
+ * External declarations and macros
+ * ============================================================================
+ */
+
+
+/*
+ * If the PROD flag is set then turn the debugger calls into null macros
+ * otherwise they are external functions - see yoda.c
+ */
+
+#ifdef PROD
+#define check_I() /* */
+#define check_D(address, value) /*address, value*/
+#define force_yoda() /* */
+#else
+extern void check_I();
+extern void check_D();
+extern void force_yoda();
+#endif
+
+/*
+ * Interface definitions and enums - non-prod only.
+ */
+
+#ifndef PROD
+
+typedef enum {YODA_RETURN, YODA_RETURN_AND_REPEAT, YODA_HELP, YODA_LOOP, YODA_LOOP_AND_REPEAT} YODA_CMD_RETURN;
+#define YODA_COMMAND(name) \
+ YODA_CMD_RETURN name IFN6(char *, str, char *, com, IS32, cs, \
+ LIN_ADDR, ip, LIN_ADDR, len, LIN_ADDR, stop)
+
+#ifdef MSWDVR_DEBUG
+extern YODA_CMD_RETURN do_mswdvr_debug IPT6(char *,str, char *, com, IS32, cs, LIN_ADDR, ip, LIN_ADDR, len, LIN_ADDR, stop);
+#endif /* MSWDVR_DEBUG */
+
+extern IBOOL AlreadyInYoda;
+
+extern IU32 IntelMsgDest;
+#define IM_DST_TRACE 1
+#define IM_DST_RING 2
+
+#else /* !PROD */
+
+#endif /* !PROD else*/