2 * ia64/platform/hp/common/hp_acpi.h
4 * Copyright (C) 2003 Hewlett-Packard
5 * Copyright (C) Alex Williamson
7 * Vendor specific extensions to ACPI. The HP-specific extensiosn are also used by NEC.
9 #ifndef _ASM_IA64_ACPI_EXT_H
10 #define _ASM_IA64_ACPI_EXT_H
12 #include <linux/types.h>
14 #define HP_CCSR_LENGTH 0x21
15 #define HP_CCSR_TYPE 0x2
16 #define HP_CCSR_GUID EFI_GUID(0x69e9adf9, 0x924f, 0xab5f, \
17 0xf6, 0x4a, 0x24, 0xd2, 0x01, 0x37, 0x0e, 0xad)
19 struct acpi_hp_vendor_long {
26 extern acpi_status hp_acpi_csr_space (acpi_handle, u64 *base, u64 *length);
27 extern acpi_status acpi_get_crs (acpi_handle, struct acpi_buffer *);
28 extern struct acpi_resource *acpi_get_crs_next (struct acpi_buffer *, int *);
29 extern union acpi_resource_data *acpi_get_crs_type (struct acpi_buffer *, int *, int);
30 extern void acpi_dispose_crs (struct acpi_buffer *);
32 #endif /* _ASM_IA64_ACPI_EXT_H */