390 Commits

Author SHA1 Message Date
Robert Moore
8d285e942c Remove some extra blank lines
Mostly in generate and tests.
2020-01-22 08:10:39 -08:00
Robert Moore
a57482fea5 MSVC project files - remove trailing spaces
Remove trailing spaces from each of the .dsp files
From: ehaouas@noos.fr
2019-11-07 12:55:19 -08:00
David E. Box
3c36625def disassembler: improve Switch support
Changes the resource descriptor parse tree walk to a general
preprocessing walk and calls the Switch conversion code from here.
Move Switch code to new dmswitch.c file. Also improves algorithm to
handle multiple levels of Switch statements and perform legacy
disassembly for older or otherwise non-spec compliant Switch
implementations.

Signed-off-by: David E. Box <david.e.box@linux.intel.com>
2017-03-09 14:07:52 -08:00
Lv Zheng
fa0680030a MSVC: Fix MSVC6 build issues
Build environment has changed because of new improvements:
1. New files are split
2. New inclusion order
This patch updates MSVC project files accordingly.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
2016-12-05 16:24:03 +08:00
Lv Zheng
e76eb8b36a Debugger: Convert some mechanisms to OSPM specific
The following mechanisms are OSPM specific:
1. Redirect output destination to console: no file redirection will be
   needed by an in-kernel debugger, there is even no file can be accessed
   when the debugger is running in the kernel mode.
2. Output command prompts: programs other than acpiexec can have different
   prompt characters and the prompt characters may be implemented as a
   special character sequence to form a char device IO protocol.
3. Command ready/complete handshake: OSPM debugger may wait more conditions
   to implement OSPM specific semantics (for example, FIFO full/empty
   conditions for O_NONBLOCK or IO open/close conditions).
Leaving such OSPM specific stuffs in the ACPICA debugger core blocks
Linux debugger IO driver implementation.

Several new OSL APIs are provided by this patch:
1. AcpiOsInitializeDebugger: initialize debugger.
2. AcpiOsTerminateDebugger: reversal of AcpiOsInitializeDebugger.
3. AcpiOsWaitCommandReady: putting debugger task into wait state when a
   command is not ready. OSPMs can terminate command loop by returning
   AE_CTRL_TERMINATE from this API. Normally, wait_event() or
   WaitForMultipleObject() may be used to implement this API.
4. AcpiOsNotifyCommandComplete: putting user task into running state when a
   command has been completed. OSPMs can terminate command loop by
   returning AE_CTRL_TERMINATE from this API. Normally, wake_up() or
   SetEvent() may be used to implement this API.
This patch also converts current command signaling implementation into a
generic debugger layer (osgendbg.c) to be used by the existing OSPMs or
acpiexec, in return, Linux can have chance to implement its own command
handshake mechanism. This patch also implements acpiexec batch mode in a
multi-threading mode comaptible style as a demo (this can be confirmed by
configuring acpiexec into DEBUGGER_MULTI_THREADED mode where the batch mode
is still working). Lv Zheng.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
2016-11-03 01:17:13 +08:00
Lv Zheng
ac7a6802b5 MSVC6: Update project files for EFI porting
Removing oslibcfs.c for EFI porting changes.
Also updating according to the recent changes. Lv Zheng.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
2016-07-22 23:48:22 +08:00
Lv Zheng
4c4f6b1a62 MSVC: Update MSVC project files
This patch updates MSVC project files due to recent changes. Lv Zheng.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
2015-12-04 11:14:03 +08:00
Lv Zheng
4ad67b2e2d MSVC: Change debugger objects according to recent update.
The dmobject.o is replaced by the dbobject.o. Lv Zheng.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
2015-08-03 12:45:58 +08:00
Lv Zheng
312a009eae MSVC: Update project files for recent changes.
This patch updates project files for recent changes around dsdebug.c and
ahtable.c. Lv Zheng.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
2015-07-07 16:30:36 +08:00
Robert Moore
e652bca130 Update file permissions - no functional change.
Cleanup file permissions.
2015-06-23 13:18:39 -07:00
Lv Zheng
d40c589c25 MSVC6: Update MSVC 6.0 project files
MSVC 6.0 project files are out of date. This patch updates these files to
enable MSVC 6.0 build environment. Lv Zheng.

