Add the SuperIoInit protocol to MdePkg.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11163 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
niruiyu 2010-12-14 06:57:22 +00:00
parent 4bad9adabc
commit 204df563fe
2 changed files with 45 additions and 0 deletions

View File

@ -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.<BR>
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__

View File

@ -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 }}