Commit Graph

603 Commits

Author SHA1 Message Date
Robert Moore
491a1e7ae0 New: I/O port protection.
Protect certain I/O ports from reads/writes. Provides MS
compatibility. New module, hwvalid.c
2009-03-13 08:08:55 -07:00
Robert Moore
b1c943d6c2 Fix AcpiWalkNamespace race condition with table unload.
Added a reader/writer locking mechanism to allow multiple
concurrent namespace walks (readers), but a dynamic table
unload will have exclusive access to the namespace. This fixes
a problem where a table unload could delete the portion of
the namespace that is currently being examined by a walk.
Adds a new file, utlock.c that implements the reader/writer
lock mechanism. ACPICA BZ 749.
2009-03-06 08:54:39 -08:00
Robert Moore
44bf030e27 AcpiExec: Add function to exercise H/W interfaces.
Added calls to WriteBitRegister and ReadBitRegister.
2009-02-10 13:42:08 -08:00
Robert Moore
dccd61004e Split out PM1 status registers from the FADT.
Add new globals for the PM1 status registers (A/B), similar to the
way the PM1 enable registers are handled. Instead of overloading the
FADT Event Register blocks. This makes the code clearer and less prone
to error.
2009-01-30 09:35:26 -08:00
Robert Moore
416eb5461f Update all copyrights and signons to 2009.
Add 2009 copyright to all module headers and signons, including the Linux
header. This affects virtually every file in the ACPICA core subsystem,
iASL compiler, and all utilities.
2009-01-08 13:17:27 -08:00
Robert Moore
409f5b644f Add override for dynamic tables.
Add a call to AcpiOsTableOverride during the installation of
a dynamic table (loaded via the Load or LoadTable AML operators).
2008-12-11 12:58:42 -08:00
Robert Moore
2d8f95c694 Allow OS override of all ACPI tables.
Previously, the table override mechanism was implemented for the
DSDT only. Now, any table in the RSDT/XSDT can be replaced by the
host OS. (including the DSDT).
2008-12-09 09:37:48 -08:00
Robert Moore
abcfc51e45 FADT: set UseDefaultRegisterWidths to TRUE by default.
This returns the FADT support to the original behavior, which is to
use default register widths. However, now check each register
definition and report a warning if it differs from the default.
This is a first step to moving away from the default widths, rather
than outright believing the widths in all FADTs for all machines,
considered rather dangerous until more data is obtained.
2008-12-03 09:41:09 -08:00
Robert Moore
09058e5daf FADT parsing changes and fixes.
1) Update the register lengths for the PM1 event blocks. The length
must be divided by two in order to use these to access the status
registers.
2) Add run-time option to use default register lengths to override a
faulty FADT.
3) Add warning message if any of the X64 address structures contain a
length that does not match the legacy length earlier in the FADT.
4) Move all FADT warning messages into the ValidateFadt function.
2008-11-21 13:45:49 -08:00
Robert Moore
320b444e76 New: AcpiGetGpeDevice interface.
This function maps an input GPE index to a GPE block device. Also
Added AcpiCurrentGpeCount to track the current number of GPEs that
are being managed by the ACPICA core (both FADT-based GPEs and the GPEs
contained in GPE block devices.)
2008-11-18 14:02:50 -08:00
Robert Moore
7723fbcee1 New: ACPICA example code.
Includes code for ACPICA initialization, handler installation,
calling a control method.
2008-10-28 14:41:48 -07:00
Robert Moore
28da268b28 Add support to externally execute _OSI method.
The current implemenation of _OSI within ACPICA only allows other
control methods to execute _OSI. This change allows the host OS
to execute _OSI via the AcpiEvaluateObject interface. _OSI is a
special method -- it does not exist in the AML code, it is
implemented within ACPICA.
2008-10-23 10:28:17 -07:00
Robert Moore
085ae7362c Restructure includes into public/private.
acpi.h now includes only the "public" acpica headers. All other
acpica headers are "private" and should not be included by acpica
users. One new file, accommon.h is used to include the commonly
used private headers for acpica code generation. Future plans are
to move all private headers to a new subdirectory.
2008-10-22 14:31:40 -07:00
Robert Moore
77f5bcb46f AcpiExec: Add example ACPICA initialization code.
Added two initialization examples (within a comment block) that
show how to init ACPI for early table access and for a normal
initialization. Same code will appear in the ACPICA reference
manual.
2008-10-16 15:18:36 -07:00
Robert Moore
8b97ef8273 Add global pointer for FACS table to simplify FACS access.
Use a global pointer instead of using AcpiGetTableByIndex for each
FACS access. This simplifies the code for the Global Lock and the
Firmware Waking Vector(s).
2008-10-16 15:03:46 -07:00
Robert Moore
0b09da4ebd Remove obsolete version number in module headers.
Removed the "$Revision" number that appeared in each module header.
This version number was useful under SourceSafe and CVS, but has no
meaning under git. It is not only incorrect, it could also be
misleading.
2008-09-25 12:56:30 -07:00
Robert Moore
1ff11b4819 New: Validation for predefined ACPI methods/objects.
Validates predefined ACPI objects that appear in the namespace, at the
time they are evaluated. The argument count and the type of the returned
object are validated. The purpose of this validation is to detect problems
with the BIOS-exposed predefined ACPI objects before the results are
returned to the ACPI-related drivers.
2008-09-24 13:34:08 -07:00
Robert Moore
86b0a69e1f acpisrc: Improve comment counting mechanism.
Count first and last lines of multi-line comments as whitespace, not
comment lines. Handle Linux legal header in addition to standard
acpica header.
2008-08-25 13:50:34 -07:00
Robert Moore
5d63569294 x2APIC support: changes for MADT and SRAT ACPI tables.
Support for the x2APIC. There are 2 new subtables for the MADT and one new
subtable for the SRAT. Includes disassembler and AcpiSrc support. Data from
the Intel 64 Architecture x2APIC Specification, June 2008.
2008-07-24 12:57:13 -07:00
Robert Moore
cb2d41704e AcpiXtract: Handle EOF while extracting data.
Correctly handle the case where the EOF happens immediately after
the last table in the input file. Print completion message. Previously,
no message was displayed in this case.
2008-07-24 10:21:33 -07:00
Robert Moore
913669b792 AcpiExec: Add support for dynamic table load/unload.
Now calls _CFG method to pass address of table to the AML. Added option
to disable opregion simulation to allow creation of opregion with real
address that was passed to _CFG. All of this allows testing of the Load
and Unload operators from AcpiExec.
2008-06-13 13:46:31 -07:00
Robert Moore
10e9550130 Eliminate ACPI_NATIVE_UINT type.
No longer needed; replaced mostly with UINT32, but also ACPI_SIZE where a
type that changes 32/64 bit on 32/64-bit platforms is required.
2008-05-08 13:22:20 -07:00
rmoore1
54e0b736ff Changes for notify handling.
Update for new ACPICA interface; cleanup output for received notifies.
2008-03-21 18:05:54 +00:00
rmoore1
cf488d4ed8 Add test for using external buffer as argument to a method 2008-02-13 18:13:18 +00:00
rmoore1
c02ce8378a *** empty log message *** 2008-02-12 21:27:37 +00:00
rmoore1
96af461e5c Include file support for new ACPI tables.
Implemented header file support for new ACPI tables - BERT, ERST, EINJ, HEST, IBFT, UEFI, WDAT. Disassembler support is forthcoming.
2008-01-23 22:11:31 +00:00
rmoore1
fd55360349 Added the 2008 copyright to all module headers and signons.
This affects  virtually every file in the ACPICA core subsystem, the iASL compiler, and the tools/utilities.
2008-01-09 22:52:49 +00:00
rmoore1
a417391ec6 Update copyright to 2008.
Added 2008 copyright to all module headers and signons. This affects virtually every file in the ACPICA core subsystem, iASL compiler, and the utilities.
2008-01-09 21:27:10 +00:00
rmoore1
dc7e4c5bc3 2008 Copyright support added.
2008 copyright for base code and Linux version. Also, removed R. Byron Moore copyright and replaced with Intel Corp.
2008-01-09 21:25:54 +00:00
rmoore1
413ebb3f59 Automated cleanup 2007-12-11 22:11:54 +00:00
rmoore1
5c57d6bdc7 Update to allow .ASL files (statistics only) 2007-11-20 22:37:34 +00:00
rmoore1
a6fb3de887 Add support for 64-bit DSDT and FACS addresses in local FADT.
Use XDsdt and XFacs fields.
2007-11-14 20:35:24 +00:00
rmoore1
ecc59ccc5d New struct 2007-11-14 20:34:19 +00:00
rmoore1
0d94265e6e Added handler support for additional regions.
Now supports PCI_Config, CMOS, and PCI_BAR.
2007-11-08 22:47:37 +00:00
rmoore1
734499d890 Fixed a couple compiler warnings.
Warnings with gcc.
2007-11-01 15:06:45 +00:00
rmoore1
2e172dd565 Improved output for the table event handler.
Add text for table event, print signature.
2007-10-19 20:29:24 +00:00
rmoore1
6f8d4544e7 Update internal Notify Handler.
Calls the "_NOT" method for test suite purposes only.
2007-10-16 22:32:07 +00:00
rmoore1
7fe84263e1 Automated cleanup.
Automated cleanup.
2007-09-28 15:56:34 +00:00
rmoore1
5e9a716dee New interfaces for table event handlers.
Designed and implemented new external interfaces to install and remove handlers for ACPI table-related events. Current events that are defined are LOAD and UNLOAD. These interfaces allow the host to track ACPI tables as they are dynamically loaded and unloaded. See AcpiInstallTableHandler and AcpiRemoveTableHandler. (Lin Ming and Bob Moore)
2007-09-19 20:00:31 +00:00
rmoore1
9ec5027828 Added new error message.
Added an error message to AcpiExec when the _ERR method invocation fails for
any reason other than AE_NOT_FOUND.
2007-04-20 22:09:20 +00:00
rmoore1
b9f4577515 Support for external package objects as method arguments.
Implemented support to allow Package objects to be passed as method arguments to the AcpiEvaluateObject interface. Previously, this would return an AE_NOT_IMPLEMENTED exception.
2007-04-03 19:59:37 +00:00
rmoore1
05d312d1e6 Implemented quiet mode to stop excess output. 2007-03-28 18:51:21 +00:00
rmoore1
4e5756416b Remove extraneous output when running on unix 2007-03-27 21:12:41 +00:00
rmoore1
34e1a4c900 Changes for Cygwin compatibility.
Allow generation of ACPICA apps on Cygwin.
2007-03-27 20:25:46 +00:00
rmoore1
7c7d01c61e Update for mutiple global lock acquisitions by same thread.
Allows AcpiAcquireGlobalLock external interface to be called multiple times by the
 same thread. Allows use of AML fields that require the global lock while the running
 AML is already holding the global lock.
