summaryrefslogtreecommitdiff
path: root/source/os_specific/service_layers/oswinxf.c
AgeCommit message (Collapse)Author
2014-02-19Update comments for ACPICA name - no functional change.Robert Moore
Change all comments that contain the string "ACPI CA" to "ACPICA" so that the name is standard across the entire source base.
2014-02-13iASL: Remove -g option (get ACPI tables from registry).Robert Moore
This option was only available on Windows. It has been made obsolete by the acpidump utility, so it is removed from iASL.
2014-01-06Update ACPICA copyrights to 2014.Robert Moore
Update ACPICA copyrights to 2014. Includes all source headers and signons for the various tools.
2013-12-17Utilities: Cleanup declarations of the AcpiGbl_DebugFile global.Robert Moore
This global is acting as an OSL global variable, implemented in the oswinxf.c and osunixxf.c. This patch cleans up the definition of this variable so that new utilities do not need to define it in order to link. Lv Zheng.
2013-09-25Cleanup global variable that is used only by OSL code.Robert Moore
Move AcpiGbl_DebugTimeout from AcpiExec to the OSL layer so that any new utilities linked to the OSL file(s) won't have to define it in order to link. Lv Zheng.
2013-08-09Application OSLs: Set return value for the PCI read functions.Robert Moore
These functions simply return AE_OK, but should set the return value to zero also. This fix implements this. ACPICA BZ 1038.
2013-05-02New: Portable acpidump utility (get system ACPI tables).Robert Moore
This utility dumps the system ACPI tables in an ascii format suitable for extraction via the acpixtract utility. The main code is portable across environments and hosts. To port the code, only 3 functions need to be written specifically to obtain the binary tables from the system. In this version, Windows is supported. Linux support will be added later. ACPICA bugzilla 859.
2013-04-23Standardize all switch() blocks.Robert Moore
After many years, different formatting for switch() has crept in. This change makes every switch block identical. Chao Guan. ACPICA bugzilla 997.
2013-04-12Windows OSL: Remove obsolete reference to memory list field.Robert Moore
The LinkOffset field has been removed. Caused a compile problem if the local cache is not used. (Windows utilities only.)
2013-01-15Utilities: Performance update for OSL AcpiOsPrintf function.Robert Moore
Duplicates some of the code within AcpiOsVprintf for performance reasons. Call vfprintf directly instead of simply calling AcpiOsVprintf. Updates both the Unix and Windows OSL files. Chao Guan.
2013-01-08Update ACPICA copyrights to 2013.Robert Moore
Includes all source headers and signons for the various tools.
2012-11-26Add time macros for various timer/time manipulation.Robert Moore
Constants for time manipulation, including constants for the 100 nanosecond timers. Chao Guan, Bob Moore, Lv Zheng.
2012-10-12Deploy ACPI_MOVE_NAME across ACPICA source base.Robert Moore
Replaces instances of strncpy(...,4) for ACPI_NAMEs. ACPI_MOVE_NAME optimizes these to a single 32-bit copy on machines that support misaligned transfers.
2012-09-27Small fix for standard Intel legal header.Robert Moore
Remove an extraneous space after a comma, for consistency.
2012-09-26Remove extra spaces after periods in the Intel license.Robert Moore
For consistency with the rest of the source code.
2012-09-21ACPICA core: Cleanup empty lines at file start and end.Robert Moore
Maintenance for source code consistency.
2012-07-12Remove use of scanf to read single characters.Robert Moore
Replace heavy scanf with simple getchar.
2012-05-16Introduce AcpiOsWaitEventsComplete interface.Robert Moore
This interface will block until asynchronous events like notifies and GPEs are complete. Within ACPICA, it is called before a notify or GPE handler is removed. ACPICA BZ 868.
2012-02-09Add AcpiOsPhysicalTableOverride interface.Robert Moore
This interface allows the host to override a table via a physical address, instead of the logical address required by AcpiOsTableOverride. This simplifies the host implementation. Initial implementation by Thomas Renninger. ACPICA implementation creates a single function for table overrides that attempts both a logical and a physical override.
2012-02-02Expand OSL memory read/write interfaces to 64 bits.Robert Moore
This change expands AcpiOsReadMemory and AcpiOsWriteMemory to a full 64 bits. This allows 64 bit transfers via the AcpiRead and AcpiWrite interfaces. Note: The internal AcpiHwRead and AcpiHwWrite interfaces remain at 32 bits, because 64 bits is not needed to access the standard ACPI registers.
2012-01-03Update ACPICA copyrights to 2012.Robert Moore
Standard ACPICA source modules only.
2011-10-28Add error msg for unsupported I/O requests (not 8/16/32 bit length)Robert Moore
Also add messages to the windows OSL Port I/O interfaces.
2011-06-08Service Layers: Make multi-thread support configurable.Robert Moore
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-05-17Debugger: Add max buffer length argument to AcpiOsGetLine.Robert Moore
Prevent buffer overflows. Also, now returns status. ACPICA BZ 920.
2011-01-03Update all ACPICA copyrights and signons to 2011.Robert Moore
Standard ACPICA source modules only.
2010-12-17Update ordering of include files.Robert Moore
The ACPICA headers should appear before any compiler-specific headers (stdio.h, etc.) so that acenv.h can set any necessary compiler-specific defines, etc.
2010-09-24Cleanup Windows OSL modules. No functional change.Robert Moore
Reformat to ACPICA common format.
2010-09-24Replace _MULTI_THREADED with ACPI_SINGLE_THREADED and cleanup.Robert Moore
Cleanup the optional multi/single threaded code for semaphores.
2010-08-20Make ACPI_THREAD_ID no longer configurable, always UINT64.Robert Moore
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-17Obsolete the AcpiOsDerivePciId OSL interface.Robert Moore
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-05Add new host interfaces for _OSI support.Robert Moore
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-07-16Fix AcpiOsReadPciConfiguration prototype.Robert Moore
Prototype in acpiosxf.h had the output value pointer as a (void *). Should be a (UINT64 *).
2010-05-20iASL/Tools: Replace all %d format specifiers with %u (unsigned).Robert Moore
With only a few exceptions, ACPICA does not use signed integers. Therefore, %d is incorrect.
2010-04-23Update/clarify some parameter names associated with ACPI_HANDLE.Robert Moore
Simple rename of some parameters to standardize them.
2010-03-30iASL: Update -g option (get local tables) for Windows 7.Robert Moore
Changed requested permissions for registry access. Updated error messages to format/display windows exception code.
2010-03-12Automated cleanup.Robert Moore
Some extra spaces removed.
2010-03-03Add local cache interfaces for testing purposes only.Robert Moore
Optional code for windows interface only.
2010-03-02Standardize integer output for ACPICA warnings/errors.Robert Moore
Always use 0x prefix for hex output, use %u for integer output (all integers are unsigned.) Affects ACPI_INFO, ACPI_ERROR, ACPI_WARNING, and ACPI_EXCEPTION. ACPICA BZ 835.
2010-01-19Remove obsolete ACPI_INTEGER (acpi_integer) type.Robert Moore
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-08Update all ACPICA copyrights and signons to 2010.Robert Moore
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.
2009-04-15Win OSL: comment update.Robert Moore
Fix non-ansi comment.
2009-04-14Fix implementation of AML BreakPoint operator (break to debugger).Robert Moore
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-03-26acpiexec: Add option for debug semaphore timeout (-z).Robert Moore
This option will cause all semaphores/mutexes to timeout after 30 seconds with an error message. Used to help diagnose hang conditions.
2009-03-25Increase max sempahores for windows OSL.Robert Moore
Increase tracking array size to 256 in order to run the large ASLTS test suite.
2009-03-13Remove obsolete AcpiOsValidateAddress interface.Robert Moore
This interface is no longer necessary. Requests should be validated on a per-field basis, not on the entire operation region.
2009-01-21Update Windows OSL.Robert Moore
Cleanup the AcpiOsTableOverride function.
2009-01-20iASL: Split windows table access to new file (-g).Robert Moore
Split the acpi table access (in registry) to a new file. Prepares for integrating acpidump utility into acpica.
2009-01-08Update all copyrights and signons to 2009.Robert Moore
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.
2008-12-09Allow OS override of all ACPI tables.Robert Moore
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-10-22Restructure includes into public/private.Robert Moore
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.