As suggested by Axel use addr_t and size_t.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35267 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -15,15 +15,9 @@ typedef struct acpi_object_type acpi_object_type;
|
|||||||
|
|
||||||
#define B_ACPI_MODULE_NAME "bus_managers/acpi/v1"
|
#define B_ACPI_MODULE_NAME "bus_managers/acpi/v1"
|
||||||
|
|
||||||
#ifdef B_HAIKU_64_BIT
|
typedef addr_t acpi_physical_address;
|
||||||
typedef uint64 acpi_physical_address;
|
typedef addr_t acpi_io_address;
|
||||||
typedef uint64 acpi_io_address;
|
typedef size_t acpi_size;
|
||||||
typedef uint64 acpi_size;
|
|
||||||
#else
|
|
||||||
typedef uint32 acpi_physical_address;
|
|
||||||
typedef uint32 acpi_io_address;
|
|
||||||
typedef uint32 acpi_size;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Actually a ptr to a NS Node */
|
/* Actually a ptr to a NS Node */
|
||||||
typedef void * acpi_handle;
|
typedef void * acpi_handle;
|
||||||
|
|||||||
Reference in New Issue
Block a user