Moved Mutex to namespace
This commit is contained in:
@@ -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));
|
||||
},
|
||||
_ => ()
|
||||
}
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ pub enum AmlValue {
|
||||
Integer,
|
||||
IntegerConstant(u64),
|
||||
Method(Method),
|
||||
Mutex,
|
||||
Mutex(u8),
|
||||
ObjectReference(SuperName),
|
||||
OperationRegion {
|
||||
region: RegionSpace,
|
||||
|
||||
Reference in New Issue
Block a user