Moved Mutex to namespace

This commit is contained in:
Connor Wood
2017-06-21 20:27:46 +01:00
parent e52d4c98a3
commit 9575c6fed3
2 changed files with 5 additions and 1 deletions

View File

@@ -205,6 +205,10 @@ impl AmlExecutable for NamedObj {
obj_list: local_namespace
});
},
NamedObj::DefMutex { ref name, sync_level } => {
let local_scope_string = get_namespace_string(scope, name.clone());
namespace.insert(local_scope_string, AmlValue::Mutex(sync_level));
},
_ => ()
}

View File

@@ -27,7 +27,7 @@ pub enum AmlValue {
Integer,
IntegerConstant(u64),
Method(Method),
Mutex,
Mutex(u8),
ObjectReference(SuperName),
OperationRegion {
region: RegionSpace,