[ixp1200] reading statistics registers from the ixf440 ( ixp12eb)
tomer
bahart at bgumail.bgu.ac.il
Tue Sep 3 10:30:42 EDT 2002
RE: [ixp1200] reading statistics registers from the ixf440 ( ixp12eb)hi
I used your advice and looked at core_io.h and
hal_fbi.h and wrote a short proc to read one of the
regs .when i am building the file I get this error messages :
"#error IOSTYLE must be defined on the command line"
and
" #error OS must be defined on the command line"
I checked at iostyle.h where I found a note
"the command line for the module should include something to the effect:
... -DIOSTYLE=XACTIO ...
or ... -DIOSTYLE=AMBAIO ...
etc."
Can you advise me on this matter?
----- Original Message -----
From: Arthur Berkovitch
To: ixp1200 at CS.Princeton.EDU
Sent: Monday, September 02, 2002 3:57 PM
Subject: RE: [ixp1200] reading statistics registers from the ixf440 ( ixp12eb)
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/20020903/5c6a3126/attachment.htm
More information about the ixp1200
mailing list