2007-03-14 19:22:11 +00:00
rmoore1
3ef7f97afd Automatically convert LF-only files to LF/CR (windows only) 2007-03-08 20:27:47 +00:00
rmoore1
6e075f8871 Update copyright to 2007.
Added 2007 copyright to all module headers and signons. This affects virtually every file in the ACPICA core subsystem, iASL compiler, and the utilities.
2007-01-09 20:01:19 +00:00
rmoore1
dc0474fb52 Added option to display memory statistics upon termination. 2006-12-14 22:29:21 +00:00
rmoore1
fc76ab00f6 Support for ThreadId parameter to _ERR method.
Enhanced debugging for multithread test support.
2006-12-12 22:02:16 +00:00
rmoore1
b2f39803f4 Debugger multithreading enhancements.
Implemented enhancements to the multithreading support within the debugger to enable better multithreading evaluation of the subsystem.
2006-12-08 22:50:46 +00:00
rmoore1
851c390750 Removed all 16-bit support.
Support for 16-bit ACPICA has been completely removed since it is no longer necessary and it clutters the code. All 16-bit macros, types, and conditional compiles have been removed, cleaning up and simplifying the code across the entire subsystem. DOS support is no longer needed since the Linux firmware kit is now available.
2006-12-08 20:44:28 +00:00
rmoore1
4a820b6960 Fix bug with region linked list insert. 2006-11-14 18:35:51 +00:00
rmoore1
8e7f513ef6 Implement full region support for multiple address spaces.
SpaceId is now part of the REGION object. BZ 429
2006-11-09 19:48:37 +00:00
rmoore1
893a7b5ab8 Corrected pathname for \\_SB_ 2006-10-05 21:44:44 +00:00
rmoore1
23c52e04d8 Automated code cleanup 2006-09-27 20:34:16 +00:00
rmoore1
2a57c16841 Added generic batch command mode 2006-09-26 20:11:48 +00:00
rmoore1
09f06978d7 ACPICA: Completely abort application on 10 SigInts. Might be useful to have a timestamp, i.e., if 4 ints are received within 4 seconds. This feature is useful when
debugging many threads.
2006-09-11 22:32:47 +00:00
rmoore1
6656fe51f5 ACPICA: FADT verification is now table driven. Disassembler now verifies an input
FADT. Added warnings for 32/64 address mismatch and unknown length for FADT.
2006-09-07 21:29:14 +00:00
rmoore1
1a8fe15599 ACPICA: Implemented support for data sub tables in the ASF! table 2006-09-07 17:25:14 +00:00
rmoore1
cabae61262 ACPICA: Enhanced the implementation of the "serialized mode" of the interpreter (enabled via the AcpiGbl_AllMethodsSerialized flag.) When this mode is specified, instead of creating a serialization semaphore per control method, the interpreter lock is simply no longer released before a blocking operation during control method execution. This effectively makes the AML Interpreter single-threaded. The overhead of a semaphore per-method is eliminated. AcpiExec - Added the "-t" command line option to enable the serialized mode of the AML interpreter. 2006-09-01 21:51:51 +00:00
rmoore1
187857892c ACPICA: Miscellaneous fixes for the Table Manager:
- Correctly initialize internal common FADT for all 64-bit "X" fields
- Fixed a couple table mapping issues during table load
- Initialize input array to zero in AcpiInitializeTables
- Additional parameter validation for AcpiGetTable, AcpiGetTableHeader, AcpiGetTableByIndex
- Fixed a couple of alignment issues for IA64
2006-08-28 21:22:35 +00:00
rmoore1
288f609021 ACPICA: Implement support for ACPI DMAR table (DMA Remapping Table) in header files and disassembler. 2006-08-24 17:19:49 +00:00
rmoore1
62300dae19 The Table Manager component has been completely redesigned and reimplemented. The new design is much simpler, and reduces the overall code and data size of the kernel-resident ACPICA by approximately 5%. Also, it is now possible to obtain the ACPI tables very early during kernel initialization, even before dynamic memory management is initialized. 2006-08-23 19:55:36 +00:00
rmoore1
3b9ee46e55 ACPICA: test timeout on global lock interface 2006-07-20 19:57:46 +00:00
rmoore1
b22be11c36 ACPICA: Add test for global lock interfaces 2006-07-20 19:50:34 +00:00
rmoore1
6e1b7b3d1a Major update for locking.
1) Use new types ACPI_SPINLOCK, ACPI_MUTEX,ACPI_SEMAPHORE
2) Deploy new OSL interfaces for mutex objects
3) Use mutex for serialized methods, fix incorrect use of method SyncLevel
2006-06-20 15:37:18 +00:00
rmoore1
8c8738f9a1 Major restructuring of internal interfaces to evaluate objects to reduce code size and stack use 2006-05-17 21:30:23 +00:00
rmoore1
636f1daa70 Automated cleanup 2006-05-12 20:50:15 +00:00
rmoore1
1ee90e7361 Replace OsQueueForExecution with OsExecute 2006-05-11 20:52:45 +00:00
rmoore1
6f70255c7a Support for disassembler external generation 2006-05-11 20:26:22 +00:00
rmoore1
1df3cbc893 Automated cleanup 2006-04-21 19:37:46 +00:00
rmoore1
a3304d8c7e Immediately ignore whitespace during case conversion 2006-04-21 17:16:22 +00:00
rmoore1
65d5c688ce Update ACPI_FUNCTION_* macros, no longer require quotes. Allows source conversion to convert the function names. 2006-04-19 21:49:06 +00:00
rmoore1
282b9f29e0 Ignore quoted strings during mixed case conversion 2006-04-19 21:09:09 +00:00
rmoore1
4319faba0c New names for ACPI tables 2006-04-06 21:21:02 +00:00
rmoore1
bb44b2fbee Deploy ACPI_COMPARE_NAME 2006-03-31 23:25:59 +00:00
rmoore1
1ed5f2a8ac update output format string 2006-03-30 23:42:44 +00:00
rmoore1
18e56ac420 Fall back to original signature defines for now. 2006-03-28 16:31:11 +00:00
rmoore1
eebd4cb4f1 New structs added 2006-03-27 23:16:11 +00:00
rmoore1
ce8768c4d4 Warning fix 2006-03-27 21:19:26 +00:00
rmoore1
770e8ec2c2 Reorganized table headers 2006-03-27 20:38:46 +00:00
rmoore1
e82c898af8 Table header update. Renames 2006-03-24 23:12:33 +00:00
rmoore1
7b15bac697 Disassembler support for non-AML tables; table header update 2006-03-24 21:49:15 +00:00
rmoore1
24f0c8726a Add -a option to extract all tables 2006-03-24 21:40:25 +00:00
rmoore1
9c621d42de Can't xlate FADT_DESCRIPTOR yet. 2006-03-24 21:39:24 +00:00
rmoore1
6368989ade Split from asmain.c 2006-03-24 18:31:18 +00:00
rmoore1
0e4f55087c Split global tables to new file 2006-03-24 18:30:53 +00:00
rmoore1
0a67686fae Add extended table info for -l option 2006-03-17 20:25:25 +00:00
rmoore1
436553bd1f Extract binary ACPI tables from acpidump text output 2006-03-16 22:26:08 +00:00
rmoore1
e5621fe9c1 Add more C types for Linux conversion 2006-03-16 22:18:58 +00:00
rmoore1
d7a9ca7ad8 Added option for special formatting for files containing structs 2006-03-15 22:13:27 +00:00
rmoore1
0bc76a762e Optimize structs for 64-bit, cache for namespace nodes, remove NSnode ref count 2006-03-14 20:58:51 +00:00
rmoore1
72ebba28c5 Rename ACPI memory macros for clarity 2006-03-10 20:08:05 +00:00
rmoore1
bcecdaeb79 Automated cleanup 2006-03-10 18:59:10 +00:00
rmoore1
69aa7eb71e ACPI_THREAD_ID 2006-03-10 18:33:58 +00:00
rmoore1
a9d945b667 New struct name 2006-03-10 17:51:36 +00:00
rmoore1
9106520ea8 Update to previous fix: do not ignore identifiers with underscores if they are mixed case. 2006-02-23 23:19:39 +00:00
rmoore1
4d15826dc7 *** empty log message *** 2006-02-15 21:47:00 +00:00
rmoore1
025216fffa Ignore tokens with embedded underscores, no need to convert 2006-02-14 23:06:57 +00:00
rmoore1
2a8c9c79b9 Handle else-if and else-while when determining whitespace 2006-02-07 23:16:24 +00:00
rmoore1
ec5455db60 Add whitespace for comments that get crammed up against previous statement 2006-02-07 22:51:40 +00:00
rmoore1
fbc94bf60e *** empty log message *** 2006-01-27 21:30:00 +00:00
rmoore1
65a47676e4 Added new ACPI_CPU_FLAGS type 2006-01-26 23:40:07 +00:00
rmoore1
f7bfe25476 Deploy ACPI_[ERROR, EXCEPTION, WARNING, INFO] 2006-01-23 22:11:06 +00:00
rmoore1
69d0561ba0 More changes for ACPI_REPORT_ERROR conversion 2006-01-12 21:55:49 +00:00
rmoore1
7c13298942 Convert DB_ERROR/WARNs to REPORT_ERROR/WARNINGs 2006-01-11 22:38:23 +00:00
rmoore1
9efdd774a4 Add 2006 copyright 2006-01-09 17:47:27 +00:00
rmoore1
aa4b29b00a Automated cleanup 2005-12-16 21:43:17 +00:00
rmoore1
c9d2176e9a Implemtation of -e flag in global exception handler 2005-12-16 21:30:18 +00:00
rmoore1
d59ac168d4 interface change 2005-12-15 22:34:48 +00:00
rmoore1
008c171b2d New type; cleanup 2005-12-15 22:34:12 +00:00
rmoore1
cf30120412 Warning fix 2005-12-15 22:33:38 +00:00
rmoore1
96db391b12 New option (-e) to ignore errors during method execution 2005-12-15 22:32:59 +00:00
rmoore1
0fd87a0578 Misc memory leak fixes 2005-12-06 23:20:04 +00:00
rmoore1
1f8e54b1c4 Lint-style fixes (from FreeBSD) 2005-12-05 21:49:18 +00:00
rmoore1
049575a692 new structs 2005-11-15 21:55:50 +00:00
rmoore1
fc4ba0f267 Macro cleanup (CAST_PTR), automated cleanup 2005-11-14 23:38:24 +00:00
rmoore1
ca028a8386 Support for AcpiGetVendorResource 2005-11-14 21:43:50 +00:00
rmoore1
2b1fa2f28c New struct 2005-11-02 18:57:36 +00:00
rmoore1
b5931f0e72 automated cleanup 2005-10-27 23:14:07 +00:00
rmoore1
bec93b7c27 New struct 2005-10-27 23:13:31 +00:00
rmoore1
103dcd31c5 Changes for new resource structs and types 2005-10-21 21:09:10 +00:00
rmoore1
009971ccef Update for new symbols, allow initializer lists with braces 2005-09-30 22:31:56 +00:00
rmoore1
c9c8ddb3bb Major overhaul of the ResourceManager (code, structs, names, typedefs, etc.) 2005-09-27 21:49:32 +00:00
rmoore1
a8da3eeedb Implement table-driven resource management dispatch 2005-09-15 21:47:40 +00:00
rmoore1
0534ccf803 Migrate resource code to table-driven dispatch 2005-09-08 22:15:05 +00:00
rmoore1
fd4737ff54 *** empty log message *** 2005-09-07 19:52:42 +00:00
rmoore1
b5a6e543ac new struct 2005-08-31 22:14:05 +00:00
rmoore1
89fa1e21f9 Renamed checksum generate function 2005-07-29 21:09:31 +00:00
rmoore1
b5b2975698 Support to recognize and ignore a table installed more than once 2005-07-29 21:04:18 +00:00
aystarik
519c7ce1f5 changed some types
date	2005.07.08.19.58.00;	author rmoore1;	state Exp;
2005-07-10 20:53:09 +00:00
aystarik
2a9aea8f63 update
date	2005.06.21.23.08.00;	author rmoore1;	state Exp;
2005-06-29 20:47:09 +00:00
aystarik
a2d3ad146b New struct
date	2005.02.11.22.03.00;	author rmoore1;	state Exp;
2005-06-29 20:47:07 +00:00
aystarik
4b57cd7940 Support for 2005 copyright
date	2005.01.07.23.41.00;	author rmoore1;	state Exp;
2005-06-29 20:47:05 +00:00
aystarik
3ffb461061 new struct
date	2004.12.10.00.00.00;	author rmoore1;	state Exp;
2005-06-29 20:47:04 +00:00
aystarik
7b312538d8 add EXCEPTION_HANDLER
date	2004.09.22.20.45.00;	author rmoore1;	state Exp;
2005-06-29 20:47:02 +00:00
aystarik
c7619b5e26 new symbols
date	2004.06.15.22.05.00;	author rmoore1;	state Exp;
2005-06-29 20:47:01 +00:00
aystarik
5358784b36 automated code cleanup
date	2004.04.27.18.28.00;	author rmoore1;	state Exp;
2005-06-29 20:47:00 +00:00
aystarik
3e7d1e4822 New struct
date	2004.03.26.22.44.00;	author rmoore1;	state Exp;
2005-06-29 20:46:59 +00:00
aystarik
86b03aa09a New identifiers in translation table
date	2003.10.02.18.02.00;	author rmoore1;	state Exp;
2005-06-29 20:46:57 +00:00
aystarik
74af444c30 Added UINT16_BIT
date	2003.10.01.19.59.00;	author rmoore1;	state Exp;
2005-06-29 20:46:56 +00:00
aystarik
29ce93a451 Add support for device _CIDs (Compatibility IDs) with multiple strings
date	2003.05.21.20.59.00;	author rmoore1;	state Exp;
2005-06-29 20:46:54 +00:00
aystarik
116e0c54a4 New identifier added to list
date	2003.05.09.15.35.00;	author rmoore1;	state Exp;
2005-06-29 20:46:53 +00:00
aystarik
4590d92664 add XRUPT struct
date	2003.03.07.21.53.00;	author agrover;	state Exp;
2005-06-29 20:46:52 +00:00
aystarik
63102c5992 new symbol
date	2003.02.27.21.04.00;	author rmoore1;	state Exp;
2005-06-29 20:46:51 +00:00
aystarik
2fa43e3222 change to releasing Linux source under a dual BSD/GPL license
date	2003.02.11.22.36.00;	author agrover;	state Exp;
2005-06-29 20:46:50 +00:00
aystarik
5586838f67 add some brackets to make gcc happy
date	2003.01.08.23.05.00;	author agrover;	state Exp;
2005-06-29 20:46:47 +00:00
aystarik
99bd862702 Added some new symbols; 2003 copyright for Linux header
date	2003.01.06.17.21.00;	author rmoore1;	state Exp;
2005-06-29 20:46:43 +00:00
aystarik
41d61c73a3 Added a type
date	2002.12.20.00.06.00;	author rmoore1;	state Exp;
2005-06-29 20:46:42 +00:00
aystarik
b7ee2530ce date 2002.12.17.18.41.00; author rmoore1; state Exp; 2005-06-29 20:46:39 +00:00
aystarik
6ae00914d1 Linux - remove the sourcesafe revision line
date	2002.12.17.17.55.00;	author rmoore1;	state Exp;
2005-06-29 20:46:38 +00:00
aystarik
5028479a05 date 2002.12.13.22.35.00; author rmoore1; state Exp; 2005-06-29 20:46:36 +00:00
aystarik
a5adb3ddfb Update linux header for 2002 copyright
date	2002.01.09.18.34.00;	author rmoore1;	state Exp;
2005-06-29 20:46:27 +00:00
aystarik
945e384f64 2002 copyright support
date	2002.01.09.18.10.00;	author rmoore1;	state Exp;
2005-06-29 20:46:26 +00:00
aystarik
1264bd9a6a updated for change of PCI_ROUTING_TABLE to ACPI_etc
date	2001.12.07.22.32.00;	author agrover;	state Exp;
2005-06-29 20:46:24 +00:00
aystarik
c257bb4c64 Removed global OpRegion handler dispatch table, it was not being used.
date	2001.10.29.16.58.00;	author rmoore1;	state Exp;
2005-06-29 20:46:23 +00:00
aystarik
22876df606 Added a new type
date	2001.09.20.16.06.00;	author rmoore1;	state Exp;
2005-06-29 20:46:22 +00:00
aystarik
034fdbf436 Match exact word for statement removal and conditional compile removal
date	2001.08.31.18.04.00;	author rmoore1;	state Exp;
2005-06-29 20:46:19 +00:00
aystarik
a90072b319 do whole string substs on more stuff
date	2001.08.31.18.03.00;	author agrover;	state Exp;
2005-06-29 20:46:18 +00:00
aystarik
e2c0827b72 Added "replace whole word" option to string replacement
date	2001.08.31.18.02.00;	author rmoore1;	state Exp;
2005-06-29 20:46:17 +00:00
aystarik
e6af5b0e9e fixes some acoutput.h breakage
date	2001.08.16.21.52.00;	author agrover;	state Exp;
2005-06-29 20:46:15 +00:00
aystarik
b0aed26584 more fixes
date	2001.08.15.02.16.00;	author agrover;	state Exp;
2005-06-29 20:46:14 +00:00
aystarik
16f898690e convert SYSTEM_INFO too
date	2001.07.10.19.50.00;	author agrover;	state Exp;
2005-06-29 20:46:12 +00:00
aystarik
acbf0624c3 got the core compiling with this, the latest acpisrc
date	2001.07.10.03.04.00;	author agrover;	state Exp;
2005-06-29 20:46:11 +00:00
aystarik
1527dabc90 Support for lower case types for linux/unix
date	2001.06.08.22.29.00;	author rmoore1;	state Exp;
2005-06-29 20:46:10 +00:00
aystarik
8bbed07efd don't mangle _UINT16_ and friends
date	2000.10.13.00.25.00;	author agrover;	state Exp;
2005-06-29 20:46:03 +00:00
aystarik
2327901416 Changed names of the major objects for clarity
date	2000.08.30.20.12.00;	author rmoore1;	state Exp;
2005-06-29 20:46:02 +00:00
aystarik
f2cfc79f63 date 2000.08.10.16.17.00; author agrover; state Exp; 2005-06-29 20:46:00 +00:00
aystarik
2e67e50421 added -d option to leave debug statements in
date	2000.08.09.23.33.00;	author agrover;	state Exp;
2005-06-29 20:45:59 +00:00
aystarik
d704c34e0d added lowercase_dirname flag to linux config struct
date	2000.08.02.21.23.00;	author agrover;	state Exp;
2005-06-29 20:45:58 +00:00
aystarik
d10f785127 date 2000.08.02.21.00.00; author rmoore1; state Exp; 2005-06-29 20:45:57 +00:00
aystarik
77fbea5114 date 2000.07.10.22.42.00; author rmoore1; state Exp; 2005-06-29 20:45:56 +00:00
aystarik
f079dea5bd Fix directory wildcard to work properly on Unix -- also still works on
windows.


