VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Application/UiApp/Ui.h@ 88458

Last change on this file since 88458 was 80721, checked in by vboxsync, 6 years ago

Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643

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

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette