]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmVirtPkg/Kvmtool: Add DSDT ACPI table
authorSami Mujawar <sami.mujawar@arm.com>
Tue, 20 Apr 2021 11:59:42 +0000 (12:59 +0100)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 1 Feb 2022 17:39:34 +0000 (17:39 +0000)
Most ACPI tables for Kvmtool firmware are dynamically
generated. The AML code is also generated at runtime
for most components in appropriate SSDTs.

Although there may not be much to describe in the DSDT,
the DSDT table is mandatory.

Therefore, add an empty stub for DSDT.

Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
ArmVirtPkg/KvmtoolCfgMgrDxe/AslTables/Dsdt.asl [new file with mode: 0644]

diff --git a/ArmVirtPkg/KvmtoolCfgMgrDxe/AslTables/Dsdt.asl b/ArmVirtPkg/KvmtoolCfgMgrDxe/AslTables/Dsdt.asl
new file mode 100644 (file)
index 0000000..13d1e1d
--- /dev/null
@@ -0,0 +1,21 @@
+/** @file\r
+  Differentiated System Description Table Fields (DSDT)\r
+\r
+  Copyright (c) 2021 - 2022, ARM Ltd. All rights reserved.<BR>\r
+    SPDX-License-Identifier: BSD-2-Clause-Patent\r
+\r
+**/\r
+\r
+DefinitionBlock ("DsdtTable.aml", "DSDT", 2, "ARMLTD", "ARM-KVMT", 1) {\r
+  Scope (_SB) {\r
+    //\r
+    // Most ACPI tables for Kvmtool firmware are\r
+    // dynamically generated. The AML code is also\r
+    // generated at runtime for most components in\r
+    // appropriate SSDTs.\r
+    // Although there may not be much to describe\r
+    // in the DSDT, the DSDT table is mandatory.\r
+    // Therefore, add an empty stub for DSDT.\r
+    //\r
+  } // Scope (_SB)\r
+}\r