From c457a42be4fca72c51fdca569271b62213d01a37 Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Wed, 31 May 2017 22:40:24 +0000 Subject: Import ACPICA 20170531. --- source/compiler/dtfield.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'source/compiler/dtfield.c') diff --git a/source/compiler/dtfield.c b/source/compiler/dtfield.c index 33afa3bf764a..13e8b6388019 100644 --- a/source/compiler/dtfield.c +++ b/source/compiler/dtfield.c @@ -679,6 +679,36 @@ DtCompileFlag ( BitLength = 2; break; + case ACPI_DMT_FLAGS4_0: + + BitPosition = 0; + BitLength = 4; + break; + + case ACPI_DMT_FLAGS4_4: + + BitPosition = 4; + BitLength = 4; + break; + + case ACPI_DMT_FLAGS4_8: + + BitPosition = 8; + BitLength = 4; + break; + + case ACPI_DMT_FLAGS4_12: + + BitPosition = 12; + BitLength = 4; + break; + + case ACPI_DMT_FLAGS16_16: + + BitPosition = 16; + BitLength = 16; + break; + default: DtFatal (ASL_MSG_COMPILER_INTERNAL, Field, "Invalid flag opcode"); -- cgit v1.2.3