cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
johnfuhrer
Visitor
Visitor
1,547 Views
Registered: ‎06-05-2009

Help with xilkernel dynamic memory allocation

Hi all,

 

I'm a little confused with this and have tried to find documentation, unsuccessfully so far.

 

Can anyone post a simple example on how to create a buffer? I know how to setup the parameters in the BSP, no problem with that, but what is troubling me is when I call...

 

 

bufcreate (

 

... what do I need to set memptr to? where should it point?

 

Thanks

John

membuf_t *mbuf, void *memptr, int nblks, size_t blksiz);

0 Kudos
0 Replies