
hi,
this mail is intended for Yitzchak M. Gottlieb.
I used your advice on checking Scott's Runtime library
for an example on reading regs from scratch memory
and found what I needed in eth.c source file.
I am using the tornado 2.0 to make the loaded object file
using all the needed header files.the problem is that after rebuilding the
project I don't get any object file that I can load.
I am not shoore about the header files I need to use for the source file
or what I need to do in order to load and run the eth.c source file on the
IXP1200.
I will be happy to get any advice on this meter !!
thanks rotem bahar.
----- Original Message -----
From: "Yitzchak M. Gottlieb"
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