convert from asm.sed script to asm program
[unix-history] / usr / src / usr.sbin / config / mkubglue.c
index a5a5d88..f749294 100644 (file)
@@ -1,4 +1,6 @@
-/*     mkubglue.c      1.9     83/06/16        */
+#ifndef lint
+static char sccsid[] = "@(#)mkubglue.c 1.11 (Berkeley) %G%";
+#endif
 
 /*
  * Make the uba interrupt file ubglue.s
 
 /*
  * Make the uba interrupt file ubglue.s
@@ -61,7 +63,8 @@ dump_vec(fp, vector, number)
                        fprintf(fp, "#endif\n");
                }
                fprintf(fp, "\tpushl\t$%d\n", number);
                        fprintf(fp, "#endif\n");
                }
                fprintf(fp, "\tpushl\t$%d\n", number);
-               fprintf(fp, "\tcalls\t$1,_%s\n\tpopr\t$0x3f\n\trei\n\n",
-                   vector);
+               fprintf(fp, "\tcalls\t$1,_%s\n\tpopr\t$0x3f\n", vector);
+               fprintf(fp, "#if defined(VAX750) || defined(VAX730)\n");
+               fprintf(fp, "\tincl\t_cnt+V_INTR\n#endif\n\trei\n\n");
        }
 }
        }
 }