We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
\_INI
\_SB._INI
1 parent a5e376b commit b839d84Copy full SHA for b839d84
src/aml/mod.rs
@@ -187,10 +187,10 @@ where
187
/*
188
* This should match the initialization order of ACPICA and uACPI.
189
*/
190
- if let Err(err) = self.evaluate(AmlName::from_str("\\_INI").unwrap(), vec![]) {
+ if let Err(err) = self.evaluate_if_present(AmlName::from_str("\\_INI").unwrap(), vec![]) {
191
warn!("Invoking \\_INI failed: {:?}", err);
192
}
193
- if let Err(err) = self.evaluate(AmlName::from_str("\\_SB._INI").unwrap(), vec![]) {
+ if let Err(err) = self.evaluate_if_present(AmlName::from_str("\\_SB._INI").unwrap(), vec![]) {
194
warn!("Invoking \\_SB._INI failed: {:?}", err);
195
196
0 commit comments