-
-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AML: Implement CondRefOf #141
Comments
Which file should cond_ref_of be implemented in? ref_of is also not implemented. |
Yep, again not supported yet. The opcodes aren't handled mainly because the machinery for refs isn't there yet - but shouldn't be too hard to build out. They are expression opcodes, so should be in |
This is an example from the uefi spec
What do suggest for the representation of these things in the AML parser? |
Hm yeah this is about as complex as these expressions will get afaik, but ofc we'll need to support them fully eventually so might as well now. Basically, I think we need to introduce a new value type ( I was originally dreading dealing with these because I thought that references could appear in all sorts of places (i.e. instead of regular objects, and you'd have to deal with implicitly dereferencing them), but it doesn't actually look that way! I think AML requires you to manually use
So overall this doesn't actually sound too bad. Some existing types (maybe |
On HP-dq3xxx, the following asl/aml occurs:
If (CondRefOf (PU2C))
5B 12 50 55 32 43 00
The text was updated successfully, but these errors were encountered: