summaryrefslogtreecommitdiff
path: root/source/compiler/aslmaputils.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2016-09-30 19:46:13 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2016-09-30 19:46:13 +0000
commit7600ac2283596bd000a29b9347e95346d3b740d7 (patch)
tree71816608dca5b2fd7445b5bd4cba161b0b293fe1 /source/compiler/aslmaputils.c
parentbe99e84498e91a5930864ef7b92b1a7ceb815e44 (diff)
Notes
Diffstat (limited to 'source/compiler/aslmaputils.c')
-rw-r--r--source/compiler/aslmaputils.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/compiler/aslmaputils.c b/source/compiler/aslmaputils.c
index ebdab7daa741..1ba70405076a 100644
--- a/source/compiler/aslmaputils.c
+++ b/source/compiler/aslmaputils.c
@@ -80,6 +80,12 @@ MpGetHidFromParseTree (
Op = HidNode->Op;
+ if (!Op)
+ {
+ /* Object is not resolved, probably an External */
+
+ return ("Unresolved Symbol - referenced but not defined in this table");
+ }
switch (Op->Asl.ParseOpcode)
{