From b7c51c9cf4864df6aabb99a1ae843becd577237c Mon Sep 17 00:00:00 2001 From: raywu Date: Fri, 15 Jun 2018 00:00:50 +0800 Subject: init. 1AQQW051 --- Include/Protocol/AmiSmmInfo.h | 90 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 Include/Protocol/AmiSmmInfo.h (limited to 'Include/Protocol/AmiSmmInfo.h') diff --git a/Include/Protocol/AmiSmmInfo.h b/Include/Protocol/AmiSmmInfo.h new file mode 100644 index 0000000..5debe9f --- /dev/null +++ b/Include/Protocol/AmiSmmInfo.h @@ -0,0 +1,90 @@ +//************************************************************************* +//************************************************************************* +//** ** +//** (C)Copyright 1985-2010, American Megatrends, Inc. ** +//** ** +//** All Rights Reserved. ** +//** ** +//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 ** +//** ** +//** Phone: (770)-246-8600 ** +//** ** +//************************************************************************* +//************************************************************************* + +//********************************************************************** +// $Header: /Alaska/SOURCE/Modules/SMM/AmiSmmInfo.h 1 2/25/10 5:17p Markw $ +// +// $Revision: 1 $ +// +// $Date: 2/25/10 5:17p $ +//********************************************************************** +// Revision History +// ---------------- +// $Log: /Alaska/SOURCE/Modules/SMM/AmiSmmInfo.h $ +// +// 1 2/25/10 5:17p Markw +// Initial version +// +//********************************************************************** + +// +//---------------------------------------------------------------------------- +// +// Name: AmiSmmInfo.h +// +// Description: Provide AMI Smm Info +// +//---------------------------------------------------------------------------- +// + +#ifndef __AMI_SMM_INFO_H__ +#define __AMI_SMM_INFO_H__ +#ifdef __cplusplus +extern "C" { +#endif +#include + +// {EB5198EB-E7F5-45a1-9CCB-E53364BB4992} +#define AMI_SMM_INFO_PROTOCOL_GUID \ + {0xeb5198eb, 0xe7f5, 0x45a1, 0x9c, 0xcb, 0xe5, 0x33, 0x64, 0xbb, 0x49, 0x92} + +GUID_VARIABLE_DECLARATION(gAmiSmmInfoProtcolGuid, AMI_SMM_INFO_PROTOCOL_GUID); + +typedef struct _AMI_SMM_INFO_PROTOCOL AMI_SMM_INFO_PROTOCOL; + + +typedef EFI_STATUS (EFIAPI *GET_NUM_OF_CPUS_INSIDE_SMM) ( + IN AMI_SMM_INFO_PROTOCOL *This, + OUT UINT32 *Cpus +); + + +struct _AMI_SMM_INFO_PROTOCOL { + UINT32 ProtocolVer; + GET_NUM_OF_CPUS_INSIDE_SMM GetNumOfCpusInsideSmm; +}; + + +/****** DO NOT WRITE BELOW THIS LINE *******/ +#ifdef __cplusplus +} +#endif +#endif + +//************************************************************************* +//************************************************************************* +//** ** +//** (C)Copyright 1985-2009, American Megatrends, Inc. ** +//** ** +//** All Rights Reserved. ** +//** ** +//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 ** +//** ** +//** Phone: (770)-246-8600 ** +//** ** +//************************************************************************* +//************************************************************************* + + + -- cgit v1.2.3