|
|
9897bb |
From 7670c56ebe004e698551635f9c5d48a1794066dd Mon Sep 17 00:00:00 2001
|
|
|
9897bb |
From: Al Stone <ahs3@ahs3.net>
|
|
|
9897bb |
Date: Wed, 19 Dec 2018 16:52:41 -0700
|
|
|
9897bb |
Subject: [PATCH] Correct DSDT Address field in FACP tables
|
|
|
9897bb |
|
|
|
9897bb |
The FADT allows either the DSDT Address or XDSDT Address field to be
|
|
|
9897bb |
zero. However, the table definition used by the table compiler still
|
|
|
9897bb |
requires the DSDT Address to be non-zero, which is not correct. So,
|
|
|
9897bb |
remove the DT_NON_ZERO flag from the field.
|
|
|
9897bb |
|
|
|
9897bb |
Signed-off-by: Al Stone <ahs3@redhat.com>
|
|
|
9897bb |
---
|
|
|
9897bb |
source/common/dmtbinfo.c | 2 +-
|
|
|
9897bb |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
9897bb |
|
|
|
9897bb |
Index: acpica-unix2-20200925/source/common/dmtbinfo.c
|
|
|
9897bb |
===================================================================
|
|
|
9897bb |
--- acpica-unix2-20200925.orig/source/common/dmtbinfo.c
|
|
|
9897bb |
+++ acpica-unix2-20200925/source/common/dmtbinfo.c
|
|
|
9897bb |
@@ -184,7 +184,7 @@ ACPI_DMTABLE_INFO AcpiDmTableI
|
|
|
9897bb |
ACPI_DMTABLE_INFO AcpiDmTableInfoFadt1[] =
|
|
|
9897bb |
{
|
|
|
9897bb |
{ACPI_DMT_UINT32, ACPI_FADT_OFFSET (Facs), "FACS Address", 0},
|
|
|
9897bb |
- {ACPI_DMT_UINT32, ACPI_FADT_OFFSET (Dsdt), "DSDT Address", DT_NON_ZERO},
|
|
|
9897bb |
+ {ACPI_DMT_UINT32, ACPI_FADT_OFFSET (Dsdt), "DSDT Address", 0},
|
|
|
9897bb |
{ACPI_DMT_UINT8, ACPI_FADT_OFFSET (Model), "Model", 0},
|
|
|
9897bb |
{ACPI_DMT_FADTPM, ACPI_FADT_OFFSET (PreferredProfile), "PM Profile", 0},
|
|
|
9897bb |
{ACPI_DMT_UINT16, ACPI_FADT_OFFSET (SciInterrupt), "SCI Interrupt", 0},
|