Remove the restriction on Package in Package() data structure#30
Conversation
435c202 to
c2bed2d
Compare
Restriction on Package in Package() data structure is removed accommodating it to contain nested packages Additional clarification added See issue UEFI#29 for more details.
| * a Package consisting entirely of Integer, String, or Reference objects | ||
| (and specifically not containing a nested Package). | ||
| * a Reference (but not referencing a Package which in turn contains nested Package references), or | ||
| * a Package (but not containing a reference to another Package). |
There was a problem hiding this comment.
"A reference to a Package" is not particularly well defined as far as I can say. If the name (or generally a namepath) of an object appears in the source code, which is regarded as a "reference" to that object, there are two cases. If it is possible to evaluate it, it will be evaluated and the return value (whatever it is) will be used where the name has appeared. If it cannot be evaluated, it will be held as a "reference object" (this happens if the target object is a device, for example). Objects that evaluate to Packages are in the first category, so they are evaluated in that case and the Package appears where the name has been used.
|
IMO once the new std Arm UUID proposals are accepted in ASWG, we have no need for this change, and it can be dropped. |
Restriction on Package in Package() data structure is removed accommodating it to contain nested packages
See issue #29 for more details.