date	2003.01.14.19.09.00;	author agrover;	state Exp;
2005-06-29 20:45:37 +00:00
aystarik
4a07cf1dff fix CnP error
date	2002.12.17.21.20.00;	author agrover;	state Exp;
2005-06-29 20:45:27 +00:00
aystarik
57ebb833e2 Fixed pathname overflow problem
date	2002.12.17.21.10.00;	author rmoore1;	state Exp;
2005-06-29 20:45:26 +00:00
aystarik
b24eb520dd date 2000.08.11.23.07.00; author agrover; state Exp; 2005-06-29 20:45:09 +00:00
aystarik
4e48f8ed20 Open mode fix
date	2000.06.20.15.53.00;	author rmoore1;	state Exp;
2005-06-29 20:45:04 +00:00
aystarik
180e606539 display long lines in verbose mode
date	2005.03.23.23.40.00;	author rmoore1;	state Exp;
2005-06-29 20:44:58 +00:00
aystarik
e5ae16a4d7 Fix for InsertCarriageReturn
date	2003.02.28.16.57.00;	author rmoore1;	state Exp;
2005-06-29 20:44:53 +00:00
aystarik
3303c35bb0 Check for end-of-line
date	2002.12.19.23.56.00;	author rmoore1;	state Exp;
2005-06-29 20:44:48 +00:00
aystarik
72c61dda99 Split out functions to 2 additional files
date	2002.12.17.17.55.00;	author rmoore1;	state Exp;
2005-06-29 20:44:43 +00:00
aystarik
38ddb77771 Update list of lower case identifiers for Linux
date	2002.12.13.22.10.00;	author rmoore1;	state Exp;
2005-06-29 20:44:42 +00:00
aystarik
461ddc13c9 Fix for quote
date	2002.10.22.21.33.00;	author rmoore1;	state Exp;
2005-06-29 20:44:38 +00:00
aystarik
773edb461d Removed PARSER_ONLY, renamed ENABLE_DEBUGGER to ACPI_DEBUGGER.
renamed ACPI_DEBUG to ACPI_DEBUG_OUTPUT


date	2002.07.26.21.45.00;	author rmoore1;	state Exp;
2005-06-29 20:44:37 +00:00
aystarik
91f2ab6b32 Handle escape sequences in format strings
date	2002.05.28.16.03.00;	author rmoore1;	state Exp;
2005-06-29 20:44:36 +00:00
aystarik
4d06244121 Gpe0Blk and Gpe1Blk were coming out as gpe0blk and gpe1_blk. Made 0
case like 1 case.


date	2002.03.08.02.06.00;	author agrover;	state Exp;
2005-06-29 20:44:34 +00:00
aystarik
28235710ad Pass through identifiers of the form _1X_
date	2001.10.10.15.18.00;	author rmoore1;	state Exp;
2005-06-29 20:44:31 +00:00
aystarik
d2230c1a48 Fix for end-of-buffer
date	2001.09.20.16.06.00;	author rmoore1;	state Exp;
2005-06-29 20:44:29 +00:00
aystarik
2e2c5c06da add ACPI_DEBUG_PRINT_RAW
date	2001.08.31.19.58.00;	author agrover;	state Exp;
2005-06-29 20:44:27 +00:00
aystarik
ab11183675 Match exact word for statement removal and conditional compile removal
date	2001.08.31.19.57.00;	author rmoore1;	state Exp;
2005-06-29 20:44:26 +00:00
aystarik
1847a5789a fixed isalpha -> isalnum
date	2001.08.31.19.56.00;	author rmoore1;	state Exp;
2005-06-29 20:44:25 +00:00
aystarik
c5661dcb08 Added "replace whole word" option to string replacement
date	2001.08.31.19.55.00;	author rmoore1;	state Exp;
2005-06-29 20:44:24 +00:00
aystarik
8a76bdd5d3 Better fix for escaped quotes!
date	2001.08.24.20.22.00;	author rmoore1;	state Exp;
2005-06-29 20:44:23 +00:00
aystarik
6d96601310 Handle escaped quotes within a quoted string
date	2001.08.24.14.31.00;	author rmoore1;	state Exp;
2005-06-29 20:44:22 +00:00
aystarik
b6eafca967 remove _t postfix from type names
date	2001.07.17.00.24.00;	author agrover;	state Exp;
2005-06-29 20:44:21 +00:00
aystarik
53c69463d4 change DEBUG_TRACK_ALLOCATIONS to DBG_TRACK_ALLOCATIONS. This prevents
the ACPI_DEBUG-removing code in asconvert from getting us.


date	2001.07.10.21.02.00;	author agrover;	state Exp;
2005-06-29 20:44:20 +00:00
aystarik
89a16eed8f Cleanup prior to label
date	2001.04.26.23.12.00;	author rmoore1;	state Exp;
2005-06-29 20:44:19 +00:00
aystarik
32c1adc803 More enhancements for the moveBracetoPreviousLine function
date	2001.02.28.22.02.00;	author rmoore1;	state Exp;
2005-06-29 20:44:16 +00:00
aystarik
e3d86b91ee All braces EXCEPT the "open function" brace now moved up to previous
line.  Some fixes to the TAB8 conversion support


date	2001.02.22.23.55.00;	author rmoore1;	state Exp;
2005-06-29 20:44:14 +00:00
aystarik
bbf6766df0 remove ifdefs before DEBUG_PRINTs
date	2001.02.09.01.42.00;	author agrover;	state Exp;
2005-06-29 20:44:13 +00:00
aystarik
f525a5fcff new define TRACK_ALLOCATIONS needs to be stripped from linux nodebug
builds


date	2001.01.22.18.33.00;	author agrover;	state Exp;
2005-06-29 20:44:12 +00:00
aystarik
c6c5ecec3f handle printf format fields properly
date	2000.08.11.23.45.00;	author agrover;	state Exp;
2005-06-29 20:44:07 +00:00
aystarik
af08666b90 date 2000.06.30.17.41.00; author rmoore1; state Exp; 2005-06-29 20:44:06 +00:00
aystarik
3ed4b91545 date 2000.06.28.22.53.00; author rmoore1; state Exp; 2005-06-29 20:44:05 +00:00
aystarik
089afe7928 Fix to lower case the leading character of identifiers that have had
underscores inserted.


