[ixp1200] reading statistics registers from the ixf440 ( ixp12eb)

Yitzchak M. Gottlieb zuki at CS.Princeton.EDU
Mon Sep 2 09:11:14 EDT 2002


On Mon, 2 Sep 2002, tomer wrote:

> 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?
> 

The function scratchRead32 is implemented in Scott's Runtime library (available
at http://www.cs.princeton.edu/vera/).  The file is
Runtime/ixp1200/sa/src/Lib/mem_access.h.  All it does is read a volatile
pointer to a 32-bit integer from the part in virtual memory to which the
scratch memory is mapped.

Zuki

-- 
Yitzchak Gottlieb
zuki at CS.Princeton.EDU





More information about the ixp1200 mailing list