Skip to content

Commit

Permalink
Implement deferred resolution of reference package elements
Browse files Browse the repository at this point in the history
This change defers the resolution of package elements that
are named references until after the entire namespace has been
loaded from the definition block. This allows such references
to be in fact forward references for both module level code
and control methods.
  • Loading branch information
acpibob committed Jul 27, 2017
1 parent 916993d commit 0c08790
Show file tree
Hide file tree
Showing 24 changed files with 823 additions and 344 deletions.
4 changes: 4 additions & 0 deletions generate/msvc9/AcpiExec.vcproj
Expand Up @@ -1041,6 +1041,10 @@
RelativePath="..\..\source\components\dispatcher\dsopcode.c"
>
</File>
<File
RelativePath="..\..\source\components\dispatcher\dspkginit.c"
>
</File>
<File
RelativePath="..\..\source\components\dispatcher\dsutils.c"
>
Expand Down
4 changes: 4 additions & 0 deletions generate/msvc9/AcpiNames.vcproj
Expand Up @@ -549,6 +549,10 @@
RelativePath="..\..\source\components\dispatcher\dsobject.c"
>
</File>
<File
RelativePath="..\..\source\components\dispatcher\dspkginit.c"
>
</File>
<File
RelativePath="..\..\source\components\dispatcher\dsutils.c"
>
Expand Down
4 changes: 4 additions & 0 deletions generate/msvc9/AcpiSubsystem.vcproj
Expand Up @@ -981,6 +981,10 @@
RelativePath="..\..\source\components\dispatcher\dsopcode.c"
>
</File>
<File
RelativePath="..\..\source\components\dispatcher\dspkginit.c"
>
</File>
<File
RelativePath="..\..\source\components\dispatcher\dsutils.c"
>
Expand Down
4 changes: 4 additions & 0 deletions generate/msvc9/AslCompiler.vcproj
Expand Up @@ -640,6 +640,10 @@
RelativePath="..\..\source\components\dispatcher\dsopcode.c"
>
</File>
<File
RelativePath="..\..\source\components\dispatcher\dspkginit.c"
>
</File>
<File
RelativePath="..\..\source\components\dispatcher\dsutils.c"
>
Expand Down
4 changes: 4 additions & 0 deletions generate/msvc9/Examples.vcproj
Expand Up @@ -705,6 +705,10 @@
RelativePath="..\..\source\components\dispatcher\dsopcode.c"
>
</File>
<File
RelativePath="..\..\source\components\dispatcher\dspkginit.c"
>
</File>
<File
RelativePath="..\..\source\components\dispatcher\dsutils.c"
>
Expand Down
1 change: 1 addition & 0 deletions generate/unix/acpiexamples/Makefile
Expand Up @@ -47,6 +47,7 @@ OBJECTS = \
$(OBJDIR)/dsmthdat.o\
$(OBJDIR)/dsobject.o\
$(OBJDIR)/dsopcode.o\
$(OBJDIR)/dspkginit.o\
$(OBJDIR)/dsutils.o\
$(OBJDIR)/dswexec.o\
$(OBJDIR)/dswload.o\
Expand Down
1 change: 1 addition & 0 deletions generate/unix/acpiexec/Makefile
Expand Up @@ -85,6 +85,7 @@ OBJECTS = \
$(OBJDIR)/dsmthdat.o\
$(OBJDIR)/dsobject.o\
$(OBJDIR)/dsopcode.o\
$(OBJDIR)/dspkginit.o\
$(OBJDIR)/dsutils.o\
$(OBJDIR)/dswexec.o\
$(OBJDIR)/dswload.o\
Expand Down
1 change: 1 addition & 0 deletions generate/unix/acpinames/Makefile
Expand Up @@ -43,6 +43,7 @@ OBJECTS = \
$(OBJDIR)/dsinit.o\
$(OBJDIR)/dsmthdat.o\
$(OBJDIR)/dsobject.o\
$(OBJDIR)/dspkginit.o\
$(OBJDIR)/dsutils.o\
$(OBJDIR)/dswload.o\
$(OBJDIR)/dswload2.o\
Expand Down
1 change: 1 addition & 0 deletions generate/unix/iasl/Makefile
Expand Up @@ -134,6 +134,7 @@ OBJECTS = \
$(OBJDIR)/dsfield.o\
$(OBJDIR)/dsobject.o\
$(OBJDIR)/dsopcode.o\
$(OBJDIR)/dspkginit.o\
$(OBJDIR)/dsutils.o\
$(OBJDIR)/dswexec.o\
$(OBJDIR)/dswload.o\
Expand Down

0 comments on commit 0c08790

Please sign in to comment.