]> git.pld-linux.org Git - packages/acpica.git/blob - facp.patch
- updated tests
[packages/acpica.git] / facp.patch
1 From 7670c56ebe004e698551635f9c5d48a1794066dd Mon Sep 17 00:00:00 2001
2 From: Al Stone <ahs3@ahs3.net>
3 Date: Wed, 19 Dec 2018 16:52:41 -0700
4 Subject: [PATCH] Correct DSDT Address field in FACP tables
5
6 The FADT allows either the DSDT Address or XDSDT Address field to be
7 zero.  However, the table definition used by the table compiler still
8 requires the DSDT Address to be non-zero, which is not correct.  So,
9 remove the DT_NON_ZERO flag from the field.
10
11 Signed-off-by: Al Stone <ahs3@redhat.com>
12 ---
13  source/common/dmtbinfo.c | 2 +-
14  1 file changed, 1 insertion(+), 1 deletion(-)
15
16 Index: acpica-unix-20200214/source/common/dmtbinfo.c
17 ===================================================================
18 --- acpica-unix-20200214.orig/source/common/dmtbinfo.c
19 +++ acpica-unix-20200214/source/common/dmtbinfo.c
20 @@ -184,7 +184,7 @@ ACPI_DMTABLE_INFO           AcpiDmTableI
21  ACPI_DMTABLE_INFO           AcpiDmTableInfoFadt1[] =
22  {
23      {ACPI_DMT_UINT32,   ACPI_FADT_OFFSET (Facs),                    "FACS Address", 0},
24 -    {ACPI_DMT_UINT32,   ACPI_FADT_OFFSET (Dsdt),                    "DSDT Address", DT_NON_ZERO},
25 +    {ACPI_DMT_UINT32,   ACPI_FADT_OFFSET (Dsdt),                    "DSDT Address", 0},
26      {ACPI_DMT_UINT8,    ACPI_FADT_OFFSET (Model),                   "Model", 0},
27      {ACPI_DMT_FADTPM,   ACPI_FADT_OFFSET (PreferredProfile),        "PM Profile", 0},
28      {ACPI_DMT_UINT16,   ACPI_FADT_OFFSET (SciInterrupt),            "SCI Interrupt", 0},
This page took 0.074188 seconds and 3 git commands to generate.