[haiku-gsoc] Re: Licensing questions

  • From: Rene Gollent <anevilyak@xxxxxxxxx>
  • To: "haiku-gsoc@xxxxxxxxxxxxx" <haiku-gsoc@xxxxxxxxxxxxx>
  • Date: Fri, 9 Jun 2017 09:43:52 -0400

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: