⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 acevents.h

📁 Linux内核源代码 为压缩文件 是<<Linux内核>>一书中的源代码
💻 H
字号:
/****************************************************************************** * * Name: acevents.h - Event subcomponent prototypes and defines *       $Revision: 62 $ * *****************************************************************************//* *  Copyright (C) 2000 R. Byron Moore * *  This program is free software; you can redistribute it and/or modify *  it under the terms of the GNU General Public License as published by *  the Free Software Foundation; either version 2 of the License, or *  (at your option) any later version. * *  This program is distributed in the hope that it will be useful, *  but WITHOUT ANY WARRANTY; without even the implied warranty of *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the *  GNU General Public License for more details. * *  You should have received a copy of the GNU General Public License *  along with this program; if not, write to the Free Software *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */#ifndef __ACEVENTS_H__#define __ACEVENTS_H__ACPI_STATUSacpi_ev_initialize (	void);/* * Acpi_evfixed - Fixed event handling */ACPI_STATUSacpi_ev_fixed_event_initialize (	void);u32acpi_ev_fixed_event_detect (	void);u32acpi_ev_fixed_event_dispatch (	u32                     acpi_event);/* * Acpi_evglock - Global Lock support */ACPI_STATUSacpi_ev_acquire_global_lock(	void);voidacpi_ev_release_global_lock(	void);ACPI_STATUSacpi_ev_init_global_lock_handler (	void);/* * Acpi_evgpe - GPE handling and dispatch */ACPI_STATUSacpi_ev_gpe_initialize (	void);ACPI_STATUSacpi_ev_init_gpe_control_methods (	void);u32acpi_ev_gpe_dispatch (	u32                     gpe_number);u32acpi_ev_gpe_detect (	void);/* * Acpi_evnotify - Device Notify handling and dispatch */voidacpi_ev_notify_dispatch (	ACPI_HANDLE             device,	u32                     notify_value);/* * Acpi_evregion - Address Space handling */ACPI_STATUSacpi_ev_install_default_address_space_handlers (	void);ACPI_STATUSacpi_ev_address_space_dispatch (	ACPI_OPERAND_OBJECT    *region_obj,	u32                     function,	ACPI_PHYSICAL_ADDRESS   address,	u32                     bit_width,	u32                     *value);ACPI_STATUSacpi_ev_addr_handler_helper (	ACPI_HANDLE             obj_handle,	u32                     level,	void                    *context,	void                    **return_value);voidacpi_ev_disassociate_region_from_handler(	ACPI_OPERAND_OBJECT    *region_obj,	u8                      acpi_ns_is_locked);ACPI_STATUSacpi_ev_associate_region_and_handler (	ACPI_OPERAND_OBJECT     *handler_obj,	ACPI_OPERAND_OBJECT     *region_obj,	u8                      acpi_ns_is_locked);/* * Acpi_evregini - Region initialization and setup */ACPI_STATUSacpi_ev_system_memory_region_setup (	ACPI_HANDLE             handle,	u32                     function,	void                    *handler_context,	void                    **region_context);ACPI_STATUSacpi_ev_io_space_region_setup (	ACPI_HANDLE             handle,	u32                     function,	void                    *handler_context,	void                    **region_context);ACPI_STATUSacpi_ev_pci_config_region_setup (	ACPI_HANDLE             handle,	u32                     function,	void                    *handler_context,	void                    **region_context);ACPI_STATUSacpi_ev_default_region_setup (	ACPI_HANDLE             handle,	u32                     function,	void                    *handler_context,	void                    **region_context);ACPI_STATUSacpi_ev_initialize_region (	ACPI_OPERAND_OBJECT     *region_obj,	u8                      acpi_ns_locked);/* * Evsci - SCI (System Control Interrupt) handling/dispatch */u32acpi_ev_install_sci_handler (	void);ACPI_STATUSacpi_ev_remove_sci_handler (	void);u32acpi_ev_initialize_sCI (	u32                     program_sCI);voidacpi_ev_restore_acpi_state (	void);voidacpi_ev_terminate (	void);/* Debug support */#ifdef ACPI_DEBUGu32acpi_ev_sci_count (	u32                     acpi_event);#define DEBUG_INCREMENT_EVENT_COUNT(a)   acpi_gbl_event_count[a]++;#else#define DEBUG_INCREMENT_EVENT_COUNT(a)#endif#endif  /* __ACEVENTS_H__  */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -