[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH] mini-os: build fixes for lwip 1.3.2



David Vrabel, le Mon 28 Jan 2013 15:39:12 +0000, a écrit :
> - Endianness macros #defined in arch/cc.h.

These should rather go to endian.h, I guess lwip would be able to find
them there, shouldn't it?

> - free() is called via a function pointer so it needs to be a real
>   function.

For coherency, could you do the same with malloc and realloc?

>  #define malloc(size) _xmalloc(size, DEFAULT_ALIGN)
> -#define free(ptr) xfree(ptr)
>  #define realloc(ptr, size) _realloc(ptr, size)

Samuel

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.