grr@cbmvax.UUCP (George Robbins) (06/04/89)
Subject: network release - sys/vaxuba/uba.c has external "cvec" Index: sys/vaxuba/uba.c network-release Fix Description: The version of uba.c included in the networking release has a "extern cvec" declaration in the routine qbgetpri(). This is only for MicroVAXen, but generates an unreloved external when loading a generic kernel. Repeat-By: After merging the network release into 4.3 Tahoe, config/make a VAX "GENERIC.all" kernel. Fix: Remove extern declaration of cvec and stick in the "register int br, cvec" sillyness. This may or may not work, but I don't have any MicroVAXen hereabouts. *** sys/vaxuba/uba.c.grr Fri Jun 2 22:44:03 1989 --- sys/vaxuba/uba.c Fri Jun 2 22:46:21 1989 *************** *** 503,510 **** */ qbgetpri() { int pri; - extern int cvec; for (pri = 0x17; pri > 0x14; ) { if (cvec && cvec != 0x200) /* interrupted at pri */ --- 503,510 ---- */ qbgetpri() { + register int br, cvec; /* r11, r10 value-result */ int pri; for (pri = 0x17; pri > 0x14; ) { if (cvec && cvec != 0x200) /* interrupted at pri */ -- George Robbins - now working for, uucp: {uunet|pyramid|rutgers}!cbmvax!grr but no way officially representing arpa: cbmvax!grr@uunet.uu.net Commodore, Engineering Department fone: 215-431-9255 (only by moonlite)