date	2002.12.17.21.12.00;	author rmoore1;	state Exp;
2005-06-29 20:43:48 +00:00
aystarik
e66e8d7e3f date 2002.12.17.17.55.00; author rmoore1; state Exp; 2005-06-29 20:43:47 +00:00
aystarik
a8fcb565d9 Fix to allow conversion to Linux style code
date	2005.06.21.23.09.00;	author rmoore1;	state Exp;
2005-06-29 20:43:45 +00:00
aystarik
ba0d5de53b Partial implementation of "short comment" counter/remover
date	2005.04.21.22.41.00;	author rmoore1;	state Exp;
2005-06-29 20:43:44 +00:00
aystarik
d6b12c7358 fix permissions on directories we make
date	2003.10.01.23.26.00;	author agrover;	state Exp;
2005-06-29 20:43:39 +00:00
aystarik
a61d57dcc3 don't report unix contamination when Linuxizing
date	2003.09.17.22.47.00;	author agrover;	state Exp;
2005-06-29 20:43:38 +00:00
aystarik
6d62b453ee Local replacement of CR/LF pairs with LF only for portability
date	2003.01.10.22.12.00;	author rmoore1;	state Exp;
2005-06-29 20:43:35 +00:00
aystarik
366c88fb8a fixed a comment
date	2003.01.10.00.18.00;	author rmoore1;	state Exp;
2005-06-29 20:43:34 +00:00
aystarik
17b6747619 Update to directory interfaces. Cleanup
date	2003.01.10.00.07.00;	author rmoore1;	state Exp;
2005-06-29 20:43:33 +00:00
aystarik
caf4d7bea7 cleanups needed for clean compilation on non Win32 platforms
date	2003.01.09.00.37.00;	author agrover;	state Exp;
2005-06-29 20:43:32 +00:00
aystarik
93f1f31e95 Moved directory access to OS-specific layer
date	2003.01.08.20.46.00;	author rmoore1;	state Exp;
2005-06-29 20:43:31 +00:00
aystarik
a9d37f9c71 date 2003.01.07.21.59.00; author rmoore1; state Exp; 2005-06-29 20:43:30 +00:00
aystarik
ef96c8a5b6 Added capability to remove union and struct typedefs
date	2003.01.07.00.09.00;	author rmoore1;	state Exp;
2005-06-29 20:43:29 +00:00
aystarik
0bdb767107 small automated cleanup
date	2002.12.19.23.47.00;	author rmoore1;	state Exp;
2005-06-29 20:43:28 +00:00
aystarik
4c3d6f4dc3 Migrate memmoves to utility procedures
date	2002.12.19.23.43.00;	author rmoore1;	state Exp;
2005-06-29 20:43:27 +00:00
aystarik
c0ae8b1008 Support for union/structs in header files
date	2002.12.19.22.03.00;	author rmoore1;	state Exp;
2005-06-29 20:43:26 +00:00
aystarik
86b1d1be47 Added support for const/struct prefixes on all references to same.
date	2002.12.18.23.14.00;	author rmoore1;	state Exp;
2005-06-29 20:43:25 +00:00
aystarik
0dd2450861 new prototypes
date	2002.12.17.17.56.00;	author rmoore1;	state Exp;
2005-06-29 20:43:24 +00:00
aystarik
4a38f27a1a Overhaul of the NATIVE* types. renamed to ACPI_NATIVE*, eliminated
use of MAX32 and MIN32 types


