/**@file @copyright INTEL CONFIDENTIAL Copyright 2010 - 2020 Intel Corporation. The source code contained or described herein and all documents related to the source code ("Material") are owned by Intel Corporation or its suppliers or licensors. Title to the Material remains with Intel Corporation or its suppliers and licensors. The Material may contain trade secrets and proprietary and confidential information of Intel Corporation and its suppliers and licensors, and is protected by worldwide copyright and trade secret laws and treaty provisions. No part of the Material may be used, copied, reproduced, modified, published, uploaded, posted, transmitted, distributed, or disclosed in any way without Intel's prior express written permission. No license under any patent, copyright, trade secret or other intellectual property right is granted to or conferred upon you by disclosure or delivery of the Materials, either expressly, by implication, inducement, estoppel or otherwise. Any license under such intellectual property rights must be express and approved by Intel in writing. Unless otherwise agreed by Intel in writing, you may not remove or alter this notice or any other notice embedded in Materials by Intel or Intel's suppliers or licensors in any way. 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. @par Specification Reference: **/ #ifndef __SetupPrivate__H__ #define __SetupPrivate__H__ #ifdef __cplusplus extern "C" { #endif #ifndef VFRCOMPILE #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include VOID EFIAPI InitString ( EFI_HII_HANDLE HiiHandle, EFI_STRING_ID StrRef, CHAR16 *sFormat, ... ); EFI_STATUS HiiLibGetString ( IN EFI_HII_HANDLE PackageList, IN EFI_STRING_ID StringId, OUT EFI_STRING String, IN OUT UINTN *StringSize ); EFI_STRING EFIAPI HiiConstructRequestString ( IN EFI_STRING RequestString, OPTIONAL IN UINTN Offset, IN UINTN Width ); typedef struct { EFI_GUID *pGuid; EFI_HII_CONFIG_ACCESS_PROTOCOL *pFormCallback; UINT16 Class, SubClass; EFI_HII_HANDLE HiiHandle; } CALLBACK_INFO; #define INVALID_HII_HANDLE NULL #endif #include #include #include #include extern SA_SETUP mSaSetup; extern ME_SETUP mMeSetup; extern CPU_SETUP mCpuSetup; extern PCH_SETUP mPchSetup; extern SETUP_DATA mSetupData; extern SETUP_VOLATILE_DATA mSetupVolatileData; #define PLATFORM_SETUP_VARSTORE_NAME PLATFORM_SETUP_VARIABLE_NAME #define MAIN_FORM_SET_GUID { 0x985eee91, 0xbcac, 0x4238, { 0x87, 0x78, 0x57, 0xef, 0xdc, 0x93, 0xf2, 0x4e } } #define ADVANCED_FORM_SET_GUID { 0xe14f04fa, 0x8706, 0x4353, { 0x92, 0xf2, 0x9c, 0x24, 0x24, 0x74, 0x6f, 0x9f } } #define CHIPSET_FORM_SET_GUID { 0xadfe34c8, 0x9ae1, 0x4f8f, { 0xbe, 0x13, 0xcf, 0x96, 0xa2, 0xcb, 0x2c, 0x5b } } #define BOOT_FORM_SET_GUID { 0x8b33ffe0, 0xd71c, 0x4f82, { 0x9c, 0xeb, 0xc9, 0x70, 0x58, 0xc1, 0x3f, 0x8e } } #define EXIT_FORM_SET_GUID { 0xa43b03dc, 0xc18a, 0x41b1, { 0x91, 0xc8, 0x3f, 0xf9, 0xaa, 0xa2, 0x57, 0x13 } } #define RESET_FORM_SET_GUID { 0x46975fe8, 0x64f6, 0x4692, { 0x8d, 0x64, 0xd5, 0x6a, 0xa7, 0x52, 0xea, 0xa9 } } #define TCG_FORM_SET_GUID { 0xb0f901e4, 0xc424, 0x45de, { 0x90, 0x81, 0x95, 0xe2, 0xb, 0xde, 0x6f, 0xb5 } } #define MAIN_FORM_SET_CLASS 0x01 #define ADVANCED_FORM_SET_CLASS 0x02 #define CHIPSET_FORM_SET_CLASS 0x04 #define BOOT_FORM_SET_CLASS 0x08 #define EXIT_FORM_SET_CLASS 0x20 #define RESET_FORM_SET_CLASS 0x40 #define LABEL_CPU_RATIO 1 /****** DO NOT WRITE BELOW THIS LINE *******/ #ifdef __cplusplus } #endif #endif