summaryrefslogtreecommitdiff
path: root/source/compiler/dttemplate.h
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2015-06-16 19:48:16 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2015-06-16 19:48:16 +0000
commit8811b910b092027f905013bced1da3e87c6b07b9 (patch)
treeb0c56a23f2d8877b9431deb3cab73df3c1913fb7 /source/compiler/dttemplate.h
parent0c85196b0c51b4e5eba8fcace026f947f9112c9e (diff)
Import ACPICA 20150616.vendor/acpica/20150616
Notes
svn path=/vendor-sys/acpica/dist/; revision=284458 svn path=/vendor-sys/acpica/20150616/; revision=284459; tag=vendor/acpica/20150616
Diffstat (limited to 'source/compiler/dttemplate.h')
-rw-r--r--source/compiler/dttemplate.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/source/compiler/dttemplate.h b/source/compiler/dttemplate.h
index 1b27b4e7f01e..6d76f4d64b9c 100644
--- a/source/compiler/dttemplate.h
+++ b/source/compiler/dttemplate.h
@@ -45,7 +45,7 @@
#define __DTTEMPLATE_H
-/* Special templates for DSDT and SSDT (AML byte-code tables) */
+/* Special templates for the ASL/AML tables: DSDT, SSDT, and OSDT */
const char TemplateDsdt[] =
"DefinitionBlock (\"dsdt.aml\", \"DSDT\", 2, \"Intel\", \"Template\", 0x00000001)\n"
@@ -65,6 +65,15 @@ const char TemplateSsdt[] =
" }\n"
"}\n\n";
+const char TemplateOsdt[] =
+ "DefinitionBlock (\"osdt.aml\", \"OSDT\", 2, \"Intel\", \"Template\", 0x00000001)\n"
+ "{\n"
+ " Method (MAIN, 0, NotSerialized)\n"
+ " {\n"
+ " Return (Zero)\n"
+ " }\n"
+ "}\n\n";
+
/* Templates for ACPI data tables */