-
-
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: Support method invocation in arithmetic expression #137
Comments
Can I invoke a method in as_integer? How do I do this? Any help would be appreciated. |
Hm, this shouldn't be required. That field is a Thanks for the report! |
I'm now blocked by this. I'm going to try to figure it out on my own, but if you have some suggestions, let me know. |
Backtrace:
|
It looks like the code to evaluate _BBN is not correct (lib.rs, 446). I will look into it some more.
|
Ah yeah the issue with |
It's not as easy as it sounds lol. |
On HP-dq3xxx, I get the error IncompatibleValueConversion in as_integer. The ASL/AML is:
OperationRegion (MCHR, SystemMemory, (GMHB () + 0x6100), 0x0100)
5B 80 4D 43 48 52 00 72 47 4D 48 42 0B 00 61 00
Here's the code for GMHB:
The text was updated successfully, but these errors were encountered: