Commit Graph

11293 Commits

Author SHA1 Message Date
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.
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
Robert Moore
a0284aaffa Add new ACPI table load/unload external interfaces.
Add AcpiLoadTable and AcpiUnloadParentTable to support host-directed
dynamic table load/unload. Intended to support hotplug addition
and removal of SSDTs.
2012-06-29 13:07:33 -07:00
Robert Moore
83136604a9 Update makefiles/projectfiles for new file, tbxfload.c
updates all makefiles and MS project files.
2012-06-29 10:55:25 -07:00
Robert Moore
0a2f2503d0 Split file: tbxface.c -> tbxfload.c
Split out the table load functions in preparation for addition
of new interfaces.
2012-06-29 10:54:02 -07:00
Robert Moore
b7280fe5da Add PCC address space to space ID decode function.
ACPI 5.0 added PCC space ID.
2012-06-29 10:46:21 -07:00
Robert Moore
09da667565 Fix some comment fields. No functional change.
Fixes some typos and linux divergences.
2012-06-28 09:15:20 -07:00
Robert Moore
7e563e8c0e AcpiSrc: Add ACPI_ADDRESS_RANGE to types table.
This symbol was missing.
2012-06-28 09:14:16 -07:00
Robert Moore
57d81a1b09 Table manager: deploy new firmware error/warning interfaces.
Emit firmware error/warning messages where appropriate for table
and FADT errors.
2012-06-27 13:24:33 -07:00
Robert Moore
2b8106e4c2 Add new interfaces for BIOS(firmware) errors and warnings.
These new interfaces will be deployed across ACPICA in order to
point a finger directly at any detected BIOS issues -- such as
issues with ACPI tables, etc. ACPICA BZ 843.
2012-06-27 12:22:56 -07:00
Robert Moore
2d8e07c517 Implicit notify: ensure no memory allocation within critical region.
This fix moves a memory allocation outside of the time that a
spinlock is held. Fixes issues on systems that do not allow
this behavior. Jung-uk Kim.
2012-06-27 12:01:05 -07:00
Robert Moore
c725de3b1c AcpiHelp: Add new file (utexcep.c) to makefils and project files.
Adds support for the -e option to decode ACPICA exceptions.
2012-06-26 09:14:25 -07:00
Robert Moore
e5fc16a6e2 AcpiHelp: Add support to decode ACPICA exception codes.
Adds -e option to decode hex status codes to name strings.
2012-06-22 15:00:55 -07:00
Robert Moore
750bb22a43 Remove exception table externals, no longer needed.
Creation of utexcep.c rendered these externals obsolete.
2012-06-22 14:42:54 -07:00
Robert Moore
1a129b20f1 Update Windows project files for new file, utexcep.c
msvc9 project files.
2012-06-21 13:20:52 -07:00
Robert Moore
69823cf044 Update makefiles for new file, utexcep.c
Update the linux and unix makefiles.
2012-06-21 13:20:24 -07:00
Robert Moore
8072f9750c Split exception code utilities to a new file, utexcep.c
Simplifies sharing of these functions.
2012-06-21 13:19:12 -07:00
Robert Moore
8ad21472b2 iASL: Parser fix for hosts where EOF is defined as -1.
Change the type of the character returned from input() from a UINT8
to an int. Jung-uk Kim.
2012-06-21 12:39:15 -07:00
Robert Moore
5ae005099a Update to version 20120620.
Version 20120620.
2012-06-20 08:55:34 -07:00
Robert Moore
751ad6b789 Logfile: Changes for version 20120620.
Version 20120620.
2012-06-20 08:55:09 -07:00
Robert Moore
c4d637800d Windows binaries: Update to version 20120620.
Version 20120620.
2012-06-20 08:54:29 -07:00
Robert Moore
53b195d51c Documentation: Update ACPICA reference for implicit notify changes.
Adds support for implicit notify on multiple device objects.
2012-06-20 08:53:34 -07:00
Robert Moore
90aee03666 Documentation: Update iASL references for help screen changes.
Also added a couple missing options.
2012-06-20 08:52:46 -07:00
Robert Moore
76dfbe9a42 Miscellaneous support for multiple device implicit notify.
Adds support in the various tools and utilities: Debugger,
AcpiSrc, and AcpiExec.
2012-06-19 13:14:57 -07:00
Robert Moore
9924396a05 Add support for multiple implicit notify devices.
Adds basic support to allow multiple devices to be implicitly
notified. Bob Moore, Rafael Wysocki.
2012-06-19 13:13:09 -07:00
Robert Moore
0bd5c0817e AcpiSrc: Fix some translation issues for Linux conversion.
Fixes issues like this:

i_aSL -> iASL
00-7_f -> 00-7F
local_fADT -> local_FADT
execute_oSI -> execute_OSI

Also, in function headers, the parameters are now translated to
lower case (with underscores if necessary.)
2012-06-15 12:47:35 -07:00
Robert Moore
a231a84063 Update comments to simplify source translation, no functional changes.
Change some comments that cause problems for the AcpiSrc conversion
utility.
2012-06-15 12:46:02 -07:00