[haiku-commits] Re: r34598 - in haiku/trunk: headers/os/drivers src/add-ons/kernel/bus_managers/acpi/include/platform

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 09 Dec 2009 20:07:11 +0100

clemens.zeidler@xxxxxxxxxxxxxx wrote:
> +#ifdef B_HAIKU_64_BIT
> +typedef uint64 acpi_physical_address;
> +typedef uint64 acpi_io_address;
> +typedef uint64 acpi_size;
> +#else
>  typedef uint32 acpi_physical_address;
>  typedef uint32 acpi_io_address;
>  typedef uint32 acpi_size;
> +#endif

Why not use addr_t and size_t? Those are correct no matter which 
platform.

Bye,
   Axel.


Other related posts: