Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

complete removal of old interrupt levels



Hi all,

rev 1.13 of sys/arch/vax/vax/intvec.S removed most support for softnet, softclock and softserial but they were not completely wiped. I think this is everything, but I'm hoping someone with more kernel knowledge can comment.

-Henry Bent
hbent%cs.oberlin.edu@localhost

--- autoconf.c.orig     2006-03-28 23:16:48.000000000 -0500
+++ autoconf.c  2008-01-29 19:57:12.000000000 -0500
@@ -71,13 +71,6 @@

 struct cpu_dep *dep_call;

-struct evcnt softnet_intrcnt =
-       EVCNT_INITIALIZER(EVCNT_TYPE_INTR, NULL, "soft", "net");
-struct evcnt softserial_intrcnt =
-       EVCNT_INITIALIZER(EVCNT_TYPE_INTR, NULL, "soft", "serial");
-struct evcnt softclock_intrcnt =
-       EVCNT_INITIALIZER(EVCNT_TYPE_INTR, NULL, "soft", "clock");
-
 #define MAINBUS        0

 void
@@ -87,10 +80,6 @@
        if (config_rootfound("mainbus", NULL) == NULL)
                panic("mainbus not configured");

-       evcnt_attach_static(&softserial_intrcnt);
-       evcnt_attach_static(&softnet_intrcnt);
-       evcnt_attach_static(&softclock_intrcnt);
-
        /*
         * We're ready to start up. Clear CPU cold start flag.
         * Soft cold-start flag will be cleared in configure().

--- intvec.S.orig       2007-12-12 23:30:10.000000000 -0500
+++ intvec.S    2008-01-29 19:56:15.000000000 -0500
@@ -130,12 +130,12 @@
        NOVEC;                          # Unused, 94
        NOVEC;                          # Unused, 98
        NOVEC;                          # Unused, 9C
-       INTVEC(softclock,ISTACK)        # Software clock interrupt (IPL 08)
+       NOVEC;                          # Unused, A0
        NOVEC;                          # Unused, A4 (IPL 09)
        NOVEC;                          # Unused, A8 (IPL 10)
        NOVEC;                          # Unused, AC (IPL 11)
- INTVEC(softnet, ISTACK) # Software network interrupt (IPL 12)
-       INTVEC(softserial, ISTACK)      # Software serial interrupt (IPL 13)
+       NOVEC;                          # Unused, B0
+       NOVEC;                          # Unused, B4
        NOVEC;                          # Unused, B8 (IPL 14)
        INTVEC(ddbtrap, ISTACK)         # Kernel debugger trap, BC (IPL 15)
        INTVEC(hardclock,ISTACK)        # Interval Timer



Home | Main Index | Thread Index | Old Index