11368 Commits

Author SHA1 Message Date
Robert Moore
3f205c1618 Makefiles: Update linker invocation.
Move the linker flags to the end of the command line.
Otherwise, the link will fail on some platforms.
Guan Chao.
2012-08-09 12:32:04 -07:00
Robert Moore
9fcaec20d0 iASL: Update help info for supported ACPI tables.
This change updates the help info that displays data about the
supported ACPI tables (-ht option.) Also removes duplicate
FADT entry.
2012-08-09 12:22:11 -07:00
Robert Moore
2e6d4d640f GPE support: Remove extraneous parameter from low-level function.
The GpeRegisterInfo argument is no longer needed. Tang Feng.
2012-08-07 13:38:36 -07:00
Robert Moore
ffefc5e308 iASL: Fix constant folding for fixed-length constants.
This change fixes a problem where the constant folding code was not
invoked for arguments that compile to fixed-length constants (either
Byte, Word, DWord, or QWord.) ACPICA BZ 970.
2012-08-03 14:24:58 -07:00
Robert Moore
c5667d3f74 Debug output: Update output for Processor object.
Cleanup output for Processor(). Length is a byte, not a word.
2012-08-03 13:51:48 -07:00
Robert Moore
c569b83634 GPE Support: Update debug info for GPE tracing.
Add additional debug info to assist with GPE debugging.
2012-08-03 13:50:35 -07:00
Robert Moore
91fe6dcfb7 Add Windows8/Server2012 string for _OSI method.
This change adds a new _OSI string, "Windows 2012" for both Windows 8
and Windows Server 2012.

From Microsoft document "How to Identify the Windows Version in ACPI
by Using _OSI", July 13, 2012.
2012-08-01 13:26:38 -07:00
Robert Moore
6e0b539d0c Divergence script: Auto-select 32/64 versions of AcpiSrc utility.
Automatically determine the host bitwidth and generate the appropriate
version of the AcpiSrc conversion utility.
2012-07-31 10:07:21 -07:00
Robert Moore
c4343630fc Update .gitignore file.
Entire "libraries" directory is now ignored.
2012-07-19 14:24:02 -07:00
Robert Moore
37542475c8 Build script: Remove Linux makefiles from packages.
The generate/linux makefiles are obsolete and have been removed from
the unix tarball release packages. The replacement makefiles
are under generate/unix, and a top-level makefile under the main
acpica directory.
2012-07-19 14:21:27 -07:00
Robert Moore
5e3ebfccb5 iASL: Fix non-ANSI // comments in main parser file.
convert to /* */ comments.
2012-07-19 14:18:07 -07:00
Robert Moore
1b021cb489 Comment update: Fix some typos, no functional change.
actble.h
2012-07-19 14:16:56 -07:00
Robert Moore
3c32c90aa4 Windows project files: Update for new file, utxfinit.c
New file split out from utxface.c
2012-07-19 10:49:10 -07:00
Robert Moore
4abb1d5754 Makefiles: Update for new file, utxfinit.c
New file created as a result of split of utxface.c
2012-07-19 10:47:55 -07:00
Robert Moore
30fffec799 Split ACPICA initialization functions to new file, utxfinit.c
Split utxface.c to improve modularity and reduce file size.
2012-07-19 10:45:55 -07:00
Robert Moore
2e513638cb Remove Windows binaries from git repository.
Binaries are not needed in the repository.
2012-07-19 10:43:19 -07:00
Robert Moore
83212f2d48 Add struct header support for _FDE, _GRT, _GTM, and _SRT names.
Added structs for the buffers related to these predefined names,
in acbuffer.h
2012-07-19 09:35:03 -07:00
Robert Moore
1381535012 Disassembler: Add support to decode _PLD buffers.
Emit (in comments) the decoded contents of a static _PLD buffer
in order to improve comprehension of this bit-packed buffer.
2012-07-19 09:10:03 -07:00
Robert Moore
f098eafe86 Why ACPICA cannot use C bitfields: Update comments.
Update the comments that explain why ACPICA cannot use bitfields.

/*
 * Note: C bitfields are not used for this reason:
 *
 * "Bitfields are great and easy to read, but unfortunately the C language
 * does not specify the layout of bitfields in memory, which means they are
 * essentially useless for dealing with packed data in on-disk formats or
 * binary wire protocols." (Or ACPI tables and buffers.) "If you ask me,
 * this decision was a design error in C. Ritchie could have picked an order
 * and stuck with it." Norman Ramsey.
 * See http://stackoverflow.com/a/1053662/41661
 */
