[ixp1200] Vera build problem

Yitzchak M. Gottlieb zuki at CS.Princeton.EDU
Mon Feb 25 15:12:01 EST 2002


John,

The proper definitions are:

/* BEGIN DEFINTIONS */

extern inline u16
memRead16(u32 address)
{
    return *((volatile u16 *)address);
}

extern inline void
memWrite16(u32 address, u16 value)
{
    *((volatile u16 *)address) = value;
}

/* END DEFINITIONS */

There should be a minor update of libixprouter and runtime sometime very soon
which will correct this and some other minor problems.

Zuki

-- 
Yitzchak Gottlieb
zuki at CS.Princeton.EDU

On Mon, 25 Feb 2002, John H. Hartman wrote:

> In trying to build IPmm and linking with libixprouter.a I'm getting
> memRead16 and memWrite16 as undefined. They are used in pktgen.c. Should
> they changed to memRead16be and memWrite16be, which are defined?
> 
> 




More information about the ixp1200 mailing list