summaryrefslogtreecommitdiff
path: root/source/compiler/aslopcodes.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/compiler/aslopcodes.c')
-rw-r--r--source/compiler/aslopcodes.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/compiler/aslopcodes.c b/source/compiler/aslopcodes.c
index 14eb63ddcdb2f..b2a0236503d7d 100644
--- a/source/compiler/aslopcodes.c
+++ b/source/compiler/aslopcodes.c
@@ -798,7 +798,13 @@ OpcDoUuId (
}
else
{
+ /* Convert UUID string to a buffer, check for a known UUID */
+
AcpiUtConvertStringToUuid (InString, Buffer);
+ if (!AcpiAhMatchUuid (Buffer))
+ {
+ AslError (ASL_REMARK, ASL_MSG_UUID_NOT_FOUND, Op, NULL);
+ }
}
/* Change Op to a Buffer */