From b7c51c9cf4864df6aabb99a1ae843becd577237c Mon Sep 17 00:00:00 2001 From: raywu Date: Fri, 15 Jun 2018 00:00:50 +0800 Subject: init. 1AQQW051 --- .../Chipset/SystemAgent/Ppi/SaPeiInit/SaPeiInit.c | 40 ++++++++++++++++++++++ .../Chipset/SystemAgent/Ppi/SaPeiInit/SaPeiInit.h | 37 ++++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 ReferenceCode/Chipset/SystemAgent/Ppi/SaPeiInit/SaPeiInit.c create mode 100644 ReferenceCode/Chipset/SystemAgent/Ppi/SaPeiInit/SaPeiInit.h (limited to 'ReferenceCode/Chipset/SystemAgent/Ppi/SaPeiInit') diff --git a/ReferenceCode/Chipset/SystemAgent/Ppi/SaPeiInit/SaPeiInit.c b/ReferenceCode/Chipset/SystemAgent/Ppi/SaPeiInit/SaPeiInit.c new file mode 100644 index 0000000..50530ed --- /dev/null +++ b/ReferenceCode/Chipset/SystemAgent/Ppi/SaPeiInit/SaPeiInit.c @@ -0,0 +1,40 @@ +/** @file + Interface definition between MRC and SaInitPeim driver. + +@copyright + Copyright (c) 1999 - 2012 Intel Corporation. All rights reserved + This software and associated documentation (if any) is furnished + under a license and may only be used or copied in accordance + with the terms of the license. Except as permitted by such + license, no part of this software or documentation may be + reproduced, stored in a retrieval system, or transmitted in any + form or by any means without the express written consent of + Intel Corporation. + + This file contains an 'Intel Peripheral Driver' and uniquely + identified as "Intel Reference Module" and is + licensed for Intel CPUs and chipsets under the terms of your + license agreement with Intel or your vendor. This file may + be modified by the user, subject to additional terms of the + license agreement +**/ + +/// +/// External include files do NOT need to be explicitly specified in real EDKII +/// environment +/// +#if !defined(EDK_RELEASE_VERSION) || (EDK_RELEASE_VERSION < 0x00020000) +#include "EdkIIGluePeim.h" +#endif + +#include "SaPeiInit.h" + +/// +/// PPI GUID definition +/// +EFI_GUID gSaPeiInitPpiGuid = SA_PEI_INIT_PPI_GUID; + +/// +/// PPI description +/// +EFI_GUID_STRING(&gSaPeiInitPpiGuid, "SA PEI Init PPI", "SA PEI Initialization PPI"); diff --git a/ReferenceCode/Chipset/SystemAgent/Ppi/SaPeiInit/SaPeiInit.h b/ReferenceCode/Chipset/SystemAgent/Ppi/SaPeiInit/SaPeiInit.h new file mode 100644 index 0000000..b82348c --- /dev/null +++ b/ReferenceCode/Chipset/SystemAgent/Ppi/SaPeiInit/SaPeiInit.h @@ -0,0 +1,37 @@ +/** @file + Interface definition between MRC and SaInitPeim driver. + +@copyright + Copyright (c) 1999 - 2012 Intel Corporation. All rights reserved + This software and associated documentation (if any) is furnished + under a license and may only be used or copied in accordance + with the terms of the license. Except as permitted by such + license, no part of this software or documentation may be + reproduced, stored in a retrieval system, or transmitted in any + form or by any means without the express written consent of + Intel Corporation. + + This file contains an 'Intel Peripheral Driver' and uniquely + identified as "Intel Reference Module" and is + licensed for Intel CPUs and chipsets under the terms of your + license agreement with Intel or your vendor. This file may + be modified by the user, subject to additional terms of the + license agreement +**/ +#ifndef _SA_PEI_INIT_H_ +#define _SA_PEI_INIT_H_ + +/// +/// Define the SA PEI Init PPI GUID +/// +#define SA_PEI_INIT_PPI_GUID \ + { \ + 0x9ea8911, 0xbe0d, 0x4230, 0xa0, 0x3, 0xed, 0xc6, 0x93, 0xb4, 0x8e, 0x11 \ + } + +/// +/// Extern the GUID for PPI users. +/// +extern EFI_GUID gSaPeiInitPpiGuid; + +#endif -- cgit v1.2.3