[ixp1200] IXP2400 Intel libraries: kernel/user space

David Mentre Mentre at tcl.ite.mee.com
Thu Jan 15 04:40:26 EST 2004


Hello Romit,

[ Disclaimer: I'm also new to IXP2400, so do not take my anwser for a
definitive one. ]

> From: romit dasgupta [mailto:romit at myrealbox.com]
> Sent: Thursday, January 15, 2004 5:59 AM

> I am working on IXP2400 and want to use the intel provided 
> libraries for 
> microcode loading/initialization and running. And in many occasions I 
> want to access the Resource Manager APIs as well. I read the 
> documents 
> as provided by Intel , mainly the following
> 
> Intel IXP2400/IXP2800 Network Processors XScale Support libraries 
> Reference manual.
> 
> I have not seen any explicit information in the above document which 
> hints on running the resource manager & core compoent libraries in 
> kernel space.
> Most of the examples that come with the ixa_sdk_3.1 however 
> loads kernel 
> modules which implements these libraries.

I think you are making an error. Intel libraries are implemented in _user_
space. The kernel module (MeDrv.o) is only used to make microengines CSR
_visible_ to user space.

> My question is, can i use the Resource Manager API's & Core Component 
> Library in user space, without loading them as modules 
> (perhaps building 
> these as libraries). I can acccess them in kernel space for 
> sure but I 
> have a feeling that it can be done through user space as well. Any 
> insight on this will be highly valuable.

You need the module to access CSR spaces of microengines. Otherwise, all the
library are in user space.

I hope it helps,
Yours,
david
-- 
David Mentré <mentre at tcl.ite.mee.com> - Research engineer (Ph.D.)
Mitsubishi Electric ITE-TCL / European Telecommunication Research Lab
Phone: +33 2 23 45 58 29 / Fax: +33 2 23 45 58 59 
http://www.mitsubishi-electric-itce.fr


More information about the ixp1200 mailing list