Moved Event to namespace

This commit is contained in:
Connor Wood
2017-06-21 20:50:08 +01:00
parent 9575c6fed3
commit 94b0e7de37
2 changed files with 6 additions and 1 deletions

1
src/acpi/aml/.#namedobj.rs Symbolic link
View File

@@ -0,0 +1 @@
venos@Maponos.11470:1498034251

View File

@@ -209,7 +209,11 @@ impl AmlExecutable for NamedObj {
let local_scope_string = get_namespace_string(scope, name.clone());
namespace.insert(local_scope_string, AmlValue::Mutex(sync_level));
},
_ => ()
NamedObj::DefEvent { ref name } => {
let local_scope_string = get_namespace_string(scope, name.clone());
namespace.insert(local_scope_string, AmlValue::Event);
},
// _ => ()
}
None