|
@@ -812,6 +812,9 @@ where
|
|
|
AmlValue::Buffer(data) => {
|
|
|
AmlValue::Integer(try_with_context!(context, AmlValue::Buffer(data).as_integer(context)))
|
|
|
}
|
|
|
+ AmlValue::Field { .. } => {
|
|
|
+ AmlValue::Integer(try_with_context!(context, operand.as_integer(context)))
|
|
|
+ }
|
|
|
AmlValue::String(string) => AmlValue::Integer(try_with_context!(
|
|
|
context,
|
|
|
if string.starts_with("0x") {
|