summaryrefslogtreecommitdiff
path: root/source/compiler/dtfield.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2013-05-17 23:13:40 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2013-05-17 23:13:40 +0000
commitb7f987c19dad2c6d33c64e7f96a9b4deca9e2650 (patch)
tree740dae2325e162bb086ea6e7e5d481c4b669e232 /source/compiler/dtfield.c
parentb4a951799e313e9ec15d955b72dd3097e4880724 (diff)
Notes
Diffstat (limited to 'source/compiler/dtfield.c')
-rw-r--r--source/compiler/dtfield.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/compiler/dtfield.c b/source/compiler/dtfield.c
index 275f22fefd77..697b277172a5 100644
--- a/source/compiler/dtfield.c
+++ b/source/compiler/dtfield.c
@@ -104,14 +104,17 @@ DtCompileOneField (
switch (Type)
{
case DT_FIELD_TYPE_INTEGER:
+
DtCompileInteger (Buffer, Field, ByteLength, Flags);
break;
case DT_FIELD_TYPE_STRING:
+
DtCompileString (Buffer, Field, ByteLength);
break;
case DT_FIELD_TYPE_UUID:
+
Status = DtCompileUuid (Buffer, Field, ByteLength);
if (ACPI_SUCCESS (Status))
{
@@ -121,17 +124,21 @@ DtCompileOneField (
/* Fall through. */
case DT_FIELD_TYPE_BUFFER:
+
DtCompileBuffer (Buffer, Field->Value, Field, ByteLength);
break;
case DT_FIELD_TYPE_UNICODE:
+
DtCompileUnicode (Buffer, Field, ByteLength);
break;
case DT_FIELD_TYPE_DEVICE_PATH:
+
break;
default:
+
DtFatal (ASL_MSG_COMPILER_INTERNAL, Field, "Invalid field type");
break;
}
@@ -382,10 +389,12 @@ DtNormalizeBuffer (
case ']':
case ' ':
case ',':
+
Separator = TRUE;
break;
default:
+
if (Separator)
{
/* Insert blank as the standard separator */