2012-07-18 13:20:36 -07:00
Robert Moore
d93c6ddb36 Update Windows project files.
New include file, acbuffer.h
2012-07-18 13:13:49 -07:00
Robert Moore
685d6112d1 Add support for complex _PLD buffers.
_PLD (Physical Location of Device) returns a bit-packed buffer that
is difficult to parse. This change adds a new interface,
AcpiDecodePldBuffer that parses the buffer into a more usable
local struct. Also adds macros to both get and set individual
fields within the packed _PLD buffer. Adds a new include file,
acbuffer.h - which will be expanded to add structs for other
ACPI names that return buffers. ACPICA BZ 954.
2012-07-18 13:09:53 -07:00
Robert Moore
5a77772e0d Update linux/ACPICA divergence script - add diffstat output.
Creates a diffstat.txt file
2012-07-17 15:08:17 -07:00
Robert Moore
daf734b834 Update error/warning messages for ACPI BIOS bugs.
Explicitly state that the problem is a "BIOS Bug".
2012-07-17 15:06:42 -07:00
Robert Moore
b9058029d3 Linux/ACPICA divergence script: Add error checking.
Add some checks for input, etc.
2012-07-13 14:29:48 -07:00
Robert Moore
04520d5f9f Unix makefiles: Add common Makefile.rules file.
Simplify makefiles by using a common rules file.
2012-07-13 14:27:28 -07:00
Robert Moore
ff06513880 Update Linux/ACPICA divergence script.
Ensure operation on multiple types of hosts.
2012-07-13 10:22:24 -07:00
Robert Moore
91948ecb22 Add script to generate Linux/ACPICA divergences.
Simplify tracking of differences between Linux ACPICA code, and
the native ACPICA code.
2012-07-12 14:36:20 -07:00
Robert Moore
b1b0c25399 Unix makefiles: Allow forced generation of 32-bit utilities.
Enable forced generation of 32-bit utilities on 64-bit platforms.
2012-07-12 14:34:44 -07:00
Robert Moore
961170c44b Remove use of scanf to read single characters.
Replace heavy scanf with simple getchar.
2012-07-12 14:12:35 -07:00
Robert Moore
2ce2407975 Enable Scope change to root during module-level code execution.
Allows constructs like this:
If (XXXX)
    Scope (\)
    ...
2012-07-12 13:58:26 -07:00
Robert Moore
e4e99ffc4c Update for unix/linux makefiles.
1) Add -D_FORTIFY_SOURCE=2 to compile flags for Linux generation
2) Use "install" to install the utilities.
2012-07-11 13:50:33 -07:00
Robert Moore
4ea4ad1173 Unix OSL: Use getchar instead of scanf.
scanf is overkill for getting a single character.
2012-07-11 13:49:30 -07:00
Robert Moore
1043bddc98 Add OS-specific headers for the Haiku OS.
Submitted by Frederik Holmqvist.
2012-07-11 10:04:58 -07:00
Robert Moore
aa0d176948 Update to version 20120711.
Version 20120711.
R07_11_12
2012-07-11 08:50:39 -07:00
Robert Moore
0f7a955119 Logfile: Changes for version 20120711.
Version 20120711.
2012-07-11 08:50:04 -07:00
Robert Moore
29406221ac Windows binaries: Update to version 20120711.
Version 20120711.
2012-07-11 08:49:25 -07:00
Robert Moore
b9c43e3c38 Documentation: Update ACPICA ref for new interfaces.
Adds new table/unload interfaces and new BIOS error and
warning interfaces.
2012-07-11 08:47:26 -07:00
Robert Moore
599af7de5c Instructions to generate ACPICA releases.
Build instructions for:
Windows release
Unix release
Update ACPICA website
2012-07-11 08:01:47 -07:00
Robert Moore
0e83e6736d Fix typo in comment - no functional change.
Fix for actbl1.h
2012-07-11 07:54:23 -07:00
Robert Moore
d9a0885339 Remove comments concerning bus master arbitration code removal.
The original code was essentially a bug, so there is no need
to leave comments concerning the removal of the code.
Management of bus arbitration (ARB_DIS) must be performed in the
host C3 code.
2012-07-10 13:45:32 -07:00
Robert Moore
1bd56dae3c AcpiExec: Add comment to indicate ASLTS dependency.
ASLTS suite depends on the contents of SSDT1. The AcpiExec
definition of this table must match the ASLTS definition of the
same table, for DataTableRegion tests.
2012-07-09 13:42:58 -07:00
Robert Moore
b3e9f9a93b Tests: Update aslts for AcpiExec SSDT1 table changes.
Some tests depend on the SSDT1 table that is defined and loaded
by AcpiExec code.
2012-07-09 13:41:48 -07:00
Robert Moore
fe1a5ac7d8 Remove code to disable bus master arbitration.
This change removes the code to disable/enable bus master
arbitration during suspend/resume. Use of the ARB_DIS
bit in the optional PM2_CNT register causes resume problems
on many machines.
2012-07-09 12:12:02 -07:00
Robert Moore
2e674261e8 AcpiExec: Add option to perform additional tests.
add -ei option to enable additional acpica interface tests.
2012-07-08 13:52:34 -07:00
Robert Moore
b1bf45d9f8 Fix possible fault in return package object repair code.
Fixes a problem that can occur when a lone package object is
wrapped with an outer package object in order to conform to
the ACPI specification. Can affect these predefined names:
_ALR,_MLS,_PSS,_TRT,_TSS,_PRT,_HPX,_DLM,_CSD,_PSD,_TSD
2012-07-03 14:51:26 -07:00
Robert Moore
6be40b75c6 iASL: Add -v option (display version information)
Displays the standard signon, with version number.
2012-07-03 14:40:01 -07:00
Robert Moore
c06bf212e2 Add top-level unix Makefile for acpica tools/utilities.
For convenience, adds a new makefile at the top level acpica
directory which in turn generates the tools via the makefiles
found under generate/unix.
2012-06-29 14:23:42 -07:00
Robert Moore
d7a58c82f9 Unix makefiles: Split top level make to Makefile.common file.
This will enable a new top level makefile at the acpica root.
2012-06-29 14:21:57 -07:00
Robert Moore
f327375776 AcpiExec: Add tests for AcpiLoadTable and AcpiUnloadParentTable.
Exercise these new external interfaces to ACPICA.
2012-06-29 13:19:06 -07:00
Robert Moore
c012c44989 Debugger: Enhance "Tables" and "Unload" commands.
Tables - emit additional information about the ACPI tables, including
the owner ID and flags decode.

Unload - reimplemented to use the new AcpiUnloadParentTable external
interface.
2012-06-29 13:10:58 -07:00