Moved ComputationalData::String into namespace

This commit is contained in:
Connor Wood
2017-06-19 14:12:26 +01:00
parent 3ed94405aa
commit 7095219316
2 changed files with 2 additions and 1 deletions

View File

@@ -71,6 +71,7 @@ impl AmlExecutable for ComputationalData {
ComputationalData::Zero => Some(AmlValue::IntegerConstant(0)),
ComputationalData::One => Some(AmlValue::IntegerConstant(1)),
ComputationalData::Ones => Some(AmlValue::IntegerConstant(0xFFFFFFFFFFFFFFFF)),
ComputationalData::String(ref s) => Some(AmlValue::String(s.clone())),
_ => Some(AmlValue::Integer)
}
}

View File

@@ -49,7 +49,7 @@ pub enum AmlValue {
ObjectReference,
OperationRegion,
Package(Vec<AmlValue>),
String,
String(String),
PowerResource,
Processor,
RawDataBuffer,