[ixp1200] Memory allocation problem

nitin makhija makhija_nitin at rediffmail.com
Sat Apr 30 01:52:06 EDT 2005


  


Hellow..
u can do this from linker seetings..which are there in build settings tab... there u will c a place to reserve memory for variables.. do the required settings there..
hope this helps..

tk care
Regards,
Nitin

On Sat, 30 Apr 2005 Malathi Panyam wrote :
>Hi,
>         I need to implement a pattern matching algo(Aho Corasick) for my project, which requires a state machine build.
>And since this requires memory to be allocated dynamically which is not possible with IXP1200 (no Malloc), I defined a large array in SRAM to block certain memory for building the state machine. Though I specified the start location for this array, the memory getting assigned randomly and over writing some data( a large set of rules which need to be placed only in SRAM due to alignment problems).
>So can anyone pl.suggest me how I can block certain amount of memory in SRAM  with an array and use it for my state machine without over writing.
>thanx in advance
>malathi
>
>
>
>
>_______________________________________________
>ixp1200 mailing list
>ixp1200 at lists.cs.princeton.edu
>https://lists.cs.princeton.edu/mailman/listinfo/ixp1200


More information about the ixp1200 mailing list