From 204df563fef4b3e9cd95502821f78e685f7dbef7 Mon Sep 17 00:00:00 2001 From: niruiyu Date: Tue, 14 Dec 2010 06:57:22 +0000 Subject: Add the SuperIoInit protocol to MdePkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11163 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Protocol/SuperIoInit.h | 42 +++++++++++++++++++++++++++++++++++ MdePkg/MdePkg.dec | 3 +++ 2 files changed, 45 insertions(+) create mode 100644 MdePkg/Include/Protocol/SuperIoInit.h (limited to 'MdePkg') diff --git a/MdePkg/Include/Protocol/SuperIoInit.h b/MdePkg/Include/Protocol/SuperIoInit.h new file mode 100644 index 0000000000..fa649b6789 --- /dev/null +++ b/MdePkg/Include/Protocol/SuperIoInit.h @@ -0,0 +1,42 @@ +/** @file + The EFI_SIO_INIT_PROTOCOL provides the I/O resource information to the + Super I/O bus driver. This protocol is mandatory for Super I/O controllers + if the Super I/O controller is to be managed by the Super I/O bus driver. + + Copyright (c) 2010, Intel Corporation. All rights reserved.
+ This program and the accompanying materials + are licensed and made available under the terms and conditions of the BSD License + which accompanies this distribution. The full text of the license may be found at + http://opensource.org/licenses/bsd-license.php + + THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + +**/ + +#ifndef __EFI_SUPER_IO_INIT_PROTOCOL_H__ +#define __EFI_SUPER_IO_INIT_PROTOCOL_H__ + +#define EFI_SIO_INIT_PROTOCOL_GUID \ + { 0x9fe35634, 0x87ca, 0x4569, { 0xbf, 0x55, 0xda, 0x24, 0xef, 0x41, 0x64, 0xd2 } } + +typedef struct { + /// + /// The Config Port of the Super I/O controller. + /// + UINT16 ConfigPort; + + /// + /// The Index Port of the Super I/O controller. + /// + UINT16 IndexPort; + + /// + /// The Data Port of the Super I/O controller. + /// + UINT16 DataPort; +} EFI_SIO_INIT_PROTOCOL; + +extern EFI_GUID gEfiSioInitProtocolGuid; + +#endif // __EFI_SUPER_IO_INIT_PROTOCOL_H__ diff --git a/MdePkg/MdePkg.dec b/MdePkg/MdePkg.dec index cdcab950ca..c47178ed8c 100644 --- a/MdePkg/MdePkg.dec +++ b/MdePkg/MdePkg.dec @@ -662,6 +662,9 @@ ## Include/Protocol/AcpiSystemDescriptionTable.h gEfiAcpiSdtProtocolGuid = { 0xeb97088e, 0xcfdf, 0x49c6, { 0xbe, 0x4b, 0xd9, 0x6, 0xa5, 0xb2, 0xe, 0x86 }} + ## Include/Protocol/SuperIoInit.h + gEfiSioInitProtocolGuid = { 0x9fe35634, 0x87ca, 0x4569, { 0xbf, 0x55, 0xda, 0x24, 0xef, 0x41, 0x64, 0xd2 }} + ## Include/Protocol/SuperIo.h gEfiSioProtocolGuid = { 0x215fdd18, 0xbd50, 0x4feb, { 0x89, 0xb, 0x58, 0xca, 0xb, 0x47, 0x39, 0xe9 }} -- cgit v1.2.3