[ixp1200] reading statistics registers from the ixf440 ( ixp1 2eb)

Arthur Berkovitch arthur at comgates.co.il
Mon Sep 2 09:57:17 EDT 2002


reading a scratch address from core can be done by:

#define FBI_SCRATCH_PAD_BASE 	0xB0044000
#define READ_LWORD(addr, val) *((volatile unsigned int *)(val)) =
*((unsigned int *)(addr))
#define SCRATCH_READ(addr, val) READ_LWORD(((addr)<<2)+FBI_SCRATCH_PAD_BASE,
(val))

look at hal_fbi.h and core_io.h under $(IXP_ROOT)/include

-----Original Message-----
From: tomer [mailto:bahart at bgumail.bgu.ac.il]
Sent: Monday, September 02, 2002 10:51 AM
To: ixp1200 at CS.Princeton.EDU
Subject: [ixp1200] reading statistics registers from the ixf440 ( ixp12eb)



Hi
I am working on the ixp12eb supported by the vxworks os.
I am trying to read the statistic registers from the ixf440, so far no
success.
I went through your example codes.
In the control.c file ( libixprouter.tar ) i saw that you use the
scratchRead32( ) function to do the job.
I could not find this function.
Can you advise me on this matter?


You my find this Q too obvious, but i am a beginner on the system, anything
is helpful to me.


thanks
 Tomer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.cs.princeton.edu/mailman/private/ixp1200/attachments/20020902/ca15e7bb/attachment.htm


More information about the ixp1200 mailing list