/** @file Header file for H2O Console Redirection Configuration ;****************************************************************************** ;* Copyright (c) 2015 - 2017, Insyde Software Corp. All Rights Reserved. ;* ;* You may not reproduce, distribute, publish, display, perform, modify, adapt, ;* transmit, broadcast, present, recite, release, license or otherwise exploit ;* any part of this publication in any form, by any means, without the prior ;* written permission of Insyde Software Corporation. ;* ;****************************************************************************** */ #ifndef _CR_CONFIG_UTIL_H_ #define _CR_CONFIG_UTIL_H_ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include // // This is the generated IFR binary data for each formset defined in VFR. // This data array is ready to be used as input of HiiAddPackages() to // create a packagelist (which contains Form packages, String packages, etc). extern UINT8 CrConfigUtilVfrBin[]; #define CR_CONFIG_MAMAGER_PRIVATE_SIGNATURE SIGNATURE_32 ('C', 'S', 'R', 'D') #define CHAR_CARRIAGE_RETURN 0x000D #pragma pack(1) // // HII specific Vendor Device Path definition. // typedef struct { VENDOR_DEVICE_PATH VendorDevicePath; EFI_DEVICE_PATH_PROTOCOL End; } HII_VENDOR_DEVICE_PATH; typedef struct { UINTN Signature; EFI_HANDLE DriverHandle; EFI_HII_HANDLE HiiHandle; // // Cr Device List // LIST_ENTRY CrDevListHead; CR_CONFIGURATION Configuration; // // Consumed protocol // EFI_HII_DATABASE_PROTOCOL *HiiDatabase; EFI_HII_STRING_PROTOCOL *HiiString; EFI_HII_CONFIG_ROUTING_PROTOCOL *HiiConfigRouting; EFI_FORM_BROWSER2_PROTOCOL *FormBrowser2; // // Produced protocol // EFI_HII_CONFIG_ACCESS_PROTOCOL ConfigAccess; } CR_CONFIG_MANAGER_PRIVATE_DATA; #pragma pack() #define CR_CONFIG_MANAGER_PRIVATE_FROM_THIS(a) CR (a, CR_CONFIG_MANAGER_PRIVATE_DATA, ConfigAccess, CR_CONFIG_MAMAGER_PRIVATE_SIGNATURE) #endif