[haiku-gsoc] Re: Licensing questions

  • From: Vivek Roy <vivekroyandroid@xxxxxxxxx>
  • To: haiku-gsoc@xxxxxxxxxxxxx
  • Date: Fri, 9 Jun 2017 19:55:44 +0530

Great, thanks.

On 09-Jun-2017 7:13 PM, "Rene Gollent" <anevilyak@xxxxxxxxx> wrote:

On Fri, Jun 9, 2017 at 9:35 AM, Vivek Roy <vivekroyandroid@xxxxxxxxx>
wrote:
Yet another include problem. The types.h in FreeBSD's
linuxkpi/common/include/asm includes sys/types.h . The one in Haiku is
not
good enough for it, specifically vm_paddr_t. What is the best thing to do
here?


The equivalent type on Haiku is phys_addr_t (
http://xref.plausible.coop/source/xref/haiku/headers/os/
support/SupportDefs.h#60
). As such, the simplest solution here would probably be to create a
typedef alias in your adapted compatibility headers to map vm_paddr_t
to phys_addr_t, unless someone has a better suggestion.

Regards,

Rene


Other related posts: