audk/QuarkSocPkg/QuarkNorthCluster/Include/Protocol/PchInfo.h

55 lines
1.4 KiB
C

/** @file
This file defines the QNC Info Protocol.
Copyright (c) 2013-2015 Intel Corporation.
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 _PCH_INFO_H_
#define _PCH_INFO_H_
//
// Extern the GUID for protocol users.
//
extern EFI_GUID gEfiQncInfoProtocolGuid;
//
// Forward reference for ANSI C compatibility
//
typedef struct _EFI_QNC_INFO_PROTOCOL EFI_QNC_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
// Revision 2: Add RCVersion item to EFI_QNC_INFO_PROTOCOL
//
#define QNC_INFO_PROTOCOL_REVISION_1 1
#define QNC_INFO_PROTOCOL_REVISION_2 2
//
// RCVersion[7:0] is the release number.
//
#define QNC_RC_VERSION 0x01020000
//
// Protocol definition
//
struct _EFI_QNC_INFO_PROTOCOL {
UINT8 Revision;
UINT8 BusNumber;
UINT32 RCVersion;
};
#endif