X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=include%2Facpi%2Facbuffer.h;h=a1e45cdd729a0ba7c36c0492e1c6cecec186df3a;hb=35e9a274fdc9c8feb763e4970a32d7089f51393c;hp=2c3b44789f95336013beba1cb8dc95a4929f3883;hpb=be030a576854238250d70135644cde6a0ba34b0d;p=~andy%2Flinux diff --git a/include/acpi/acbuffer.h b/include/acpi/acbuffer.h index 2c3b44789f9..a1e45cdd729 100644 --- a/include/acpi/acbuffer.h +++ b/include/acpi/acbuffer.h @@ -44,6 +44,11 @@ #ifndef __ACBUFFER_H__ #define __ACBUFFER_H__ +/* + * Contains buffer structures for these predefined names: + * _FDE, _GRT, _GTM, _PLD, _SRT + */ + /* * Note: C bitfields are not used for this reason: * @@ -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.