Signed-off-by: Lv Zheng <lv.zheng@intel.com>
2015-03-13 12:00:20 +08:00
Robert Moore
064e90b753 Update examples/tests for new GPE changes.
Add new file to project files, update API tests for GPE
interface changes.
2010-12-08 10:21:23 -08:00
Robert Moore
818d9a5f31 New: AcpiNames - Example namespace dump utility.
Shows example of ACPICA configuration for a minimal namespace
dump utility. Uses table and namespace managers, but no AML
interpreter.

Does not add any functionality over AcpiExec. It is a subset
of AcpiExec. The purpose is to show how to partition and
configure ACPICA.
2010-12-01 14:33:02 -08:00
Robert Moore
168720677c Update Windows project files.
Add new GPE file, evxfgpe.c
2010-12-01 13:09:38 -08:00
Robert Moore
57e7b47059 Example code: Update windows project file/ACPI_SINGLE_THREADED
Add this new option.
2010-10-08 13:45:55 -07:00
Robert Moore
45fdbcf3b2 iASL: Update windows project file.
Added new header file.
2010-10-05 09:56:18 -07:00
Robert Moore
c6b43c4c8b AcpiBin: Update Windows project file.
ACPI_APPLICATION define no longer needed.
2010-10-01 12:18:56 -07:00
Robert Moore
28b20c5ca6 AcpiExec: Fix for 64-bit build (add XSDT support).
Now uses XSDT exclusively instead of RSDT.
Also, split AML data into new file, aetables.h
2010-09-30 09:59:55 -07:00
Robert Moore
ecc57b86d9 Replace _MULTI_THREADED with ACPI_SINGLE_THREADED and cleanup.
Cleanup the optional multi/single threaded code for semaphores.
2010-09-24 14:32:44 -07:00
Robert Moore
2f1cd3471f Update AcpiBin project file.
For new file, utxferror.c
2010-09-15 10:05:42 -07:00
Robert Moore
e833f7b424 iASL/Disassembler: Write ACPI errors to stderr instead of output file.
This keeps the output files clean of random error messages that may
originate from within the namespace/interpreter code.

