1) Add OPT_CFLAGS to allow the warning flags to by overriden by
the command line. Thomas Renninger (trenn@suse.de)
2) Eliminate extraneous spaces from the makefile execution output.
MTMR table is used in the recent ACPI BIOS enabled Intel MID platforms.
The format of this table has been defined in the "Simple Firmware
Interface Specification" except it uses GAS instead of 64-bit values for
address fields.
This patch introduces MTMR table support into ACPICA.
Lv Zheng.
VRTC is used in Intel MID platforms as a replacement of the traditional
x86 RTC. VRTC table can be found in the recent ACPI BIOS enabled Intel
MID platforms. The format of this table has been defined in the "Simple
Firmware Interface Specification" except it uses GAS instead of 64-bit
values for address fields.
This patch introduces VRTC table support into ACPICA.
Lv Zheng.
Add checks for zero-length resource descriptors in all code
that loops through a resource descriptor list. This prevents
possible infinite loops because the length is used to increment
the traveral pointer and detect the end-of-descriptor.
The second object for each sub-package of the _MLS method is
defined to be a unicode Buffer object. This fixes the predefined
table where this object was incorrectly defined as a String.
Some compilers/clibs modify the arg pointer parameter to vfprintf
making it difficult to call it twice in the AcpiOsVprintf function.
Use a local buffer to workaround this issue. Does not affect the
Windows OSL since the win c library does not modify the arg
pointer. Chao Guan, Bob Moore.
Linuxized patches lack patch headers, thus can not be
directly applied to the Linux source codes. This patch updates
the scripts to allow patch headers to be generated for the
linuxized patches. Lv Zheng.
These macros/functions automatically insert a newline, so the format
string should not contain a newline at the end. (This allows these
functions to add information to the end of the output line.)
Duplicates some of the code within AcpiOsVprintf for performance
reasons. Call vfprintf directly instead of simply calling
AcpiOsVprintf. Updates both the Unix and Windows OSL files.
Chao Guan.
Implemented for both the compiler and the disassembler.
Often, the NOOP opcode is used as padding for packages that are
changed dynamically by the BIOS. When disassembled, these NOOPs will
cause syntax errors. This option causes the disassembler to ignore
the NOOP opcode, and it also causes the compiler to ignore NOOP statements
as well.
If an output file other than the .AML file is specified (such as a
listing file), and the maximum number of errors is reached, do not
attempt to flush data to the output file(s) as the compiler is
aborting. This can cause an infinite loop as the max error count
code essentially keeps calling itself.
Detect and eliminate all completely blank lines. Prevents lots of
wasted whitespace in the listing file.
Also, cleaned up the line prefix (removed the .... prefix) to
improve readability.
For the typechecking of input arguments and return values, include the
name of the predefined object in the error message (when a type
mismatch is detected.)
Although the ACPI spec defines the \_Sx objects to return a package
containing one integer, most BIOS code returns two integers and the
previous code reflects that. However, we also need to support BIOS
code that actually implements to the ACPI spec, and this change
implements this.
1) Add the ACPI_DO_WHILE macro to the main DEBUG_PRINT helper macro.
2) Rename ACPI_DEBUG macro to ACPI_DO_DEBUG_PRINT since ACPI_DEBUG
is already commonly used by the various hosts.