Source
char *cv_parent_filename) /* Parent filename associated with this node. Used for ASL/ASL+ converter */
/* SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 */
/******************************************************************************
*
* Name: aclocal.h - Internal data types used across the ACPI subsystem
*
* Copyright (C) 2000 - 2019, Intel Corp.
*
*****************************************************************************/
/* acpisrc:struct_defs -- for acpisrc conversion */
typedef u32 acpi_mutex_handle;
/* Total number of aml opcodes defined */
/* Forward declarations */
struct acpi_walk_state;
struct acpi_obj_mutex;
union acpi_parse_object;
/*****************************************************************************
*
* Mutex typedefs and structs
*
****************************************************************************/
/*
* Predefined handles for the mutex objects used within the subsystem
* All mutex objects are automatically created by acpi_ut_mutex_initialize.
*
* The acquire/release ordering protocol is implied via this list. Mutexes
* with a lower value must be acquired before mutexes with a higher value.
*
* NOTE: any changes here must be reflected in the acpi_gbl_mutex_names
* table below also!
*/
/* AML Interpreter, main lock */
/* ACPI Namespace */
/* Data for ACPI tables */
/* Data for ACPI events */
/* Internal caches, general purposes */
/* Debug memory tracking lists */
/* Lock structure for reader/writer interfaces */
struct acpi_rw_lock {
acpi_mutex writer_mutex;
acpi_mutex reader_mutex;
u32 num_readers;
};