diff options
author | Robert Moore <Robert.Moore@intel.com> | 2011-11-11 15:29:57 -0800 |
---|---|---|
committer | Lin Ming <ming.m.lin@intel.com> | 2011-11-16 10:15:28 +0800 |
commit | 653c82dea006e243f792bf721dc376c32bed4c9e (patch) | |
tree | ae1b84c88a331c3c4b17eb1edf8cc5dc69167c90 /source/components/resources | |
parent | 551dae6c43c316399c26228fcd2f38c97470d5f9 (diff) |
ACPI 5.0: Changes for Connection() object.
Add length field to the struct passed to handlers.
Diffstat (limited to 'source/components/resources')
-rw-r--r-- | source/components/resources/rscalc.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/components/resources/rscalc.c b/source/components/resources/rscalc.c index 6438c7175..7b7e33946 100644 --- a/source/components/resources/rscalc.c +++ b/source/components/resources/rscalc.c @@ -493,7 +493,7 @@ AcpiRsGetListLength ( ACPI_FUNCTION_TRACE (RsGetListLength); - *SizeNeeded = 0; + *SizeNeeded = ACPI_RS_SIZE_MIN; /* Minimum size is one EndTag */ EndAml = AmlBuffer + AmlBufferLength; /* Walk the list of AML resource descriptors */ @@ -559,10 +559,8 @@ AcpiRsGetListLength ( case ACPI_RESOURCE_NAME_END_TAG: /* - * End Tag: - * This is the normal exit, add size of EndTag + * End Tag: This is the normal exit */ - *SizeNeeded += ACPI_RS_SIZE_MIN; return_ACPI_STATUS (AE_OK); |