summaryrefslogtreecommitdiff
path: root/EdkNt32Pkg/Include
diff options
context:
space:
mode:
authordtang2 <dtang2@6f19259b-4bc3-4df7-8a09-765794883524>2006-11-08 03:12:19 +0000
committerdtang2 <dtang2@6f19259b-4bc3-4df7-8a09-765794883524>2006-11-08 03:12:19 +0000
commit9e0e49fc76ce84779b34cf11a4bced3911df0391 (patch)
treea5d3e5823496ec8a9b16f2acf28d0217d10e8c9a /EdkNt32Pkg/Include
parent99125b466d093f5a528642aa996da05ef9ec1acd (diff)
downloadedk2-platforms-9e0e49fc76ce84779b34cf11a4bced3911df0391.tar.xz
Bug fix for "Tiano BIOS needs to implement an automatic reboot when BIOS settings are changed"
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1913 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkNt32Pkg/Include')
-rw-r--r--EdkNt32Pkg/Include/library/EdkGenericBdsLib.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/EdkNt32Pkg/Include/library/EdkGenericBdsLib.h b/EdkNt32Pkg/Include/library/EdkGenericBdsLib.h
index 3f01119041..9abda55891 100644
--- a/EdkNt32Pkg/Include/library/EdkGenericBdsLib.h
+++ b/EdkNt32Pkg/Include/library/EdkGenericBdsLib.h
@@ -60,6 +60,11 @@ extern EFI_HANDLE mBdsImageHandle;
#define ALIGN_SIZE(a) ((a % MIN_ALIGNMENT_SIZE) ? MIN_ALIGNMENT_SIZE - (a % MIN_ALIGNMENT_SIZE) : 0)
//
+// Define maximum characters for boot option variable "BootXXXX"
+//
+#define BOOT_OPTION_MAX_CHAR 10
+
+//
// This data structure is the part of BDS_CONNECT_ENTRY that we can hard code.
//
#define BDS_LOAD_OPTION_SIGNATURE EFI_SIGNATURE_32 ('B', 'd', 'C', 'O')
@@ -329,4 +334,49 @@ BdsRefreshBbsTableForBoot (
IN BDS_COMMON_OPTION *Entry
);
+EFI_STATUS
+BdsDeleteBootOption (
+ IN UINTN OptionNumber,
+ IN OUT UINT16 *BootOrder,
+ IN OUT UINTN *BootOrderSize
+ );
+
+//
+//The interface functions relate with Setup Browser Reset Reminder feature
+//
+VOID
+EnableResetReminderFeature (
+ VOID
+ );
+
+VOID
+DisableResetReminderFeature (
+ VOID
+ );
+
+VOID
+EnableResetRequired (
+ VOID
+ );
+
+VOID
+DisableResetRequired (
+ VOID
+ );
+
+BOOLEAN
+IsResetReminderFeatureEnable (
+ VOID
+ );
+
+BOOLEAN
+IsResetRequired (
+ VOID
+ );
+
+VOID
+SetupResetReminder (
+ VOID
+ );
+
#endif // _BDS_LIB_H_