=======================================================================
*/
-#include "depend.h"
-#include "genint.h"
-#include "int.h"
-#include "process.h"
-#include "intproto.h"
-
-
-/* Initialize memory structures for objects, main object and a few goodies
- * more.
+#include "depend.h"
+#include "genint.h"
+#include "int.h"
+#include "process.h"
+#include "intproto.h"
+
+/**
+ * Initialize memory structures for objects, main object and a few goodies more.
*/
-
void runsys()
{
word apt, i;
#endif
}
-
-void initprocess(pix, prot, father) /* Initialize process descriptor */
-word pix, prot;
-procaddr *father;
+/**
+ * Initialize process descriptor
+ */
+void initprocess(word pix, word prot, procaddr *father)
{
procdescr *p;
protdescr *ptr;
}
-bool member(virt, am)
-virtaddr *virt;
-word *am;
+/**
+ *
+ */
+bool member(virtaddr *virt, word *am)
{
*am = M[ virt->addr ];
/* if (virt->mark == M[ virt->addr+1] ) fprintf(stderr, "Yes");
return (virt->mark == M[ virt->addr+1 ]);
}
-
-void update(am, ah) /* Update DISPLAY */
-word am, ah;
+/**
+ * Update DISPLAY
+ */
+void update(word am, word ah)
{
word t1, t2, t3, t4, t5, t6;
protdescr *ptr;
}
}
-
-void loosen() /* Loosen DISPLAY */
+/**
+ * Loosen DISPLAY
+ */
+void loosen()
{
word t1, t2, t3;
protdescr *ptr;
}
}
+/**
+ * To count trace messages in line
+ */
+static int tracecnt = 0;
-static int tracecnt = 0; /* To count trace messages in line */
-
-void trace(lineno) /* Trace the program if debug mode */
-word lineno;
+/**
+ * Trace the program if debug mode
+ */
+void trace(word lineno)
{
thisp->trlnumber = lineno;
if (debug && lineno > 0)
rpc2(); /* check for RPC message */
}
-
-void endrun(status)
-int status;
+/**
+ *
+ */
+void endrun(int status)
{
MESSAGE msg;
G_MESSAGE m;