* [Devel] ACPICA version 20100702 released
@ 2010-07-02 16:48 Moore, Robert
0 siblings, 0 replies; 5+ messages in thread
From: Moore, Robert @ 2010-07-02 16:48 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 3705 bytes --]
02 July 2010. Summary of changes for version 20100702:
This release is available at www.acpica.org/downloads
1) ACPI CA Core Subsystem:
Implemented several updates to the recently added GPE reference count support. The model for "wake" GPEs is changing to give the host OS complete control of these GPEs. Eventually, the ACPICA core will not execute any _PRW methods, since the host already must execute them. Also, additional changes were made to help ensure that the reference counts are kept in proper synchronization with reality. Rafael J. Wysocki.
1) Ensure that GPEs are not enabled twice during initialization.
2) Ensure that GPE enable masks stay in sync with the reference count.
3) Do not inadvertently enable GPEs when writing GPE registers.
4) Remove the internal wake reference counter and add new AcpiGpeWakeup interface. This interface will set or clear individual GPEs for wakeup.
5) Remove GpeType argument from AcpiEnable and AcpiDisable. These interfaces are now used for "runtime" GPEs only.
Changed the behavior of the GPE install/remove handler interfaces. The GPE is no longer disabled during this process, as it was found to cause problems on some machines. Rafael J. Wysocki.
Reverted a change introduced in version 20100528 to enable Embedded Controller multi-byte transfers. This change was found to cause problems with Index Fields and possibly Bank Fields. It will be reintroduced when these problems have been resolved.
Fixed a problem with references to Alias objects within Package Objects. A reference to an Alias within the definition of a Package was not always resolved properly. Aliases to objects like Processors, Thermal zones, etc. were resolved to the actual object instead of a reference to the object as it should be. Package objects are only allowed to contain integer, string, buffer, package, and reference objects. Redhat bugzilla 608648.
Example Code and Data Size: These are the sizes for the OS-independent acpica.lib produced by the Microsoft Visual C++ 6.0 32-bit compiler. The debug version of the code includes the debug output trace mechanism and has a much larger code and data size.
Previous Release:
Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
Debug Version: 164.1K Code, 51.5K Data, 215.6K Total
Current Release:
Non-Debug Version: 88.3K Code, 18.8K Data, 107.1K Total
Debug Version: 164.0K Code, 51.5K Data, 215.5K Total
2) iASL Compiler/Disassembler and Tools:
iASL: Implemented a new compiler subsystem to allow definition and compilation of the non-AML ACPI tables such as FADT, MADT, SRAT, etc. These are called "ACPI Data Tables", and the new compiler is the "Data Table Compiler". This compiler is intended to simplify the existing error-prone process of creating these tables for the BIOS, as well as allowing the disassembly, modification, recompilation, and override of existing ACPI data tables. See the iASL User Guide for detailed information.
iASL: Implemented a new Template Generator option in support of the new Data Table Compiler. This option will create examples of all known ACPI tables that can be used as the basis for table development. See the iASL documentation and the -T option.
Disassembler and headers: Added support for the WDDT ACPI table (Watchdog Descriptor Table).
Updated the Linux makefiles for iASL and AcpiExec to place the generated object files in the local directory so that there can be no collisions between the shared files between them that are generated with different options.
Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. Use the #define __APPLE__ to enable this support.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Devel] ACPICA version 20100702 released
@ 2010-07-02 18:36 Stefan Reinauer
0 siblings, 0 replies; 5+ messages in thread
From: Stefan Reinauer @ 2010-07-02 18:36 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 401 bytes --]
On 7/2/10 6:48 PM, Moore, Robert wrote:
> Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. Use the #define __APPLE__ to enable this support.
Are there specific build instructions for this? I get the following
error message on my MacBook Pro:
make: *** No rule to make target `../components/debugger/dbfileio.c',
needed by `dbfileio.o'. Stop.
Best regards,
Stefan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Devel] ACPICA version 20100702 released
@ 2010-07-05 11:28 Thomas Renninger
0 siblings, 0 replies; 5+ messages in thread
From: Thomas Renninger @ 2010-07-05 11:28 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 1057 bytes --]
Hi,
On Friday 02 July 2010 20:36:29 Stefan Reinauer wrote:
> On 7/2/10 6:48 PM, Moore, Robert wrote:
> > Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. Use the #define __APPLE__ to enable this support.
> Are there specific build instructions for this? I get the following
> error message on my MacBook Pro:
These seem to be general build errors introduced in the latest release.
> make: *** No rule to make target `../components/debugger/dbfileio.c',
> needed by `dbfileio.o'. Stop.
Find attached a patch which fixes things for me.
These lines:
+override ...
are not needed and I used them also in previous releases.
Would be nice if this can get fixed again for the next release...
This change:
- $(CC) $(LDFLAGS) $(OBJS) -o $(PROG)
+ $(CC) $(OBJS) $(LDFLAGS) -o $(PROG)
is needed in our environment because we make use of a specific
linker flag (as-needed), thus the order of shared libraries added matters.
Would be nice if this could also be added mainline.
Thanks,
Thomas
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: acpica-override-CFLAGS.diff --]
[-- Type: text/x-patch, Size: 3382 bytes --]
Make it possible to extend CFLAGS when invoking make
From: Thomas Renninger <trenn@suse.de>
---
compiler/Makefile | 7 ++++---
tools/acpiexec/Makefile | 6 +++---
tools/acpisrc/Makefile | 4 ++--
tools/acpixtract/Makefile | 2 +-
4 files changed, 10 insertions(+), 9 deletions(-)
Index: acpica-unix-20100702/compiler/Makefile
===================================================================
--- acpica-unix-20100702.orig/compiler/Makefile
+++ acpica-unix-20100702/compiler/Makefile
@@ -7,12 +7,13 @@ PROG= iasl
ACPICA_SRC = ..
ASL_COMPILER = $(ACPICA_SRC)/compiler
ACPICA_COMMON = $(ACPICA_SRC)/common
-ACPICA_CORE = $(ACPICA_SRC)/components
+#ACPICA_CORE = $(ACPICA_SRC)/components
+ACPICA_CORE = $(ACPICA_SRC)
ACPICA_TOOLS = $(ACPICA_SRC)/tools
ACPICA_OSL = $(ACPICA_SRC)/os_specific/service_layers
NOMAN= YES
-CFLAGS+= -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../include -I../compiler
+override CFLAGS+= -Wall -O2 -Wstrict-prototypes -D_LINUX -DACPI_ASL_COMPILER -I../include -I../compiler
#
# Bison/Flex configuration
@@ -166,7 +167,7 @@ MISC = \
# Root rule
#
$(PROG) : $(INTERMEDIATES) $(OBJS)
- $(CC) $(LDFLAGS) $(OBJS) -o $(PROG)
+ $(CC) $(OBJS) $(LDFLAGS) -o $(PROG)
$(COPYPROG)
Index: acpica-unix-20100702/tools/acpiexec/Makefile
===================================================================
--- acpica-unix-20100702.orig/tools/acpiexec/Makefile
+++ acpica-unix-20100702/tools/acpiexec/Makefile
@@ -4,14 +4,14 @@
PROG = acpiexec
-ACPICA_SRC = ../../../source
+ACPICA_SRC = ../..
ACPICA_COMMON = $(ACPICA_SRC)/common
-ACPICA_CORE = $(ACPICA_SRC)/components
+ACPICA_CORE = $(ACPICA_SRC)
ACPICA_TOOLS = $(ACPICA_SRC)/tools
ACPICA_OSL = $(ACPICA_SRC)/os_specific/service_layers
NOMAN= YES
-CFLAGS+= -Wall -g -D_LINUX -DNDEBUG -D_CONSOLE -DACPI_EXEC_APP -D_MULTI_THREADED -Wstrict-prototypes -I$(ACPICA_SRC)/include
+override CFLAGS+= -Wall -g -D_LINUX -DNDEBUG -D_CONSOLE -DACPI_EXEC_APP -D_MULTI_THREADED -Wstrict-prototypes -I$(ACPICA_SRC)/include
COMPILE = $(CC) -c $(CFLAGS) -o$@ $?
LDFLAGS += -lpthread -lrt
Index: acpica-unix-20100702/tools/acpixtract/Makefile
===================================================================
--- acpica-unix-20100702.orig/tools/acpixtract/Makefile
+++ acpica-unix-20100702/tools/acpixtract/Makefile
@@ -3,7 +3,7 @@
PROG= acpixtract
SRCS= acpixtract.c
-CFLAGS+= -Wall -O2 -D_LINUX -DACPI_APPLICATION -Wstrict-prototypes -I../../include
+override CFLAGS+= -D_LINUX -DACPI_APPLICATION -Wstrict-prototypes -I../../include
acpixtract : $(patsubst %.c,%.o, $(SRCS))
Index: acpica-unix-20100702/tools/acpisrc/Makefile
===================================================================
--- acpica-unix-20100702.orig/tools/acpisrc/Makefile
+++ acpica-unix-20100702/tools/acpisrc/Makefile
@@ -4,11 +4,11 @@ PROG= acpisrc
SRCS= ascase.c asconvrt.c asfile.c asmain.c asremove.c astable.c \
asutils.c osunixdir.c ../../common/getopt.c
-CFLAGS+= -Wall -O2 -D_LINUX -DACPI_APPLICATION -Wstrict-prototypes -I../../include
+override CFLAGS+= -D_LINUX -DACPI_APPLICATION -Wstrict-prototypes -I../../include
aslmain : $(patsubst %.c,%.o, $(SRCS))
- $(CC) $(LDFLAGS) $(patsubst %.c,%.o, $(SRCS)) -o $(PROG)
+ $(CC) $(LDFLAGS) $(CFLAGS) $(patsubst %.c,%.o, $(SRCS)) -o $(PROG)
CLEANFILES= $(PROG)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Devel] ACPICA version 20100702 released
@ 2010-07-06 6:44 Lin Ming
0 siblings, 0 replies; 5+ messages in thread
From: Lin Ming @ 2010-07-06 6:44 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 1570 bytes --]
Would you please try below patch?
diff --git a/compiler/Makefile b/compiler/Makefile
index 962ab67..c8c477b 100644
--- a/compiler/Makefile
+++ b/compiler/Makefile
@@ -7,7 +7,7 @@ PROG= iasl
ACPICA_SRC = ..
ASL_COMPILER = $(ACPICA_SRC)/compiler
ACPICA_COMMON = $(ACPICA_SRC)/common
-ACPICA_CORE = $(ACPICA_SRC)/components
+ACPICA_CORE = $(ACPICA_SRC)
ACPICA_TOOLS = $(ACPICA_SRC)/tools
ACPICA_OSL = $(ACPICA_SRC)/os_specific/service_layers
diff --git a/tools/acpiexec/Makefile b/tools/acpiexec/Makefile
index b9e892a..31f2338 100644
--- a/tools/acpiexec/Makefile
+++ b/tools/acpiexec/Makefile
@@ -4,9 +4,9 @@
PROG = acpiexec
-ACPICA_SRC = ../../../source
+ACPICA_SRC = ../..
ACPICA_COMMON = $(ACPICA_SRC)/common
-ACPICA_CORE = $(ACPICA_SRC)/components
+ACPICA_CORE = $(ACPICA_SRC)
ACPICA_TOOLS = $(ACPICA_SRC)/tools
ACPICA_OSL = $(ACPICA_SRC)/os_specific/service_layers
On Sat, 2010-07-03 at 02:36 +0800, Stefan Reinauer wrote:
> On 7/2/10 6:48 PM, Moore, Robert wrote:
> > Added support for Mac OS X in the Unix OSL used for iASL and AcpiExec. Use the #define __APPLE__ to enable this support.
> Are there specific build instructions for this? I get the following
> error message on my MacBook Pro:
>
> make: *** No rule to make target `../components/debugger/dbfileio.c',
> needed by `dbfileio.o'. Stop.
>
>
> Best regards,
> Stefan
> _______________________________________________
> Devel mailing list
> Devel(a)acpica.org
> http://lists.acpica.org/listinfo/devel
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [Devel] ACPICA version 20100702 released
@ 2010-07-07 8:55 Stefan Reinauer
0 siblings, 0 replies; 5+ messages in thread
From: Stefan Reinauer @ 2010-07-07 8:55 UTC (permalink / raw)
To: devel
[-- Attachment #1: Type: text/plain, Size: 1076 bytes --]
On 7/6/10 8:44 AM, Lin Ming wrote:
> Would you please try below patch?
>
Great! This works!
Stefan
> diff --git a/compiler/Makefile b/compiler/Makefile
> index 962ab67..c8c477b 100644
> --- a/compiler/Makefile
> +++ b/compiler/Makefile
> @@ -7,7 +7,7 @@ PROG= iasl
> ACPICA_SRC = ..
> ASL_COMPILER = $(ACPICA_SRC)/compiler
> ACPICA_COMMON = $(ACPICA_SRC)/common
> -ACPICA_CORE = $(ACPICA_SRC)/components
> +ACPICA_CORE = $(ACPICA_SRC)
> ACPICA_TOOLS = $(ACPICA_SRC)/tools
> ACPICA_OSL = $(ACPICA_SRC)/os_specific/service_layers
>
> diff --git a/tools/acpiexec/Makefile b/tools/acpiexec/Makefile
> index b9e892a..31f2338 100644
> --- a/tools/acpiexec/Makefile
> +++ b/tools/acpiexec/Makefile
> @@ -4,9 +4,9 @@
>
> PROG = acpiexec
>
> -ACPICA_SRC = ../../../source
> +ACPICA_SRC = ../..
> ACPICA_COMMON = $(ACPICA_SRC)/common
> -ACPICA_CORE = $(ACPICA_SRC)/components
> +ACPICA_CORE = $(ACPICA_SRC)
> ACPICA_TOOLS = $(ACPICA_SRC)/tools
> ACPICA_OSL = $(ACPICA_SRC)/os_specific/service_layers
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-07-07 8:55 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-02 18:36 [Devel] ACPICA version 20100702 released Stefan Reinauer
-- strict thread matches above, loose matches on Subject: below --
2010-07-07 8:55 Stefan Reinauer
2010-07-06 6:44 Lin Ming
2010-07-05 11:28 Thomas Renninger
2010-07-02 16:48 Moore, Robert
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.