mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
ACPI: Add GPIO Connection Descriptor
Signed-off-by: Shannon Zhao <zhaoshenglong@huawei.com> Signed-off-by: Shannon Zhao <shannon.zhao@linaro.org> Tested-by: Wei Huang <wei@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Message-id: 1449804086-3464-7-git-send-email-zhaoshenglong@huawei.com Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
committed by
Peter Maydell
parent
ac6aa59a21
commit
4ecdc746e9
@@ -154,6 +154,26 @@ typedef enum {
|
||||
AML_SERIALIZED = 1,
|
||||
} AmlSerializeFlag;
|
||||
|
||||
/*
|
||||
* ACPI 5.0: Table 6-189 GPIO Connection Descriptor Definition
|
||||
* GPIO Connection Type
|
||||
*/
|
||||
typedef enum {
|
||||
AML_INTERRUPT_CONNECTION = 0,
|
||||
AML_IO_CONNECTION = 1,
|
||||
} AmlGpioConnectionType;
|
||||
|
||||
/*
|
||||
* ACPI 5.0: Table 6-189 GPIO Connection Descriptor Definition
|
||||
* _PPI field definition
|
||||
*/
|
||||
typedef enum {
|
||||
AML_PULL_DEFAULT = 0,
|
||||
AML_PULL_UP = 1,
|
||||
AML_PULL_DOWN = 2,
|
||||
AML_PULL_NONE = 3,
|
||||
} AmlPinConfig;
|
||||
|
||||
typedef
|
||||
struct AcpiBuildTables {
|
||||
GArray *table_data;
|
||||
|
||||
Reference in New Issue
Block a user