summaryrefslogtreecommitdiff
path: root/Board/EM/Isct/Guid
diff options
context:
space:
mode:
Diffstat (limited to 'Board/EM/Isct/Guid')
-rw-r--r--Board/EM/Isct/Guid/IsctAcpiTableStorage/IsctAcpiTableStorage.c69
-rw-r--r--Board/EM/Isct/Guid/IsctAcpiTableStorage/IsctAcpiTableStorage.h64
-rw-r--r--Board/EM/Isct/Guid/IsctGuidLib.cif14
-rw-r--r--Board/EM/Isct/Guid/IsctGuidLib.inf68
-rw-r--r--Board/EM/Isct/Guid/IsctGuidLib.mak78
-rw-r--r--Board/EM/Isct/Guid/IsctGuidLib.sdl79
-rw-r--r--Board/EM/Isct/Guid/IsctPersistentData/IsctPersistentData.c60
-rw-r--r--Board/EM/Isct/Guid/IsctPersistentData/IsctPersistentData.h77
8 files changed, 509 insertions, 0 deletions
diff --git a/Board/EM/Isct/Guid/IsctAcpiTableStorage/IsctAcpiTableStorage.c b/Board/EM/Isct/Guid/IsctAcpiTableStorage/IsctAcpiTableStorage.c
new file mode 100644
index 0000000..7ba5953
--- /dev/null
+++ b/Board/EM/Isct/Guid/IsctAcpiTableStorage/IsctAcpiTableStorage.c
@@ -0,0 +1,69 @@
+//**********************************************************************
+//**********************************************************************
+//** **
+//** (C)Copyright 1985-2012, American Megatrends, Inc. **
+//** **
+//** All Rights Reserved. **
+//** **
+//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
+//** **
+//** Phone: (770)-246-8600 **
+//** **
+//**********************************************************************
+//**********************************************************************
+
+//**********************************************************************
+// $Header: /Alaska/SOURCE/Modules/SharkBayRefCodes/ISCT/IsctGuidLib/IsctAcpiTableStorage/IsctAcpiTableStorage.c 1 9/02/12 11:20p Bensonlai $
+//
+// $Revision: 1 $
+//
+// $Date: 9/02/12 11:20p $
+//**********************************************************************
+// Revision History
+// ----------------
+// $Log: /Alaska/SOURCE/Modules/SharkBayRefCodes/ISCT/IsctGuidLib/IsctAcpiTableStorage/IsctAcpiTableStorage.c $
+//
+// 1 9/02/12 11:20p Bensonlai
+// Intel Smart Connect Technology initially releases.
+//
+//
+//**********************************************************************
+//<AMI_FHDR_START>
+//
+// Name: IsctAcpiTableStorage.c
+//
+// Description: The GUID definition for Isct ACPI table storage file name
+//
+//<AMI_FHDR_END>
+//**********************************************************************
+
+//
+// Statements that include other files
+//
+#include "EdkIIGlueDxe.h"
+#include "IsctAcpiTableStorage.h"
+
+//
+// Protocol GUID definition
+//
+EFI_GUID gIsctAcpiTableStorageGuid = ISCT_ACPI_TABLE_STORAGE_GUID;
+
+//
+// Protocol description
+//
+EFI_GUID_STRING
+ (&gIsctAcpiTableStorageGuid, "Isct ACPI Table Storage File Name", "Isct ACPI Table Storage file name GUID");
+
+//**********************************************************************
+//**********************************************************************
+//** **
+//** (C)Copyright 1985-2012, American Megatrends, Inc. **
+//** **
+//** All Rights Reserved. **
+//** **
+//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
+//** **
+//** Phone: (770)-246-8600 **
+//** **
+//**********************************************************************
+//**********************************************************************
diff --git a/Board/EM/Isct/Guid/IsctAcpiTableStorage/IsctAcpiTableStorage.h b/Board/EM/Isct/Guid/IsctAcpiTableStorage/IsctAcpiTableStorage.h
new file mode 100644
index 0000000..822c7a6
--- /dev/null
+++ b/Board/EM/Isct/Guid/IsctAcpiTableStorage/IsctAcpiTableStorage.h
@@ -0,0 +1,64 @@
+//**********************************************************************
+//**********************************************************************
+//** **
+//** (C)Copyright 1985-2012, American Megatrends, Inc. **
+//** **
+//** All Rights Reserved. **
+//** **
+//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
+//** **
+//** Phone: (770)-246-8600 **
+//** **
+//**********************************************************************
+//**********************************************************************
+
+//**********************************************************************
+// $Header: /Alaska/SOURCE/Modules/SharkBayRefCodes/ISCT/IsctGuidLib/IsctAcpiTableStorage/IsctAcpiTableStorage.h 1 9/02/12 11:20p Bensonlai $
+//
+// $Revision: 1 $
+//
+// $Date: 9/02/12 11:20p $
+//**********************************************************************
+// Revision History
+// ----------------
+// $Log: /Alaska/SOURCE/Modules/SharkBayRefCodes/ISCT/IsctGuidLib/IsctAcpiTableStorage/IsctAcpiTableStorage.h $
+//
+// 1 9/02/12 11:20p Bensonlai
+// Intel Smart Connect Technology initially releases.
+//
+//
+//**********************************************************************
+//<AMI_FHDR_START>
+//
+// Name: IsctAcpiTableStorage.h
+//
+// Description: GUID definition for the Isct ACPI table storage file name
+//
+//<AMI_FHDR_END>
+//**********************************************************************
+
+#ifndef _ISCT_ACPI_TABLE_STORAGE_H_
+#define _ISCT_ACPI_TABLE_STORAGE_H_
+//FA2DDC38-3F19-4218-B53E-D9D79D626767
+#define ISCT_ACPI_TABLE_STORAGE_GUID \
+ { \
+ 0xfa2ddc38, 0x3f19, 0x4218, 0xb5, 0x3e, 0xd9, 0xd7, 0x9d, 0x62, 0x67, 0x67 \
+ }
+
+extern EFI_GUID gIsctAcpiTableStorageGuid;
+
+#endif
+
+//**********************************************************************
+//**********************************************************************
+//** **
+//** (C)Copyright 1985-2012, American Megatrends, Inc. **
+//** **
+//** All Rights Reserved. **
+//** **
+//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
+//** **
+//** Phone: (770)-246-8600 **
+//** **
+//**********************************************************************
+//**********************************************************************
diff --git a/Board/EM/Isct/Guid/IsctGuidLib.cif b/Board/EM/Isct/Guid/IsctGuidLib.cif
new file mode 100644
index 0000000..153db99
--- /dev/null
+++ b/Board/EM/Isct/Guid/IsctGuidLib.cif
@@ -0,0 +1,14 @@
+<component>
+ name = "IsctGuidLib"
+ category = ModulePart
+ LocalRoot = "Board\EM\Isct\Guid"
+ RefName = "IsctGuidLib"
+[files]
+"IsctGuidLib.sdl"
+"IsctGuidLib.mak"
+"IsctGuidLib.inf"
+"IsctAcpiTableStorage\IsctAcpiTableStorage.c"
+"IsctAcpiTableStorage\IsctAcpiTableStorage.h"
+"IsctPersistentData\IsctPersistentData.c"
+"IsctPersistentData\IsctPersistentData.h"
+<endComponent>
diff --git a/Board/EM/Isct/Guid/IsctGuidLib.inf b/Board/EM/Isct/Guid/IsctGuidLib.inf
new file mode 100644
index 0000000..b361803
--- /dev/null
+++ b/Board/EM/Isct/Guid/IsctGuidLib.inf
@@ -0,0 +1,68 @@
+#
+# This file contains a 'Sample Driver' and is licensed as such
+# under the terms of your license agreement with Intel or your
+# vendor. This file may be modified by the user, subject to
+# the additional terms of the license agreement
+#
+#/*++
+#
+# Copyright (c) 2011 - 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.
+#
+# Module Name:
+#
+# PlatformPolicyUpdatePeiLib.inf
+#
+# Abstract:
+#
+# Component description file for PEI DxePlatformPolicyUpdateLib Library
+#
+#--*/
+
+[defines]
+BASE_NAME = IsctGuidLib
+COMPONENT_TYPE = LIBRARY
+
+[sources.common]
+ IsctAcpiTableStorage\IsctAcpiTableStorage.c
+ IsctAcpiTableStorage\IsctAcpiTableStorage.h
+ IsctPersistentData\IsctPersistentData.c
+ IsctPersistentData\IsctPersistentData.h
+
+[sources.ia32]
+
+[sources.x64]
+
+[sources.ipf]
+
+[includes.common]
+ .
+ $(BUILD_DIR)\$(PROCESSOR)
+ $(EDK_SOURCE)\Foundation\Efi
+ $(EDK_SOURCE)\Foundation\Include
+ $(EDK_SOURCE)\Foundation\Efi\Include
+ $(EDK_SOURCE)\Foundation\Framework\Include
+
+#
+# EDK II Glue Library utilizes some standard headers from EDK
+#
+ $(EFI_SOURCE)
+ $(EDK_SOURCE)\Foundation
+ $(EDK_SOURCE)\Foundation\Framework
+ $(EDK_SOURCE)\Foundation\Include\IndustryStandard
+ $(EDK_SOURCE)\Foundation\Core\Dxe
+ $(EDK_SOURCE)\Foundation\Include\Pei
+ $(EDK_SOURCE)\Foundation\Library\Pei\Include
+ $(EDK_SOURCE)\Foundation\Library\Dxe\Include
+ $(EDK_SOURCE)\Foundation\Library\EdkIIGlueLib\Include
+# $(PLATFORM_ECP_PACKAGE)\Include
+
+[libraries.common]
+
+[nmake.common]
diff --git a/Board/EM/Isct/Guid/IsctGuidLib.mak b/Board/EM/Isct/Guid/IsctGuidLib.mak
new file mode 100644
index 0000000..09b58ad
--- /dev/null
+++ b/Board/EM/Isct/Guid/IsctGuidLib.mak
@@ -0,0 +1,78 @@
+#**********************************************************************
+#**********************************************************************
+#** **
+#** (C)Copyright 1985-2012, American Megatrends, Inc. **
+#** **
+#** All Rights Reserved. **
+#** **
+#** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
+#** **
+#** Phone: (770)-246-8600 **
+#** **
+#**********************************************************************
+#**********************************************************************
+
+#**********************************************************************
+# $Header: /Alaska/SOURCE/Modules/SharkBayRefCodes/ISCT/IsctGuidLib/IsctGuidLib.mak 1 9/02/12 11:20p Bensonlai $
+#
+# $Revision: 1 $
+#
+# $Date: 9/02/12 11:20p $
+#**********************************************************************
+# Revision History
+# ----------------
+# $Log: /Alaska/SOURCE/Modules/SharkBayRefCodes/ISCT/IsctGuidLib/IsctGuidLib.mak $
+#
+# 1 9/02/12 11:20p Bensonlai
+# Intel Smart Connect Technology initially releases.
+#
+#
+#**********************************************************************
+#<AMI_FHDR_START>
+#
+# Name: IsctGuidLib.mak
+#
+# Description: Make file to build IsctSmm components.
+#
+#
+#<AMI_FHDR_END>
+#**********************************************************************
+
+all : IsctGuidLib
+
+$(IsctGuidLib_LIB) : IsctGuidLib
+
+IsctGuidLib : $(BUILD_DIR)\IsctGuidLib.mak IsctGuidLibBin
+
+$(BUILD_DIR)\IsctGuidLib.mak : $(IsctGuidLib_DIR)\$(@B).cif $(IsctGuidLib_DIR)\$(@B).mak $(BUILD_RULES)
+ $(CIF2MAK) $(IsctGuidLib_DIR)\$(@B).cif $(CIF2MAK_DEFAULTS)
+
+IsctGuidLib_INCLUDES =\
+ $(EDK_INCLUDES)\
+ $(INTEL_PCH_INCLUDES)\
+ $(EdkIIGlueLib_INCLUDES)\
+
+IsctGuidLibBin :
+ $(MAKE) /$(MAKEFLAGS) $(EDKIIGLUE_DEFAULTS)\
+ /f $(BUILD_DIR)\IsctGuidLib.mak all\
+ "MY_INCLUDES=$(IsctGuidLib_INCLUDES)" \
+ TYPE=LIBRARY
+!IF "$(x64_BUILD)"=="1"
+ $(MAKE) /$(MAKEFLAGS) $(EDKIIGLUE_DEFAULTS) BUILD_DIR=$(BUILD_DIR)\IA32\
+ /f $(BUILD_DIR)\IsctGuidLib.mak all\
+ "MY_INCLUDES=$(IsctGuidLib_INCLUDES)" \
+ TYPE=PEI_LIBRARY
+!ENDIF
+#*************************************************************************
+#*************************************************************************
+#** **
+#** (C)Copyright 1985-2012, American Megatrends, Inc. **
+#** **
+#** All Rights Reserved. **
+#** **
+#** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
+#** **
+#** Phone: (770)-246-8600 **
+#** **
+#*************************************************************************
+#*************************************************************************
diff --git a/Board/EM/Isct/Guid/IsctGuidLib.sdl b/Board/EM/Isct/Guid/IsctGuidLib.sdl
new file mode 100644
index 0000000..ed843c9
--- /dev/null
+++ b/Board/EM/Isct/Guid/IsctGuidLib.sdl
@@ -0,0 +1,79 @@
+#**********************************************************************
+#**********************************************************************
+#** **
+#** (C)Copyright 1985-2012, American Megatrends, Inc. **
+#** **
+#** All Rights Reserved. **
+#** **
+#** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
+#** **
+#** Phone: (770)-246-8600 **
+#** **
+#**********************************************************************
+#**********************************************************************
+
+#**********************************************************************
+# $Header: /Alaska/SOURCE/Modules/SharkBayRefCodes/ISCT/IsctGuidLib/IsctGuidLib.sdl 1 9/02/12 11:20p Bensonlai $
+#
+# $Revision: 1 $
+#
+# $Date: 9/02/12 11:20p $
+#**********************************************************************
+# Revision History
+# ----------------
+# $Log: /Alaska/SOURCE/Modules/SharkBayRefCodes/ISCT/IsctGuidLib/IsctGuidLib.sdl $
+#
+# 1 9/02/12 11:20p Bensonlai
+# Intel Smart Connect Technology initially releases.
+#
+#
+#**********************************************************************
+#<AMI_FHDR_START>
+#
+# Name: IsctGuidLib.sdl
+#
+# Description: SDL file for IsctGuidLib
+#
+#
+#<AMI_FHDR_END>
+#**********************************************************************
+
+TOKEN
+ Name = "IsctGuidLib_SUPPORT"
+ Value = "1"
+ TokenType = Boolean
+ TargetEQU = Yes
+ TargetMAK = Yes
+ TargetH = Yes
+ Master = Yes
+ Help = "Main switch to enable ISCT GUID LIB support in Project"
+End
+
+MODULE
+ File = "IsctGuidLib.mak"
+ Help = "Includes IsctGuidLib.mak to Project"
+End
+
+PATH
+ Name = "IsctGuidLib_DIR"
+End
+
+TOKEN
+ Name = "IsctGuidLib_LIB"
+ Value = "$$(LIB_BUILD_DIR)\IsctGuidLib.lib"
+ TokenType = Expression
+ TargetMAK = Yes
+End
+#*************************************************************************
+#*************************************************************************
+#** **
+#** (C)Copyright 1985-2012, American Megatrends, Inc. **
+#** **
+#** All Rights Reserved. **
+#** **
+#** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
+#** **
+#** Phone: (770)-246-8600 **
+#** **
+#*************************************************************************
+#*************************************************************************
diff --git a/Board/EM/Isct/Guid/IsctPersistentData/IsctPersistentData.c b/Board/EM/Isct/Guid/IsctPersistentData/IsctPersistentData.c
new file mode 100644
index 0000000..fd06f89
--- /dev/null
+++ b/Board/EM/Isct/Guid/IsctPersistentData/IsctPersistentData.c
@@ -0,0 +1,60 @@
+//**********************************************************************
+//**********************************************************************
+//** **
+//** (C)Copyright 1985-2012, American Megatrends, Inc. **
+//** **
+//** All Rights Reserved. **
+//** **
+//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
+//** **
+//** Phone: (770)-246-8600 **
+//** **
+//**********************************************************************
+//**********************************************************************
+
+//**********************************************************************
+// $Header: /Alaska/SOURCE/Modules/SharkBayRefCodes/ISCT/IsctGuidLib/IsctPersistentData/IsctPersistentData.c 1 9/02/12 11:20p Bensonlai $
+//
+// $Revision: 1 $
+//
+// $Date: 9/02/12 11:20p $
+//**********************************************************************
+// Revision History
+// ----------------
+// $Log: /Alaska/SOURCE/Modules/SharkBayRefCodes/ISCT/IsctGuidLib/IsctPersistentData/IsctPersistentData.c $
+//
+// 1 9/02/12 11:20p Bensonlai
+// Intel Smart Connect Technology initially releases.
+//
+//
+//**********************************************************************
+//<AMI_FHDR_START>
+//
+// Name: IsctPersistentData.c
+//
+// Description: The GUID definition for Isct Persistent Data
+//
+//<AMI_FHDR_END>
+//**********************************************************************
+
+#include "EdkIIGlueDxe.h"
+#include "IsctPersistentData.h"
+
+EFI_GUID gIsctPersistentDataGuid = ISCT_PERSISTENT_DATA_GUID;
+
+EFI_GUID_STRING
+ (&gIsctPersistentDataGuid, "Isct Persistent Data", "Isct Persistent Data GUID");
+
+//**********************************************************************
+//**********************************************************************
+//** **
+//** (C)Copyright 1985-2012, American Megatrends, Inc. **
+//** **
+//** All Rights Reserved. **
+//** **
+//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
+//** **
+//** Phone: (770)-246-8600 **
+//** **
+//**********************************************************************
+//**********************************************************************
diff --git a/Board/EM/Isct/Guid/IsctPersistentData/IsctPersistentData.h b/Board/EM/Isct/Guid/IsctPersistentData/IsctPersistentData.h
new file mode 100644
index 0000000..7846751
--- /dev/null
+++ b/Board/EM/Isct/Guid/IsctPersistentData/IsctPersistentData.h
@@ -0,0 +1,77 @@
+//**********************************************************************
+//**********************************************************************
+//** **
+//** (C)Copyright 1985-2012, American Megatrends, Inc. **
+//** **
+//** All Rights Reserved. **
+//** **
+//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
+//** **
+//** Phone: (770)-246-8600 **
+//** **
+//**********************************************************************
+//**********************************************************************
+
+//**********************************************************************
+// $Header: /Alaska/SOURCE/Modules/SharkBayRefCodes/ISCT/IsctGuidLib/IsctPersistentData/IsctPersistentData.h 2 7/16/14 1:59a Mirayang $
+//
+// $Revision: 2 $
+//
+// $Date: 7/16/14 1:59a $
+//**********************************************************************
+// Revision History
+// ----------------
+// $Log: /Alaska/SOURCE/Modules/SharkBayRefCodes/ISCT/IsctGuidLib/IsctPersistentData/IsctPersistentData.h $
+//
+// 2 7/16/14 1:59a Mirayang
+// Add complete function with iRST.
+//
+// 1 9/02/12 11:20p Bensonlai
+// Intel Smart Connect Technology initially releases.
+//
+//
+//**********************************************************************
+//<AMI_FHDR_START>
+//
+// Name: IsctPersistentData.h
+//
+// Description: GUID definition for the Isct Persistent Data
+//
+//<AMI_FHDR_END>
+//**********************************************************************
+
+#ifndef _ISCT_PERSISTENT_DATA_H_
+#define _ISCT_PERSISTENT_DATA_H_
+
+// GUID {69A20012-B167-4e35-A999-98EE0835F02E}
+#define ISCT_PERSISTENT_DATA_GUID \
+ { \
+ 0x69a20012, 0xb167, 0x4e35, 0xa9, 0x99, 0x98, 0xee, 0x8, 0x35, 0xf0, 0x2e \
+ }
+
+#define ISCT_PERSISTENT_DATA_NAME L"IsctData"
+
+extern EFI_GUID gIsctPersistentDataGuid;
+
+#pragma pack(1)
+typedef struct {
+ UINT32 IsctNvsPtr;
+ UINT8 IsctOverWrite;
+} ISCT_PERSISTENT_DATA;
+#pragma pack()
+
+#endif
+
+//**********************************************************************
+//**********************************************************************
+//** **
+//** (C)Copyright 1985-2012, American Megatrends, Inc. **
+//** **
+//** All Rights Reserved. **
+//** **
+//** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 **
+//** **
+//** Phone: (770)-246-8600 **
+//** **
+//**********************************************************************
+//**********************************************************************