This PPI provides the super I/O register access functionality.\r
\r
Copyright (c) 2015 - 2018, 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
- http://opensource.org/licenses/bsd-license.php\r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
@par Revision Reference:\r
This PPI is from PI Version 1.2.1.\r
0x23a464ad, 0xcb83, 0x48b8, {0x94, 0xab, 0x1a, 0x6f, 0xef, 0xcf, 0xe5, 0x22} \\r
}\r
\r
-typedef struct _EFI_SIO_PPI EFI_SIO_PPI;\r
-typedef struct _EFI_SIO_PPI *PEFI_SIO_PPI;\r
+typedef struct _EFI_SIO_PPI EFI_SIO_PPI;\r
+typedef struct _EFI_SIO_PPI *PEFI_SIO_PPI;\r
\r
typedef UINT16 EFI_SIO_REGISTER;\r
-#define EFI_SIO_REG(ldn,reg) (EFI_SIO_REGISTER) (((ldn) << 8) | reg)\r
-#define EFI_SIO_LDN_GLOBAL 0xFF\r
+#define EFI_SIO_REG(ldn, reg) (EFI_SIO_REGISTER) (((ldn) << 8) | reg)\r
+#define EFI_SIO_LDN_GLOBAL 0xFF\r
\r
/**\r
Read a Super I/O register.\r
///\r
/// Specifies the end of the information list.\r
///\r
-#define EFI_ACPI_PNP_HID_END EFI_PNP_ID (0x0000)\r
+#define EFI_ACPI_PNP_HID_END EFI_PNP_ID (0x0000)\r
\r
-typedef UINT32 EFI_ACPI_HID;\r
-typedef UINT32 EFI_ACPI_UID;\r
+typedef UINT32 EFI_ACPI_HID;\r
+typedef UINT32 EFI_ACPI_UID;\r
#pragma pack(1)\r
typedef struct _EFI_SIO_INFO {\r
- EFI_ACPI_HID Hid;\r
- EFI_ACPI_UID Uid;\r
- UINT8 Ldn;\r
+ EFI_ACPI_HID Hid;\r
+ EFI_ACPI_UID Uid;\r
+ UINT8 Ldn;\r
} EFI_SIO_INFO, *PEFI_SIO_INFO;\r
#pragma pack()\r
\r
///\r
/// This function reads a register's value from the Super I/O controller.\r
///\r
- EFI_PEI_SIO_REGISTER_READ Read;\r
+ EFI_PEI_SIO_REGISTER_READ Read;\r
///\r
/// This function writes a value to a register in the Super I/O controller.\r
///\r
- EFI_PEI_SIO_REGISTER_WRITE Write;\r
+ EFI_PEI_SIO_REGISTER_WRITE Write;\r
///\r
/// This function modifies zero or more registers in the Super I/O controller\r
/// using a table.\r
///\r
- EFI_PEI_SIO_REGISTER_MODIFY Modify;\r
+ EFI_PEI_SIO_REGISTER_MODIFY Modify;\r
///\r
/// This GUID uniquely identifies the Super I/O controller.\r
///\r
- EFI_GUID SioGuid;\r
+ EFI_GUID SioGuid;\r
///\r
/// This pointer is to an array which maps EISA identifiers to logical devices numbers.\r
///\r
- PEFI_SIO_INFO Info;\r
+ PEFI_SIO_INFO Info;\r
};\r
\r
-extern EFI_GUID gEfiSioPpiGuid;\r
+extern EFI_GUID gEfiSioPpiGuid;\r
\r
#endif\r