[haiku-commits] Re: r37221 - haiku/trunk/src/libs/compat/freebsd_network

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 22 Jun 2010 16:05:42 +0200

On 2010-06-22 at 14:56:59 [+0200], Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> 
wrote:
> ingo_weinhold@xxxxxx wrote:
> > Log:
> > Reimplemented _kernel_contigmalloc() to support the physical address
> > restrictions.
> 
> Why not simply remove kernel_contigmalloc() from compat.c instead of
> this strange construct?

Unfortunately the FreeBSD headers are not C++ safe and <vm/vm.h> (ours) is 
not C safe. Hence the indirection to insulate one from the other.

CU, Ingo

Other related posts: