diff options
author | Bob Moore <robert.moore@intel.com> | 2009-03-18 21:37:47 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-03-27 12:11:03 -0400 |
commit | 7f0719039085cc40114abce84cf29fe57da226f4 (patch) | |
tree | 8e210cd936bfb11fdc122b44d79100660b8ffb6a /drivers/acpi/acpica/aclocal.h | |
parent | 20869dcfde204e1c21b642608d708d82472fee2b (diff) |
ACPICA: New: I/O port protection
Protect certain I/O ports from reads/writes. Provides MS
compatibility. New module, hwvalid.c
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/aclocal.h')
-rw-r--r-- | drivers/acpi/acpica/aclocal.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/drivers/acpi/acpica/aclocal.h b/drivers/acpi/acpica/aclocal.h index f01e155b2bcc..42ef0cbf70f8 100644 --- a/drivers/acpi/acpica/aclocal.h +++ b/drivers/acpi/acpica/aclocal.h | |||
@@ -863,6 +863,30 @@ struct acpi_bit_register_info { | |||
863 | 863 | ||
864 | #define ACPI_BITPOSITION_ARB_DISABLE 0x00 | 864 | #define ACPI_BITPOSITION_ARB_DISABLE 0x00 |
865 | 865 | ||
866 | /* Structs and definitions for _OSI support and I/O port validation */ | ||
867 | |||
868 | #define ACPI_OSI_WIN_2000 0x01 | ||
869 | #define ACPI_OSI_WIN_XP 0x02 | ||
870 | #define ACPI_OSI_WIN_XP_SP1 0x03 | ||
871 | #define ACPI_OSI_WINSRV_2003 0x04 | ||
872 | #define ACPI_OSI_WIN_XP_SP2 0x05 | ||
873 | #define ACPI_OSI_WINSRV_2003_SP1 0x06 | ||
874 | #define ACPI_OSI_WIN_VISTA 0x07 | ||
875 | |||
876 | #define ACPI_ALWAYS_ILLEGAL 0x00 | ||
877 | |||
878 | struct acpi_interface_info { | ||
879 | char *name; | ||
880 | u8 value; | ||
881 | }; | ||
882 | |||
883 | struct acpi_port_info { | ||
884 | char *name; | ||
885 | u16 start; | ||
886 | u16 end; | ||
887 | u8 osi_dependency; | ||
888 | }; | ||
889 | |||
866 | /***************************************************************************** | 890 | /***************************************************************************** |
867 | * | 891 | * |
868 | * Resource descriptors | 892 | * Resource descriptors |