// SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 /****************************************************************************** * * Module Name: utxfinit - External interfaces for ACPICA initialization * * Copyright (C) 2000 - 2023, Intel Corp. * *****************************************************************************/ #define EXPORT_ACPI_INTERFACES #include <acpi/acpi.h> #include "accommon.h" #include "acevents.h" #include "acnamesp.h" #include "acdebug.h" #include "actables.h" #define _COMPONENT … ACPI_MODULE_NAME("utxfinit") /* For acpi_exec only */ void ae_do_object_overrides(void); /******************************************************************************* * * FUNCTION: acpi_initialize_subsystem * * PARAMETERS: None * * RETURN: Status * * DESCRIPTION: Initializes all global variables. This is the first function * called, so any early initialization belongs here. * ******************************************************************************/ acpi_status ACPI_INIT_FUNCTION acpi_initialize_subsystem(void) { … } ACPI_EXPORT_SYMBOL_INIT(…) /******************************************************************************* * * FUNCTION: acpi_enable_subsystem * * PARAMETERS: flags - Init/enable Options * * RETURN: Status * * DESCRIPTION: Completes the subsystem initialization including hardware. * Puts system into ACPI mode if it isn't already. * ******************************************************************************/ acpi_status ACPI_INIT_FUNCTION acpi_enable_subsystem(u32 flags) { … } ACPI_EXPORT_SYMBOL_INIT(…) /******************************************************************************* * * FUNCTION: acpi_initialize_objects * * PARAMETERS: flags - Init/enable Options * * RETURN: Status * * DESCRIPTION: Completes namespace initialization by initializing device * objects and executing AML code for Regions, buffers, etc. * ******************************************************************************/ acpi_status ACPI_INIT_FUNCTION acpi_initialize_objects(u32 flags) { … } ACPI_EXPORT_SYMBOL_INIT(…)