Skip to contentSkip to conversation

Malloc

DISCUSSION Gohar Irfan 2 participants 2 messages Sep 29, 2015

lore
Share & tools
lore
#0 lore raw

What is the alternate of doing a malloc in Xen?
I have a data structure (containing a list from the list.h implementation) and I want to initialize a pointer and allocate space for my struct. But since malloc doesn’t work in Xen, what should I do?

Thanks
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#1 lore raw
Quoted 2 lines · Gohar Irfan

What is the alternate of doing a malloc in Xen?
I have a data structure (containing a list from the list.h implementation) and I want to initialize a pointer and allocate space for my struct. But since malloc doesn’t work in Xen, what should I do?

Use grep, and you will definitely find something appropriate to use in the source code.

~Andrew

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel