/** @file\r
EFI PCAT ISA ACPI Driver for a Generic PC Platform\r
\r
-Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2017, Intel Corporation. All rights reserved.<BR>\r
This program and the accompanying materials \r
are licensed and made available under the terms and conditions of the BSD License \r
which accompanies this distribution. The full text of the license may be found at \r
\r
#include <Library/UefiLib.h>\r
#include <Library/UefiBootServicesTableLib.h>\r
+#include <Library/BaseMemoryLib.h>\r
+#include <Library/PcdLib.h>\r
\r
#include <Protocol/IsaAcpi.h>\r
//\r
EFI_HANDLE Handle; \r
EFI_ISA_ACPI_PROTOCOL IsaAcpi;\r
EFI_PCI_IO_PROTOCOL *PciIo;\r
+ UINT64 OriginalAttributes;\r
} PCAT_ISA_ACPI_DEV;\r
\r
#define PCAT_ISA_ACPI_DEV_FROM_THIS(a) BASE_CR(a, PCAT_ISA_ACPI_DEV, IsaAcpi)\r
@param Device Point to device ID instance \r
\r
@retval EFI_NOT_FOUND Can not found the next Isa device.\r
- @retval EFI_SUCESS Success retrieve the next Isa device for enumration.\r
+ @retval EFI_SUCCESS Success retrieve the next Isa device for enumration.\r
\r
**/\r
EFI_STATUS\r
@param OnOff TRUE for setting isa device power on,\r
FALSE for setting isa device power off\r
\r
- @return EFI_SUCCESS Sucess to change power status for isa device.\r
+ @return EFI_SUCCESS Success to change power status for isa device.\r
**/\r
EFI_STATUS\r
EFIAPI\r
@param Device Point to device ID instance \r
@param ResourceList Point to resources instances for given isa device\r
\r
- @return EFI_SUCESS Success to set resource.\r
+ @return EFI_SUCCESS Success to set resource.\r
\r
**/\r
EFI_STATUS\r
@param Device Point to device ID instance \r
@param Enable Enable/Disable\r
\r
- @return EFI_SUCESS Success to enable/disable.\r
+ @return EFI_SUCCESS Success to enable/disable.\r
\r
**/\r
EFI_STATUS\r
@param This Point to instance of EFI_ISA_ACPI_PROTOCOL\r
@param Device Point to device ID instance \r
\r
- @return EFI_SUCESS Success to initialize.\r
+ @return EFI_SUCCESS Success to initialize.\r
\r
**/\r
EFI_STATUS\r
\r
@param This Point to instance of EFI_ISA_ACPI_PROTOCOL\r
\r
- @return EFI_SUCESS Success to initialize ISA interface.\r
+ @return EFI_SUCCESS Success to initialize ISA interface.\r
\r
**/\r
EFI_STATUS\r
IN EFI_ISA_ACPI_PROTOCOL *This\r
); \r
\r
+/**\r
+ Initialize the ISA device list.\r
+**/\r
+VOID\r
+InitializePcatIsaAcpiDeviceList (\r
+ VOID\r
+ );\r
+\r
#endif\r