Designing Embedded Networking Applications: Essential Insights for Developers of Intel IXP4XX Network Processor Systems

The IXP4XX network processors contain a silicon block known as the message handler. The Intel IXP400 software uses this block to exchange configuration messages between the Intel XScale core and the NPEs. The block is intended for use only by the Intel IXP400 software. As the message exchanges between the core and the NPEs are infrequent, it is most effective to simply trigger the message communications exchange between NPE and the core using the Intel XScale core message handler interrupt. Even though your application cannot make use of the message handler features directly, we do have a small favor to ask: please initialize the component as shown below.
10 #include1112 if(ixNpeMhInitialize(13 (IX_NPEMH_NPEINTERRUPTS_YES)14 != IX_SUCCESS)15 {16 printf("Unable to start NPE Message handler!\n);17 return (IX_FAIL);18 }
Line 10
Include the definitions for the NPE message handler.
Line 12
Initialize the NPE message handler.
Line 13
Indicate that the NPE message handler should bind to the message handler interrupt. You must use this "option."
Lines 14 16
These lines provide some standard error checking return code.