https://svn.code.sf.net/p/edk2/code/trunk/edk2/, which are for MinnowBoard MAX open source project. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: David Wei <david.wei@intel.com> Reviewed-by: Mike Wu <mike.wu@intel.com> Reviewed-by: Hot Tian <hot.tian@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16599 6f19259b-4bc3-4df7-8a09-765794883524
		
			
				
	
	
		
			67 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			67 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
/**
 | 
						|
**/
 | 
						|
/**
 | 
						|
 | 
						|
Copyright (c) 2012  - 2014, 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 that 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.
 | 
						|
 | 
						|
 | 
						|
 | 
						|
  @file
 | 
						|
  PchInfo.h
 | 
						|
 | 
						|
  @brief
 | 
						|
  This file defines the PCH Info Protocol.
 | 
						|
 | 
						|
**/
 | 
						|
#ifndef _PCH_INFO_H_
 | 
						|
#define _PCH_INFO_H_
 | 
						|
 | 
						|
 | 
						|
#define EFI_PCH_INFO_PROTOCOL_GUID \
 | 
						|
  { \
 | 
						|
    0xd31f0400, 0x7d16, 0x4316, 0xbf, 0x88, 0x60, 0x65, 0x88, 0x3b, 0x40, 0x2b \
 | 
						|
  }
 | 
						|
extern EFI_GUID                       gEfiPchInfoProtocolGuid;
 | 
						|
 | 
						|
///
 | 
						|
/// Forward reference for ANSI C compatibility
 | 
						|
///
 | 
						|
typedef struct _EFI_PCH_INFO_PROTOCOL EFI_PCH_INFO_PROTOCOL;
 | 
						|
 | 
						|
///
 | 
						|
/// Protocol revision number
 | 
						|
/// Any backwards compatible changes to this protocol will result in an update in the revision number
 | 
						|
/// Major changes will require publication of a new protocol
 | 
						|
///
 | 
						|
/// Revision 1:  Original version
 | 
						|
///
 | 
						|
#define PCH_INFO_PROTOCOL_REVISION_1  1
 | 
						|
#define PCH_INFO_PROTOCOL_REVISION_2  2
 | 
						|
 | 
						|
///
 | 
						|
/// RCVersion[7:0] is the release number.
 | 
						|
/// For example:
 | 
						|
/// VlvFramework 0.6.0-01 should be 00 06 00 01 (0x00060001)
 | 
						|
/// VlvFramework 0.6.2    should be 00 06 02 00 (0x00060200)
 | 
						|
///
 | 
						|
#define PCH_RC_VERSION                0x01000000
 | 
						|
 | 
						|
///
 | 
						|
/// Protocol definition
 | 
						|
///
 | 
						|
struct _EFI_PCH_INFO_PROTOCOL {
 | 
						|
  UINT8   Revision;
 | 
						|
  UINT8   BusNumber;
 | 
						|
  UINT32  RCVersion;
 | 
						|
};
 | 
						|
 | 
						|
#endif
 |