date	2002.12.16.23.55.00;	author rmoore1;	state Exp;
2005-06-29 20:43:23 +00:00
aystarik
59253303d4 Added RemoveMacro function for Linux
date	2002.12.12.21.39.00;	author rmoore1;	state Exp;
2005-06-29 20:43:22 +00:00
aystarik
95c8b44b0b Removed all instances of NATIVE_CHAR due to disuse/inconsistent use.
date	2002.12.10.21.00.00;	author rmoore1;	state Exp;
2005-06-29 20:43:21 +00:00
aystarik
a393e01b4c Added support to lower-case individual identifiers
date	2001.09.03.17.58.00;	author rmoore1;	state Exp;
2005-06-29 20:43:16 +00:00
aystarik
16342fa13c Added "replace whole word" option to string replacement
date	2001.08.31.22.49.00;	author rmoore1;	state Exp;
2005-06-29 20:43:15 +00:00
aystarik
ad32738fc2 Added "MadeChanges" flag
date	2001.04.26.23.03.00;	author rmoore1;	state Exp;
2005-06-29 20:43:14 +00:00
aystarik
a727a84450 checks for braces
date	2001.03.13.21.25.00;	author rmoore1;	state Exp;
2005-06-29 20:43:13 +00:00
aystarik
e959281b08 Bug fixes for tab8 support
date	2001.02.23.23.03.00;	author rmoore1;	state Exp;
2005-06-29 20:43:12 +00:00
aystarik
1d7f289a6e Revision numbers
date	2000.08.23.17.17.00;	author rmoore1;	state Exp;
2005-06-29 20:43:08 +00:00
aystarik
977d8d84e1 we now lowercase created directory named on linuxification
date	2000.08.02.20.48.00;	author agrover;	state Exp;
2005-06-29 20:43:07 +00:00
aystarik
4255091ebf date 2000.06.22.20.59.00; author rmoore1; state Exp; 2005-06-29 20:43:05 +00:00
aystarik
3569097023 Support for both files and directories on command line
date	2000.06.20.19.36.00;	author rmoore1;	state Exp;
2005-06-29 20:43:03 +00:00
aystarik
e5f94edb55 -y switch, user input for file overwrite is checked
date	2000.06.20.18.26.00;	author rmoore1;	state Exp;
2005-06-29 20:43:01 +00:00
aystarik
8fd1bdf1b1 Verbose mode; statistics option
date	2000.06.20.18.19.00;	author rmoore1;	state Exp;
2005-06-29 20:43:00 +00:00
aystarik
6ba730b563 ACPI source conversion utility
date	2000.06.19.22.51.00;	author rmoore1;	state Exp;
2005-06-29 20:42:59 +00:00
aystarik
3ef6ac6cf6 Message output if slack enabled
date	2005.03.08.18.12.00;	author rmoore1;	state Exp;
2005-06-29 20:42:55 +00:00
aystarik
d528d30471 Added -s - enable interpreter slack mode
date	2005.02.17.22.30.00;	author rmoore1;	state Exp;
2005-06-29 20:42:54 +00:00
aystarik
0b505a27fe Enhanced batch mode - execute MAIN
date	2005.01.13.18.23.00;	author rmoore1;	state Exp;
2005-06-29 20:42:53 +00:00
aystarik
7cb65a5b87 Added batch mode
date	2005.01.05.22.03.00;	author rmoore1;	state Exp;
2005-06-29 20:42:51 +00:00
aystarik
b17ecba1ff Fix for 16-bit generation
date	2004.05.25.20.47.00;	author rmoore1;	state Exp;
2005-06-29 20:42:44 +00:00
aystarik
422889e451 date 2004.05.24.23.48.00; author rmoore1; state Exp; 2005-06-29 20:42:43 +00:00
aystarik
d5999ca630 GPE changes
date	2004.04.22.20.08.00;	author rmoore1;	state Exp;
2005-06-29 20:42:40 +00:00
aystarik
3e1b5c107f date 2003.11.04.23.11.00; author rmoore1; state Exp; 2005-06-29 20:42:36 +00:00
aystarik
f3aba057b3 16-bit support
date	2003.03.28.17.59.00;	author rmoore1;	state Exp;
2005-06-29 20:42:33 +00:00
aystarik
4f5d337693 Full implementation of RemoveGpeBlock
date	2003.03.28.00.21.00;	author rmoore1;	state Exp;
2005-06-29 20:42:32 +00:00
aystarik
b9fddfc234 Update to GPE interfaces to use the GPE device node
date	2003.03.19.22.15.00;	author rmoore1;	state Exp;
2005-06-29 20:42:31 +00:00
aystarik
696ba983ad Support for GPE Block Devices
date	2003.03.06.21.54.00;	author rmoore1;	state Exp;
2005-06-29 20:42:30 +00:00
aystarik
b25a85b010 Update of debug levels and defines
date	2002.11.27.17.47.00;	author rmoore1;	state Exp;
2005-06-29 20:42:24 +00:00