10904 Commits

Author SHA1 Message Date
Robert Moore
c6e4bc259f AcpiSrc: Fix possible divide-by-zero fault.
Occurred if no files or no lines were processed.
2011-08-19 12:32:12 -07:00
Robert Moore
b2b7ab725c iASL: Add error message for root parse node failure.
Error message if the parse tree root node does not get
found/created.
2011-08-19 08:01:42 -07:00
Robert Moore
45ebe2cf90 Disassembler: Fix problem with UINT24 and UINT56 output.
Bytes were reversed for these types. Fortunately, these are mostly
used for reserved fields. UINT24 is used for actual data in one
field of the SRAT (ProximityDomainHi).
2011-08-04 13:17:19 -07:00
Robert Moore
96376edca3 AcpiHelp: Add AccessAs and Offset operators.
These operators were missing from the ACPI specification and thus
did not get pulled into this utility. ACPI 5.0 spec adds them,
and they are added to AcpiHelp.
2011-07-29 14:01:49 -07:00
Robert Moore
a31ff979a1 AcpiXtract: Port to standard ACPICA environment (adds 64-bit support also.)
Also split out the main() routine to a new file.
2011-06-24 10:36:40 -07:00
Robert Moore
373b57f06d Tools: Standardize usage help messages.
Add new common macros for usage messages.
2011-06-24 08:20:20 -07:00
Robert Moore
dedc9e10e2 Update to version 20110623.
Version 20110623.
2011-06-23 09:18:06 -07:00
Robert Moore
ae38e7b5a7 Logfile: Changes for version 20110623.
Version 20110623.
2011-06-23 09:17:29 -07:00
Robert Moore
61daee6dfd Windows binaries: Update for version 20110623.
Version 20110623.
2011-06-23 09:13:44 -07:00
Robert Moore
462c5c7edc Update .gitignore
for .sh files.
2011-06-23 08:52:33 -07:00
Robert Moore
c1a4e553db AcpiHelp: Add support to display non-operator ASL keywords.
Adds -k option to display ASL keywords (Space IDs, etc.)
2011-06-23 08:43:57 -07:00
Robert Moore
1d6a2cb464 Linux makefiles: add helper scripts to run linux makefiles from git tree.
The final linux tree is slightly different, these scripts allow testing
of the makefiles.
2011-06-22 14:02:00 -07:00
Robert Moore
96e28acc9e AcpiHelp: Add -a (display all) option. Split long lines on output.
-a displays all operators/opcodes of the type selected.
Added function to split all long lines on output.
2011-06-22 13:53:25 -07:00
Robert Moore
8aa1e098b2 AcpiHelp: Major feature update (AML opcodes, predefined names).
Add additional capabilities.
Now finds AML opcode information (by name or by hex opcode),
and finds information about ACPI predefined names.
2011-06-17 12:47:34 -07:00
Robert Moore
08a6614c84 AcpiHelp: Fix a printf formatting warning under Linux. 2011-06-10 10:39:58 -07:00
Robert Moore
4bcdec146b All makefiles: Remove optimize flags and unneeded defines.
Optimizations like -O2 are seen to cause issues with some compilers.
Remove unneeded defines like DEBUG, _CONSOLE, etc.
Add _GNU_SOURCE to the Linux makefiles.
2011-06-10 10:36:49 -07:00
Robert Moore
6f0bc401ca All makefiles: Cleanup use of command-line #defines.
Common defines now all appear in acenv.h. Simplifies all makefiles.
2011-06-08 15:00:21 -07:00
Robert Moore
fd3949f488 Unix/Linux makefiles: cleanup multithread support.
The only acpica tool that requires multithread support is
acpiexec. Along with previous changes to the actual source code,
this change removes unnecessary use of threading libraries.
2011-06-08 10:11:12 -07:00
Robert Moore
8323ad5fb8 Windows tool generation: Disable all MS extensions for portability.
It takes some effort to disable the MS language extensions because
of bugs in the MS headers, and the MS remapping of the low I/O
functions (open, read, write, etc.)
2011-06-08 09:44:59 -07:00
Robert Moore
b12fcf75c0 Service Layers: Make multi-thread support configurable.
Conditionally compile the multi-thread support so that threading
libraries will not be linked if not necessary. The only tool
that requires multi-thread support is AcpiExec.
2011-06-08 09:42:47 -07:00
Robert Moore
404bf0d166 Tools: Update AcpiBin for MS generation with disabled extensions.
Disable language extensions where possible for maximum portability.
Unfortunately, when MS system includes are used, this option
cannot be used (oswinxf.c)
2011-06-08 08:42:22 -07:00
Robert Moore
f85f7a045f Update .gitignore file.
New files and directories.
2011-06-07 12:46:00 -07:00
Robert Moore
58e3202a47 Update acpica release build file.
Update for makefile changes.
2011-06-07 12:44:24 -07:00
Robert Moore
a94cd4cb17 Update linux/unix makefile readme files.
Update for new utilities and new information.
2011-06-07 12:43:15 -07:00
Robert Moore
e759b02a86 Tools: Fix for systems where O_BINARY is not defined.
Only used for Windows versions of the tools.
2011-06-07 10:35:47 -07:00
Robert Moore
c30da62310 Linux makefiles: rework and reformat the tool generation makefiles.
Add the same warning flags as the unix makefiles (except for
gcc4-specific warnings.) reformat the files.
2011-06-03 14:19:27 -07:00
Robert Moore
86a0ff54c7 Linux-specific header: update handling of THREAD_ID and pthread.
For the 32-bit case, improve casting to eliminate possible
warnings, especially with the acpica tools.
2011-06-03 14:17:57 -07:00
Robert Moore
4ffab75309 Generic unix makefiles: general cleanup.
Cleanup and reformatting.
2011-06-03 14:17:09 -07:00
Robert Moore
5adfba9805 AcpiBin: Update for correct unix/linux generation.
Fix warnings under GCC 4. Add generic unix makefile.
2011-06-03 14:15:22 -07:00
Robert Moore
9f66564370 Generic Unix makefiles: Update makefile headers.
Update purpose of the makefile and add a warning that these makefiles
are only suitable for generation within the native ACPICA directory
structure (which is different than Linux, for example.)
2011-06-01 14:51:07 -07:00
Robert Moore
3697135d47 Linux makefiles: Update makefile headers.
Update purpose of the makefile and add a warning that the makefiles
are only suitable for use on Linux, with the Linux directory
structure (different than the native ACPICA directory structure.)
2011-06-01 14:29:54 -07:00
Robert Moore
c5fa8c024c iASL: Update yyerrror/AslCompilerError for "const" errors.
Newer versions of Bison appear to want the interface to yyerror
to be a const char *. ACPICA BZ 923 Pierre Lejeune.
2011-06-01 14:00:02 -07:00
Robert Moore
1adcf06bb3 iASL: Linux makefile: Add -Wstrict-aliasing=0 flag for GCC-4.
GCC-4 is much stricter about aliasing, disable it.
2011-06-01 13:58:33 -07:00
Robert Moore
32d7da58c6 Update .gitignore file.
New files/directories.
2011-06-01 12:57:16 -07:00
Robert Moore
29f3832223 New: AcpiHelp utility.
Provides syntax for ASL operators, and input/output requirements
for predefined ACPI names (Names that start with underscore.)
2011-06-01 12:55:50 -07:00
Robert Moore
86909eaa08 Additional updates for Windows VC9 project files.
Mostly standardize the options across the projects.
2011-06-01 10:45:00 -07:00
Robert Moore
ed36d8b39c Tests: Fix possible buffer overrun in API test.
acpi_pci_link_set.
2011-06-01 10:34:41 -07:00
Robert Moore
7c654ded14 Update Windows VC9 project files.
Cleanup output filenames, add linker program optimization feature.
2011-05-27 14:17:56 -07:00
Robert Moore
38c7978a26 Do not repair _TSS return package if _PSS is present.
We can only sort the _TSS return package if there is no _PSS in the
same scope. This is because if _PSS is present, the ACPI specification
dictates that the _TSS Power Dissipation field is to be ignored, and
therefore some BIOSs leave garbage values in the _TSS Power field(s).
In this case, it is best to just return the _TSS package as-is.
2011-05-27 14:09:46 -07:00
Robert Moore
a4b5938821 Add option to disable method return value validation and repair.
Runtime option can be used to disable return value repair if this
is causing a problem on a particular machine. Also added an option
to AcpiExec (-dr) to set this disable flag.
2011-05-27 12:19:24 -07:00
Robert Moore
b6aa2c7f27 Update to version 20110527.
Version 20110527.
2011-05-27 08:20:45 -07:00
Robert Moore
55bb6d65f5 Logfile: Changes for version 20110527.
Version 20110527
2011-05-27 08:20:14 -07:00
Robert Moore
a6ce5e7035 Windows binaries: Update for version 20110527.
Version 20110527.
2011-05-27 08:19:34 -07:00
Robert Moore
a425397800 Debugger: Update Threads command for new internal object conversion.
New conversion mechanism now supports strings/buffers/packages
in addition to integers. Port Threads command to new mechanism.
2011-05-26 12:54:49 -07:00
Robert Moore
dc30ba95f5 Update generic unix makefile for gcc 4.
Default gcc version is now expected to be 4 or greater.
2011-05-25 08:09:55 -07:00
Robert Moore
325daa1741 Documentation: Update acpica reference for AcpiExec changes.
Adds command line support for complex method arguments
(strings, buffers, packages.)
2011-05-24 14:44:47 -07:00
Robert Moore
179c2fbf0c Add missing _TDL to list of predefined names.
Affects both iASL and core ACPICA.
2011-05-19 12:00:08 -07:00
Robert Moore
3b47687988 Tests: Update API test for changes to AcpiOsGetLine.
Update for changes to this AcpiOs interface.
2011-05-18 09:00:56 -07:00
Robert Moore
250b94d599 Load operator: re-instate most restrictions on incoming table signature.
Now, only allow "SSDT" "OEM", and a null signature.

History:

1) Originally, we checked the table signature for "SSDT" or "PSDT".
2) We added support for OEMx tables, signature "OEM".
3) Valid tables were encountered with a null signature, so we just
   gave up on validating the signature, (05/2008).
4) We encountered non-AML tables such as the MADT, which caused
   interpreter errors and kernel faults. So now, we once again allow
   only "SSDT", "OEMx", and now, also a null signature. (05/2011).
2011-05-17 14:12:47 -07:00
Robert Moore
564f68cff3 AcpiExec: update for debugger changes for complex arguments
Interface change for DbExecute.
2011-05-17 14:10:45 -07:00