Mirko et. al.,
One more note, the only thing that should affect the programmer was that the
IXP12XX Microengine C compiler does not handle splitting a function over the
boundary. Consequently, the compiler with error on compilation of a program
with, say, 3 large functions of 666 instructions each (even though the total
is <2k).
However, most people won't run into this sort of thing.. if so, the fix is
simply to split up the functions..
--eric h.
-----Original Message-----
From: Heaton, Eric D [mailto:eric.d.heaton@intel.com]
Sent: Wednesday, March 05, 2003 4:05 PM
To: 'ixp1200(a)CS.Princeton.EDU'
Subject: RE: [ixp1200] MicroEngine C -> segment access?
Mirko,
Crossing the 1k boundary for IXP12XX with 2k control store should be
transparent for the programmer. Just remember to set the following switches
correctly:
-Qrevision_min=n
-Qrevision_max=m
The version arguments allow the compiler to generate code that will
work on a range of processor versions.
1=B0; 3=C0; 5=D0.
Use 3 to enable C0 support (2K microcode) in the compiler. Use 5 for
the IXP1240 and the IXP1250. Use min and max to set the range of
processor versions that the code will run on.
Note: The loader will error if you try to load on an incorrect processor
version.
--eric h.
-----Original Message-----
From: Mirko Benz [mailto:benz@mephisto.inf.tu-dresden.de]
Sent: Wednesday, March 05, 2003 7:43 AM
To: ixp1200(a)CS.Princeton.EDU
Subject: [ixp1200] MicroEngine C -> segment access?
Hello,
How to access the second micro store segment of
the C step IXP1200 from C?
Thanks,
Mirko