51bbd4a75f06f38354d97ebc6205c7d8e6629f32
[linux-flexiantxendom0-3.2.10.git] / include / asm-ia64 / acpi-ext.h
1 /*
2  * ia64/platform/hp/common/hp_acpi.h
3  *
4  * Copyright (C) 2003 Hewlett-Packard
5  * Copyright (C) Alex Williamson
6  *
7  * Vendor specific extensions to ACPI.  The HP-specific extensiosn are also used by NEC.
8  */
9 #ifndef _ASM_IA64_ACPI_EXT_H
10 #define _ASM_IA64_ACPI_EXT_H
11
12 #include <linux/types.h>
13
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)
18
19 struct acpi_hp_vendor_long {
20         u8      guid_id;
21         u8      guid[16];
22         u8      csr_base[8];
23         u8      csr_length[8];
24 };
25
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 *);
31
32 #endif /* _ASM_IA64_ACPI_EXT_H */