
2 Sep
2002
2 Sep
'02
9:11 a.m.
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@CS.Princeton.EDU