Used this opportunity to merge all ACPI:-style messages into a single
new module, utxferror.c. ACPICA bugzilla 866.
2010-09-10 12:48:36 -07:00
Robert Moore
08fd52445b Obsolete the AcpiOsDerivePciId OSL interface.
This function is not OS-dependent and has been replaced by
AcpiHwDerivePciId, which is now in the ACPICA core code.
Local implementations of AcpiOsDerivePciId are no longer
necessary and may be removed. ACPICA BZ 857.
2010-08-17 10:22:06 -07:00
Robert Moore
cd18a057a9 Tests: Update aapits for interface changes.
Also add new file (utosi.c) to project file.
2010-08-06 09:03:32 -07:00
Robert Moore
8ad66eb93a Add new host interfaces for _OSI support.
Adds install/remove interfaces so that the host can dynamically
alter the global _OSI table. Also adds support for _OSI handlers.
Additional support: new debugger command (osi), and test support
in the acpiexec utility. Adds new file, utilities/utosi.c.
Lin Ming, Bob Moore. ACPICA bugzilla 836.
2010-08-05 14:18:28 -07:00
Robert Moore
139ed8b13d Tests: Update aapits for interface changes.
Also add new files to project file.
2010-07-02 08:45:07 -07:00
Robert Moore
1ad056a79f iASL: Add support to generate ACPI Data Table Template files.
These files can be used as the starting point for an actual ACPI
table, to be compiled via the iASL Data Table Compiler.
2010-06-02 13:45:39 -07:00
Robert Moore
09f8e27f3c iASL: Update makefiles and project files for data table compiler.
Update the Linux and Unix makefiles, plus the Windows project
file for iASL.
2010-05-21 14:20:46 -07:00
Robert Moore
8e3a28a487 iASL: Split large aslrestype1.c and aslrestype2.c files.
New files are aslrestype1i.c, aslrestype2d.c, aslrestype2e.c,
aslrestype2q.c, and aslrestype2w.c
2010-04-22 09:36:27 -07:00
Robert Moore
3e2a9ea0fc Update windows project files.
New files added for GPE file split.
2010-04-09 09:04:36 -07:00
Robert Moore
a222a62c35 Update windows project files.
New files: aslpredef.c, exdebug.c.
2010-03-02 13:49:36 -08:00
Robert Moore
ae77bba223 Tests: Update aapits for ACPICA interface changes, new files.
Also update scripts.
2009-12-15 10:48:40 -08:00
Robert Moore
4da2223d36 Update windows project files.
New file, nsrepair2.c
2009-11-10 14:33:52 -08:00
Robert Moore
ecea3cc012 Disassembler: Restructure code for externals, no functional change.
Add new file for handling of ASL External() statements. Consolidates
all such code, it is used only for iASL disassembler (not kernel code
or acpiexec.)
2009-10-01 13:33:07 -07:00
Robert Moore
a0ea092ac7 Update windows project files.
new file added to acpiexec.
2009-09-03 09:35:39 -07:00
Robert Moore
d53981016f Update windows project files.
pathname fix.
2009-07-30 09:07:05 -07:00
Robert Moore
6fa3c7e131 Update windows project files (add new aapits project)
Windows project for aapits test suite added.
2009-07-01 14:22:58 -07:00
Robert Moore
a535937a41 Update Windows project files.
Add new file, nsrepair.c.
2009-06-26 10:53:45 -07:00
Robert Moore
2a5384ea61 Update Widnows project files.
New file added to projects. Fixed .bsc paths for iASL.
2009-06-23 15:19:56 -07:00
Robert Moore
8f5ee6c2b8 Update Windows project files.
Add new files created for this release.
2009-03-18 09:42:35 -07:00
Robert Moore
3d300ecb5a Update Windows project files - output filenames.
Use default filenames for output files since using anything else
does not always "stick".
2009-01-23 10:48:02 -08:00
Robert Moore
21361ed95b Update Windows project files for VC++ bug.
Use absolute paths to all project directories. Previously, used paths
relative to the project root, but there is a bug in VC++ that then
creates project directories all over the disk.
2009-01-21 14:04:52 -08:00
Robert Moore
382b7a021d iASL: Split windows table access to new file (-g).
Split the acpi table access (in registry) to a new file.
Prepares for integrating acpidump utility into acpica.
2009-01-20 15:12:24 -08:00
Robert Moore
be1e1b0947 Update msvc project files.
Added new file, hwxface.c
2008-11-20 19:31:56 -07:00
Robert Moore
f5e2380443 Update Windows project files.
New file, accommon.h, and added the new Examples project.
updated .gitignore
2008-10-22 14:48:28 -07:00
Robert Moore
b0a4040faf Update windows project files for new source files.
New source files for predefined method validation are
nspredef.c and acpredef.h
2008-09-24 13:43:14 -07:00
Robert Moore
240cecc47f iASL: Detect invalid ASCII characters in input (windows version)
Removed -CF flag from the flex compile, enables correct detection of
non-ASCII characters in the input. BZ 441.
2008-06-17 14:51:00 -07:00
Robert Moore
250cbe2a7b Update windows project files for source tree changes.
The tree was recently flattened. Adjusted all paths to be relative,
allowing generation anywhere. Split the workspace into two - one that
generates the released binaries, another that is used for testing only.
2008-05-13 10:49:16 -07:00
rmoore1
6e324a6ac7 *** empty log message *** 2007-10-25 22:59:57 +00:00
rmoore1
1be2447fdc New files added 2007-08-30 22:36:27 +00:00
rmoore1
1a94a42256 update for flex library 2007-08-15 21:29:23 +00:00