1 /******************************************************************************
3 * Name: achware.h -- hardware specific interfaces
6 *****************************************************************************/
9 * Copyright (C) 2000, 2001 R. Byron Moore
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 2 of the License, or
14 * (at your option) any later version.
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
30 /* PM Timer ticks per second (HZ) */
31 #define PM_TIMER_FREQUENCY 3579545
46 acpi_hw_initialize_system_info (
58 acpi_hw_get_mode_capabilities (
61 /* Register I/O Prototypes */
65 acpi_hw_register_bit_access (
66 NATIVE_UINT read_write,
69 ... /* DWORD Write Value */);
72 acpi_hw_register_read (
77 acpi_hw_register_write (
83 acpi_hw_low_level_read (
89 acpi_hw_low_level_write (
96 acpi_hw_clear_acpi_status (
100 acpi_hw_get_bit_shift (
111 acpi_hw_disable_gpe (
119 acpi_hw_get_gpe_status (
121 ACPI_EVENT_STATUS *event_status);
123 /* Sleep Prototypes */
126 acpi_hw_obtain_sleep_type_register_data (
132 /* ACPI Timer prototypes */
135 acpi_get_timer_resolution (
143 acpi_get_timer_duration (
149 #endif /* __ACHWARE_H__ */