summaryrefslogtreecommitdiffstats
path: root/source/compiler/aslopcodes.c
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2014-09-29 19:53:38 +0000
committerjkim <jkim@FreeBSD.org>2014-09-29 19:53:38 +0000
commit4a5720e5f30ea6a8d31e75f94046c76ace845126 (patch)
treec09826b28ca0b50455664fa1d18a4efff33181e4 /source/compiler/aslopcodes.c
parent9f91b0b83a53651519b3bbe3b8c1f2a324da984e (diff)
downloadFreeBSD-src-4a5720e5f30ea6a8d31e75f94046c76ace845126.zip
FreeBSD-src-4a5720e5f30ea6a8d31e75f94046c76ace845126.tar.gz
Import ACPICA 20140926.
Diffstat (limited to 'source/compiler/aslopcodes.c')
-rw-r--r--source/compiler/aslopcodes.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/compiler/aslopcodes.c b/source/compiler/aslopcodes.c
index 1ad4753..8030c95 100644
--- a/source/compiler/aslopcodes.c
+++ b/source/compiler/aslopcodes.c
@@ -402,6 +402,7 @@ OpcDoConnection (
ACPI_PARSE_OBJECT *BufferOp;
ACPI_PARSE_OBJECT *BufferLengthOp;
ACPI_PARSE_OBJECT *BufferDataOp;
+ ASL_RESOURCE_INFO Info;
UINT8 State;
@@ -416,8 +417,10 @@ OpcDoConnection (
BufferLengthOp = BufferOp->Asl.Child;
BufferDataOp = BufferLengthOp->Asl.Next;
+ Info.DescriptorTypeOp = BufferDataOp->Asl.Next;
+ Info.CurrentByteOffset = 0;
State = ACPI_RSTATE_NORMAL;
- Rnode = RsDoOneResourceDescriptor (BufferDataOp->Asl.Next, 0, &State);
+ Rnode = RsDoOneResourceDescriptor (&Info, &State);
if (!Rnode)
{
return; /* error */
OpenPOWER on IntegriCloud