]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Application/UiApp/Ui.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdeModulePkg / Application / UiApp / Ui.h
CommitLineData
143f0b1d
ED
1/** @file\r
2 FrontPage routines to handle the callbacks and browser calls\r
3\r
afc244a5 4Copyright (c) 2011 - 2015, Intel Corporation. All rights reserved.<BR>\r
9d510e61 5SPDX-License-Identifier: BSD-2-Clause-Patent\r
143f0b1d
ED
6\r
7**/\r
8\r
143f0b1d
ED
9#ifndef _BDS_MODULE_H_\r
10#define _BDS_MODULE_H_\r
11\r
143f0b1d
ED
12#include <IndustryStandard/SmBios.h>\r
13\r
14#include <Guid/MdeModuleHii.h>\r
143f0b1d 15#include <Guid/StatusCodeDataTypeId.h>\r
143f0b1d 16\r
143f0b1d 17#include <Protocol/Smbios.h>\r
143f0b1d 18#include <Protocol/HiiConfigAccess.h>\r
ce7690e2 19\r
143f0b1d
ED
20#include <Library/PrintLib.h>\r
21#include <Library/DebugLib.h>\r
22#include <Library/BaseMemoryLib.h>\r
23#include <Library/UefiBootServicesTableLib.h>\r
24#include <Library/UefiLib.h>\r
25#include <Library/MemoryAllocationLib.h>\r
143f0b1d
ED
26#include <Library/ReportStatusCodeLib.h>\r
27#include <Library/UefiRuntimeServicesTableLib.h>\r
143f0b1d
ED
28#include <Library/HiiLib.h>\r
29#include <Library/DevicePathLib.h>\r
143f0b1d 30#include <Library/UefiHiiServicesLib.h>\r
143f0b1d
ED
31#include <Library/UefiBootManagerLib.h>\r
32\r
33#pragma pack(1)\r
34\r
35///\r
36/// HII specific Vendor Device Path definition.\r
37///\r
38typedef struct {\r
1436aea4
MK
39 VENDOR_DEVICE_PATH VendorDevicePath;\r
40 EFI_DEVICE_PATH_PROTOCOL End;\r
143f0b1d
ED
41} HII_VENDOR_DEVICE_PATH;\r
42\r
43#pragma pack()\r
44\r
143f0b1d 45//\r
1436aea4 46// The interface functions related to the Setup Browser Reset Reminder feature\r
143f0b1d 47//\r
143f0b1d 48\r
143f0b1d
ED
49/**\r
50 Record the info that a reset is required.\r
51 A module boolean variable is used to record whether a reset is required.\r
52\r
53**/\r
54VOID\r
55EFIAPI\r
56EnableResetRequired (\r
57 VOID\r
58 );\r
59\r
143f0b1d
ED
60/**\r
61 Check whether platform policy enables the reset reminder feature. The default is enabled.\r
62\r
63**/\r
64BOOLEAN\r
65EFIAPI\r
66IsResetReminderFeatureEnable (\r
67 VOID\r
68 );\r
69\r
70/**\r
71 Check if the user changed any option setting that needs a system reset to be effective.\r
72\r
73**/\r
74BOOLEAN\r
75EFIAPI\r
76IsResetRequired (\r
77 VOID\r
78 );\r
79\r
80/**\r
81 Check whether a reset is needed, and finish the reset reminder feature.\r
82 If a reset is needed, pop up a menu to notice user, and finish the feature\r
83 according to the user selection.\r
84\r
85**/\r
86VOID\r
87EFIAPI\r
88SetupResetReminder (\r
89 VOID\r
90 );\r
91\r
143f0b1d 92#endif\r