From 26e6b831c824c8bf21308691e16d2714131abc01 Mon Sep 17 00:00:00 2001 From: Jeff Hill Date: Thu, 29 Sep 1994 20:03:06 +0000 Subject: [PATCH] * .01 010393 Applied fix for zero C ISR param causes incorrect * identification as MACRO ISR problem. --- src/libvxWorks/veclist.c | 51 ++++++++++++++++++-------------- src/vxWorks/libvxWorks/veclist.c | 51 ++++++++++++++++++-------------- 2 files changed, 56 insertions(+), 46 deletions(-) diff --git a/src/libvxWorks/veclist.c b/src/libvxWorks/veclist.c index f55d49088..c58fae15d 100644 --- a/src/libvxWorks/veclist.c +++ b/src/libvxWorks/veclist.c @@ -1,5 +1,5 @@ /* - * $Id$ + * @(#)veclist.c 1.10 * * list fuctions attached to the interrupt vector table * @@ -7,6 +7,8 @@ * hill@atdiv.lanl.gov * (505) 665 1831 * + * .01 010393 Applied fix for zero C ISR param causes incorrect + * identification as MACRO ISR problem. */ /* @@ -23,13 +25,15 @@ */ #include "vxWorks.h" -#include "a_out.h" +#include "stdio.h" +#include "intLib.h" +#include "vxLib.h" #include "iv.h" #include "ctype.h" #include "sysSymTbl.h" static char *sccsID = - "$Id$\t$Date$ J. Hill hill@atdiv.lanl.gov"; + "@(#)veclist.c 1.10\t1/3/94 J. Hill hill@atdiv.lanl.gov"; /* * @@ -40,8 +44,8 @@ static char *sccsID = static char *ignore_list[] = {"_excStub","_excIntStub"}; -int veclist(int); -int cISRTest(void (*)(), void (**)(), void **); +int veclist(int); +int cISRTest(FUNCPTR proutine, FUNCPTR *ppisr, void **pparam); static void *fetch_pointer(unsigned char *); @@ -50,28 +54,31 @@ static void *fetch_pointer(unsigned char *); * veclist() * */ -veclist(int all) +int veclist(int all) { int vec; int value; SYM_TYPE type; char name[MAX_SYS_SYM_LEN]; char function_type[10]; - void (*proutine)(); - void (*pCISR)(); + FUNCPTR proutine; + FUNCPTR pCISR; + int cRoutine; void *pparam; int status; int i; for(vec=0; vec