1 /*++ 2 3 Copyright (c) 2004 - 2014, Intel Corporation. All rights reserved.<BR> 4 5 This program and the accompanying materials are licensed and made available under 7 the terms and conditions of the BSD License that accompanies this distribution. 9 The full text of the license may be found at 11 http://opensource.org/licenses/bsd-license.php. 13 15 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 17 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 19 21 23 24 **/ 25 26 #ifndef _PLAT_OVER_MNGR_H_ 27 #define _PLAT_OVER_MNGR_H_ 28 29 #include <FrameworkDxe.h> 30 31 #include <Protocol/HiiConfigAccess.h> 32 #include <Protocol/HiiConfigRouting.h> 33 #include <Protocol/HiiDatabase.h> 34 #include <Protocol/FormBrowser2.h> 35 #include <Protocol/LoadedImage.h> 36 #include <Protocol/FirmwareVolume2.h> 37 #include <Protocol/PciIo.h> 38 #include <Protocol/BusSpecificDriverOverride.h> 39 #include <Protocol/ComponentName2.h> 40 #include <Protocol/ComponentName.h> 41 #include <Protocol/DriverBinding.h> 42 #include <Protocol/DevicePathToText.h> 43 #include <Protocol/DevicePath.h> 44 #include <Protocol/PlatformDriverOverride.h> 45 #include <Protocol/DataHub.h> 46 #include <Guid/MdeModuleHii.h> 47 #include <Guid/VariableFormat.h> 48 #include <Guid/DataHubRecords.h> 49 50 #include <Library/BaseLib.h> 51 #include <Library/DebugLib.h> 52 #include <Library/UefiLib.h> 53 #include <Library/PrintLib.h> 54 #include <Library/UefiDriverEntryPoint.h> 55 #include <Library/UefiBootServicesTableLib.h> 56 #include <Library/UefiRuntimeServicesTableLib.h> 57 #include <Library/BaseMemoryLib.h> 58 #include <Library/MemoryAllocationLib.h> 59 #include <Library/DevicePathLib.h> 60 #include <Library/DxeServicesTableLib.h> 61 #include <Library/HiiLib.h> 62 #include <Library/BiosIdLib.h> 63 #include <Library/CpuIA32.h> 64 #include <Library/HobLib.h> 65 #include <Guid/PlatformInfo.h> 66 #include <IndustryStandard/Pci22.h> 67 68 #include "Guid/SetupVariable.h" 69 #include "Guid/OsSelection.h" 70 71 #include <CpuType.h> 72 #include <Guid/PlatformCpuInfo.h> 73 #include <Protocol/SimpleTextIn.h> 74 #include <Protocol/FrameworkFormBrowser.h> 75 extern EFI_HII_HANDLE mHiiHandle; 76 77 UINT32 78 ConvertBase10ToRaw ( 79 IN EFI_EXP_BASE10_DATA *Data); 80 81 UINT32 82 ConvertBase2ToRaw ( 83 IN EFI_EXP_BASE2_DATA *Data); 84 85 EFI_STATUS 86 GetStringFromToken ( 87 IN EFI_GUID *ProducerGuid, 88 IN STRING_REF Token, 89 OUT CHAR16 **String 90 ); 91 92 VOID 93 SwapEntries ( 94 IN CHAR8 *Data 95 ); 96 97 VOID 98 AsciiToUnicode ( 99 IN CHAR8 *AsciiString, 100 IN CHAR16 *UnicodeString 101 ); 102 103 VOID 104 EFIAPI 105 SetupInfo ( 106 ); 107 108 109 extern EFI_HANDLE mImageHandle; 110 111 #endif 112