Commit Graph

89 Commits

Author SHA1 Message Date
Robert Moore
7db43032db Update ACPICA copyrights to 2012.
Standard ACPICA source modules only.
2012-01-03 14:08:42 -08:00
Robert Moore
ccdeddbaf0 Fix unix-specific OSL for 32-bit generation.
Fixes a problem where the casting of the pthread value could cause
an error. ACPICA BZ 936. Lin Ming.
2011-10-12 08:28:18 -07:00
Robert Moore
e3f7713188 Update for GCC 4.6
Fixes several issues with GCC 4.6 related to the new checks
for unused variables.
2011-10-04 07:55:35 -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
dcabd1cb73 Debugger: Add max buffer length argument to AcpiOsGetLine.
Prevent buffer overflows. Also, now returns status.
ACPICA BZ 920.
2011-05-17 14:07:44 -07:00
Robert Moore
d41344f1ec Update all ACPICA copyrights and signons to 2011.
Standard ACPICA source modules only.
2011-01-03 14:02:13 -08:00
Robert Moore
40328a6612 Cleanup Unix OSL modules. No functional change.
Reformat to ACPICA common format.
2010-09-29 09:17:44 -07:00
Robert Moore
462f3611e7 Unix application OSL: Add single-thread support.
For single threads (like iASL), semaphore support is stubbed.
2010-09-24 14:58:41 -07:00
Robert Moore
b890ef7b6b Make ACPI_THREAD_ID no longer configurable, always UINT64.
Change definition of ACPI_THREAD_ID to always be a UINT64. This simplifies
the code, especially any printf output. UINT64 is the only common data
type for all thread_id types across all operating systems. We now force
the OSL to cast the native thread_id type to UINT64 before returning
the value to ACPICA (via AcpiOsGetThreadId). Lin Ming, Bob Moore.
2010-08-20 13:37:40 -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
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
450e9850a4 Fix AcpiOsReadPciConfiguration prototype.
Prototype in acpiosxf.h had the output value pointer as a (void *).
Should be a (UINT64 *).
2010-07-16 08:43:24 -07:00
Robert Moore
654c1f0ad2 Add support for OS X in the Unix OSL.
OS X needs to use named semaphores. Conditional on __APPLE__
2010-06-08 12:22:20 -07:00
Robert Moore
ecff2c8ed5 Update/clarify some parameter names associated with ACPI_HANDLE.
Simple rename of some parameters to standardize them.
2010-04-23 10:00:16 -07:00
Robert Moore
bce1fbe326 Remove obsolete ACPI_INTEGER (acpi_integer) type.
This type was introduced as the code was migrated from ACPI 1.0 (with 32-bit
AML integers) to ACPI 2.0 (with 64-bit integers). It is now obsolete and
this change removes it from the ACPICA code base, replaced by UINT64.
The original typedef has been retained for now for compatibility with
existing device driver code.
2010-01-19 13:39:26 -08:00
Robert Moore
c7dd20b0d7 Update all ACPICA copyrights and signons to 2010.
Add 2010 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.
2010-01-08 08:49:11 -08:00
Robert Moore
90412706a2 Unix OSL: Fix return value for ALTERNATE_TIMEOUT.
Was using break improperly.
2009-04-15 13:45:45 -07:00
Robert Moore
3afe4f6545 Unix OSL: cleanup AcpiOsGetThreadId function.
Also add implemenation note about ACPI_THREAD_ID type.
2009-04-14 14:22:28 -07:00
Robert Moore
fb0ccef1ea Unix OSL: add alternate implementation for sem_timedwait.
This primitive is apparently buggy on cygwin.
2009-04-14 14:14:51 -07:00
Robert Moore
ef30c37591 Fix implementation of AML BreakPoint operator (break to debugger).
The AML BreakPoint opcode will now cause a break into the AML debugger
if it is present/configured. This matches the expected behavior per
the ACPI specification. Previously, only a message was output.
2009-04-14 10:50:38 -07:00
Robert Moore
97078cb239 Cleanup unix OSL - no functional change.
Fixed multiple coding styles.
2009-03-27 12:48:22 -07:00
Robert Moore
4df59faf08 Remove obsolete AcpiOsValidateAddress interface.
This interface is no longer necessary. Requests should be validated
on a per-field basis, not on the entire operation region.
2009-03-13 08:49:59 -07: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
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
186aaca9a7 Add semaphores to Linux/Unix application OSL.
Use libsemaphore and libpthread to implement OSL synchronization
interfaces for Linux/Unix.
2008-11-12 13:03:01 -08: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
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
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
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
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
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
1ee90e7361 Replace OsQueueForExecution with OsExecute 2006-05-11 20:52:45 +00:00
rmoore1
d0bd171bda Rename AcpiOsInterfaceSupport to final name, AcpiOsValidateInterface 2006-04-20 21:23:32 +00:00
rmoore1
a6201199b6 Deployment and support for new AcpiOsInterfaceSupport OSL interface 2006-04-19 16:34:31 +00:00
rmoore1
79e8b916e5 Deployment and support for new AcpiOsValidateAddress interface 2006-04-19 14:52:22 +00:00
rmoore1
bb44b2fbee Deploy ACPI_COMPARE_NAME 2006-03-31 23:25:59 +00:00
rmoore1
18e56ac420 Fall back to original signature defines for now. 2006-03-28 16:31:11 +00:00
rmoore1
e82c898af8 Table header update. Renames 2006-03-24 23:12:33 +00:00
rmoore1
a0a40c1202 Deploy ACPI_THREAD_ID 2006-03-10 18:32:30 +00:00
rmoore1
65a47676e4 Added new ACPI_CPU_FLAGS type 2006-01-26 23:40:07 +00:00
rmoore1
9efdd774a4 Add 2006 copyright 2006-01-09 17:47:27 +00:00
rmoore1
78e7ed4d6c change to interface, fixes a warning 2005-12-15 22:35:37 +00:00
rmoore1
6e3bd67fb3 Add external prototype 2005-11-17 16:35:07 +00:00
rmoore1
4a9dfee8b5 pointer casts 2005-11-02 20:33:17 +00:00
rmoore1
af3b745349 Changed lock flags to ACPI_NATIVE_UINT for 64-bit machines 2005-10-07 22:10:44 +00:00
aystarik
2ff3551734 Renamed some defines for clarity
date	2005.06.22.22.25.00;	author rmoore1;	state Exp;
2005-06-29 20:34:30 +00:00
aystarik
e74ee00c81 New interface to OsAcquireLock and OsReleaseLock
date	2005.06.07.17.06.00;	author rmoore1;	state Exp;
2005-06-29 20:34:29 +00:00
aystarik
37ccd44a64 added get table code
date	2004.11.18.22.56.00;	author rmoore1;	state Exp;
2005-06-29 20:34:26 +00:00
aystarik
6e6a78d007 date 2004.11.18.22.50.00; author rmoore1; state Exp; 2005-06-29 20:34:25 +00:00
aystarik
4963227967 Fix timer implementation
date	2004.09.30.18.15.00;	author rmoore1;	state Exp;
2005-06-29 20:34:24 +00:00