Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 331708
b: refs/heads/master
c: 84be5d6
h: refs/heads/master
v: v3
  • Loading branch information
Bob Moore authored and Len Brown committed Sep 21, 2012
1 parent 9ea5a90 commit 4293fb7
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: be030a576854238250d70135644cde6a0ba34b0d
refs/heads/master: 84be5d687f8060ad96d5a4a060e207a0ec5cc016
43 changes: 43 additions & 0 deletions trunk/include/acpi/acbuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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:
*
Expand All @@ -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.
Expand Down

0 comments on commit 4293fb7

Please sign in to comment.