12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- /*++
- Copyright (c) 2012 Minoca Corp.
- This file is licensed under the terms of the GNU General Public License
- version 3. Alternative licensing terms are available. Contact
- info@minocacorp.com for details. See the LICENSE file at the root of this
- project for complete licensing information.
- Module Name:
- acpi.h
- Abstract:
- This header contains definitions for the kernel's implementation of support
- for the Advanced Configuration and Power Interface (ACPI).
- Author:
- Evan Green 4-Aug-2012
- --*/
- //
- // ------------------------------------------------------------------- Includes
- //
- #include <minoca/fw/acpitabs.h>
- //
- // ---------------------------------------------------------------- Definitions
- //
- //
- // Define the ACPI allocation tag: ACPI.
- //
- #define ACPI_ALLOCATION_TAG 0x49504341
- //
- // Define the ACPI resource allocation tag: AcpR.
- //
- #define ACPI_RESOURCE_ALLOCATION_TAG 0x52706341
- //
- // ------------------------------------------------------ Data Type Definitions
- //
- //
- // -------------------------------------------------------------------- Globals
- //
- extern PVOID AcpiTables;
- extern ULONG AcpiTablesSize;
- //
- // -------------------------------------------------------- Function Prototypes
- //
- KERNEL_API
- PVOID
- AcpiFindTable (
- ULONG Signature,
- PVOID PreviousTable
- );
- /*++
- Routine Description:
- This routine attempts to find an ACPI description table with the given
- signature. This routine can also be used to find the SMBIOS table.
- Arguments:
- Signature - Supplies the signature of the desired table.
- PreviousTable - Supplies a pointer to the table to start the search from.
- Return Value:
- Returns a pointer to the beginning of the header to the table if the table
- was found, or NULL if the table could not be located.
- --*/
|