diff options
author | 2012-08-17 13:08:33 +0800 | |
---|---|---|
committer | 2012-09-21 00:26:17 -0400 | |
commit | 84be5d687f8060ad96d5a4a060e207a0ec5cc016 (patch) | |
tree | cda2c7dc5b6e5848515d3101ee9994f3ae2c3082 /include/acpi/acbuffer.h | |
parent | ACPICA: Add support for complex _PLD buffers. (diff) | |
download | linux-84be5d687f8060ad96d5a4a060e207a0ec5cc016.tar.gz linux-84be5d687f8060ad96d5a4a060e207a0ec5cc016.tar.bz2 linux-84be5d687f8060ad96d5a4a060e207a0ec5cc016.zip |
ACPICA: Add struct header support for _FDE, _GRT, _GTM, and _SRT names.
Added structs for the buffers related to these predefined names,
in acbuffer.h
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'include/acpi/acbuffer.h')
-rw-r--r-- | include/acpi/acbuffer.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/include/acpi/acbuffer.h b/include/acpi/acbuffer.h index 2c3b44789f95..a1e45cdd729a 100644 --- a/include/acpi/acbuffer.h +++ b/include/acpi/acbuffer.h @@ -45,6 +45,11 @@ #define __ACBUFFER_H__ /* + * Contains buffer structures for these predefined names: + * _FDE, _GRT, _GTM, _PLD, _SRT + */ + +/* * Note: C bitfields are not used for this reason: * * "Bitfields are great and easy to read, but unfortunately the C language @@ -56,6 +61,44 @@ * See http://stackoverflow.com/a/1053662/41661 */ +/* _FDE return value */ + +struct acpi_fde_info { + u32 floppy0; + u32 floppy1; + u32 floppy2; + u32 floppy3; + u32 tape; +}; + +/* + * _GRT return value + * _SRT input value + */ +struct acpi_grt_info { + u16 year; + u8 month; + u8 day; + u8 hour; + u8 minute; + u8 second; + u8 valid; + u16 milliseconds; + u16 timezone; + u8 daylight; + u8 reserved[3]; +}; + +/* _GTM return value */ + +struct acpi_gtm_info { + u32 pio_speed0; + u32 dma_speed0; + u32 pio_speed1; + u32 dma_speed1; + u32 flags; +}; + /* * Formatted _PLD return value. The minimum size is a package containing * one buffer. |