Latest acpica

Thomas Renninger
2005-09-08T10:15:51Z

[-- Attachment #1: Type: text/plain, Size: 717 bytes --]

acpica-unix-20050902.tar.gz
is now available under:
http://developer.intel.com/technology/iapc/acpi/downloads.htm
Thanks.

There is one concern:
This has been discussed some weeks ago.
The compiler throws dozens of errors on some DSDTs:

DSDT.dsl 777: , AddressRangeMemory, TypeStatic)
Error 1084 - Missing ResourceSource string (required) ^

I cannot find the mail now, but IIRC Len said this was added to identify
how many DSDTs violate specs (is it optional or not?) and should be removed
again later.

The patch attached lowers the error to a warning, so that you get a compiled
DSDT as output.
Not sure, maybe the error/warning case should be reverted totally?

Thomas

[-- Attachment #2: resource_string_warning.diff --]
[-- Type: text/x-patch, Size: 3108 bytes --]

--- compiler/aslrestype2.c.orig 2005-09-08 12:05:25.000000000 +0200
+++ compiler/aslrestype2.c 2005-09-08 12:08:10.000000000 +0200
@@ -331,7 +331,7 @@
*/
else if (ResSourceIndex)
{
- AslError (ASL_ERROR, ASL_MSG_RESOURCE_SOURCE,
+ AslError (ASL_WARNING, ASL_MSG_RESOURCE_SOURCE,
InitializerOp, NULL);
}
break;
@@ -545,7 +545,7 @@
*/
else if (ResSourceIndex)
{
- AslError (ASL_ERROR, ASL_MSG_RESOURCE_SOURCE,
+ AslError (ASL_WARNING, ASL_MSG_RESOURCE_SOURCE,
InitializerOp, NULL);
}
break;
@@ -757,7 +757,7 @@
*/
else if (ResSourceIndex)
{
- AslError (ASL_ERROR, ASL_MSG_RESOURCE_SOURCE,
+ AslError (ASL_WARNING, ASL_MSG_RESOURCE_SOURCE,
InitializerOp, NULL);
}
break;
@@ -1430,7 +1430,7 @@
*/
else if (ResSourceIndex)
{
- AslError (ASL_ERROR, ASL_MSG_RESOURCE_SOURCE,
+ AslError (ASL_WARNING, ASL_MSG_RESOURCE_SOURCE,
InitializerOp, NULL);
}
break;
@@ -1639,7 +1639,7 @@
*/
else if (ResSourceIndex)
{
- AslError (ASL_ERROR, ASL_MSG_RESOURCE_SOURCE,
+ AslError (ASL_WARNING, ASL_MSG_RESOURCE_SOURCE,
InitializerOp, NULL);
}
break;
@@ -1846,7 +1846,7 @@
*/
else if (ResSourceIndex)
{
- AslError (ASL_ERROR, ASL_MSG_RESOURCE_SOURCE,
+ AslError (ASL_WARNING, ASL_MSG_RESOURCE_SOURCE,
InitializerOp, NULL);
}
break;
@@ -2034,7 +2034,7 @@
*/
else if (ResSourceIndex)
{
- AslError (ASL_ERROR, ASL_MSG_RESOURCE_SOURCE,
+ AslError (ASL_WARNING, ASL_MSG_RESOURCE_SOURCE,
InitializerOp, NULL);
}
break;
@@ -2234,7 +2234,7 @@
*/
else if (ResSourceIndex)
{
- AslError (ASL_ERROR, ASL_MSG_RESOURCE_SOURCE,
+ AslError (ASL_WARNING, ASL_MSG_RESOURCE_SOURCE,
InitializerOp, NULL);
}
break;
@@ -2431,7 +2431,7 @@
*/
else if (ResSourceIndex)
{
- AslError (ASL_ERROR, ASL_MSG_RESOURCE_SOURCE,
+ AslError (ASL_WARNING, ASL_MSG_RESOURCE_SOURCE,
InitializerOp, NULL);
}
break;
@@ -2592,7 +2592,7 @@
*/
else if (HasResSourceIndex)
{
- AslError (ASL_ERROR, ASL_MSG_RESOURCE_SOURCE,
+ AslError (ASL_WARNING, ASL_MSG_RESOURCE_SOURCE,
InitializerOp, NULL);
}
break;