//********************************************************************** //********************************************************************** //** ** //** (C)Copyright 1985-2014, American Megatrends, Inc. ** //** ** //** All Rights Reserved. ** //** ** //** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 ** //** ** //** Phone: (770)-246-8600 ** //** ** //********************************************************************** //********************************************************************** //********************************************************************** // $Header: /Alaska/BIN/Modules/Network/UEFINetworkStack II/Common/NetworkStackSetupScreen/NetworkStackSetupScreen.sd 8 6/04/14 10:26a Anushav $ // // $Revision: 8 $ // // $Date: 6/04/14 10:26a $ //********************************************************************** // Revision History // ---------------- // $Log: /Alaska/BIN/Modules/Network/UEFINetworkStack II/Common/NetworkStackSetupScreen/NetworkStackSetupScreen.sd $ // // 8 6/04/14 10:26a Anushav // [TAG] EIP147413 // [Category] Improvement // [Description] Conversion of NetworkStackSetupScreen.sd to the new // setup format. // [Files] NetworkStackSetupScreen.sd // // 7 1/08/14 5:28a Anushav // [TAG] EIP148764 // [Category] Improvement // [Description] Add Media Detect Time setup option. // [Files] PxeBcImpl.c, // PxeBcDriver.c, // NetworkStackSetupScreen.uni, // NetworkStackSetupScreen.sd, // NetworkStackSetup.h, // NetworkStackSetupScreen.c. // // 6 3/01/13 3:30a Nareshk // [TAG]-EIP113577 // [Category]-IMPROVEMENT // [Description]-Support to Handle ESC key to abort PXE boot. // [Files]-SnpDxe.efi, SnpDxeIa32.efi, UefiPxeBcDxe.efi, // UefiPxeBcDxeIa32.efi, NetworkStackSetupScreen.h, // NetworkStackSetupScreen.sd and NetworkStackSetupScreen.uni // // //********************************************************************** // // // Name: NetworkStackSetupScreen.sd // // Description: Setup definitions for NetworkStack setup screen // // //********************************************************************** //********************************************************************** // Compatibility Section //********************************************************************** #if defined(VFRCOMPILE) && !defined(CONTROLS_ARE_DEFINED) #define CONTROL_DEFINITION #endif //********************************************************************** // Controls Section // // The following section contains control macros that can be overridden // in external files. This allows customization of control content, // while ensuring the control's data is available. //********************************************************************** #ifdef CONTROL_DEFINITION #define NETWORKSTACK_ONEOF_NETWORK_STACK_SUPPORT \ oneof varid = NETWORK_STACK.Enable,\ prompt = STRING_TOKEN(STR_NETWORK_STACK_ENABLE),\ help = STRING_TOKEN(STR_NETWORK_STACK_HELP),\ option text = STRING_TOKEN(STR_DISABLED), value=0, flags= DEFAULT | RESET_REQUIRED;\ option text = STRING_TOKEN(STR_ENABLED), value=1, flags= 0 | RESET_REQUIRED;\ endoneof; #if UefiIpv4StackII_SUPPORT == 1 #define NETWORKSTACK_ONEOF_IPV4_PXE_SUPPORT \ oneof varid = NETWORK_STACK.Ipv4Pxe,\ prompt = STRING_TOKEN(STR_IPV4_PXE_ENABLE),\ help = STRING_TOKEN(STR_IPV4_PXE_HELP),\ option text = STRING_TOKEN(STR_DISABLED), value=0, flags= RESET_REQUIRED;\ option text = STRING_TOKEN(STR_ENABLED), value=1, flags= DEFAULT | RESET_REQUIRED;\ endoneof; #endif #if UefiIpv6StackII_SUPPORT == 1 #define NETWORKSTACK_ONEOF_IPV6_PXE_SUPPORT \ oneof varid = NETWORK_STACK.Ipv6Pxe,\ prompt = STRING_TOKEN(STR_IPV6_PXE_ENABLE),\ help = STRING_TOKEN(STR_IPV6_PXE_HELP),\ option text = STRING_TOKEN(STR_DISABLED), value=0, flags= RESET_REQUIRED;\ option text = STRING_TOKEN(STR_ENABLED), value=1, flags= DEFAULT | RESET_REQUIRED;\ endoneof; #endif #if IpSec_SUPPORT == 1 #define NETWORKSTACK_ONEOF_IPSEC_CERTIFICATE \ oneof varid = NETWORK_STACK.IpsecCertificate,\ prompt = STRING_TOKEN(STR_IPSEC_CERTIFICATE_ENABLE),\ help = STRING_TOKEN(STR_IPSEC_CERTIFICATE_HELP),\ option text = STRING_TOKEN(STR_DISABLED), value=0, flags= RESET_REQUIRED;\ option text = STRING_TOKEN(STR_ENABLED), value=1, flags= DEFAULT | RESET_REQUIRED;\ endoneof; #endif #if UefiPxeBc_SUPPORT == 1 #define NETWORKSTACK_NUMERIC_PXE_BOOT_WAIT_TIME \ numeric varid = NETWORK_STACK.PxeBootWaitTime,\ prompt = STRING_TOKEN(STR_PXE_BOOT_WAIT_TIME),\ help = STRING_TOKEN(STR_PXE_BOOT_WAIT_TIME_HELP),\ flags = RESET_REQUIRED,\ minimum = 0,\ maximum = 5,\ step = 1,\ default = 0,\ endnumeric; #define NETWORKSTACK_NUMERIC_MEDIA_DETECT_TIME \ numeric varid = NETWORK_STACK.MediaDetectTime,\ prompt = STRING_TOKEN(STR_MEDIA_DETECT_TIME),\ help = STRING_TOKEN(STR_MEDIA_DETECT_TIME_HELP),\ flags = RESET_REQUIRED,\ minimum = 0,\ maximum = 50,\ step = 1,\ default = 0,\ endnumeric; #endif #endif //#ifdef CONTROL_DEFINITION //********************************************************************** // ADVANCED - Network Stack Configuration Form //********************************************************************** #ifdef ADVANCED_FORM_SET #ifdef CONTROLS_WITH_DEFAULTS NETWORKSTACK_ONEOF_NETWORK_STACK_SUPPORT #if UefiIpv4StackII_SUPPORT == 1 NETWORKSTACK_ONEOF_IPV4_PXE_SUPPORT #endif #if UefiIpv6StackII_SUPPORT == 1 NETWORKSTACK_ONEOF_IPV6_PXE_SUPPORT #endif #if IpSec_SUPPORT == 1 NETWORKSTACK_ONEOF_IPSEC_CERTIFICATE #endif #if UefiPxeBc_SUPPORT == 1 NETWORKSTACK_NUMERIC_PXE_BOOT_WAIT_TIME NETWORKSTACK_NUMERIC_MEDIA_DETECT_TIME #endif #endif //#ifdef CONTROLS_WITH_DEFAULTS #ifdef FORM_SET_TYPEDEF #include #endif #ifdef FORM_SET_VARSTORE varstore NETWORK_STACK, key = AUTO_ID(NETWORK_STACK_KEY_ID), name = NetworkStackVar, guid = NETWORK_STACK_GUID; #endif #ifdef FORM_SET_GOTO // Define goto commands for the forms defined in this file goto STACK_FORM_ID, prompt = STRING_TOKEN(STR_STACK_FORM), help = STRING_TOKEN(STR_STACK_FORM_HELP); #endif #ifdef FORM_SET_FORM // Define forms #ifndef NETWORK_STACK_FORM_SETUP #define NETWORK_STACK_FORM_SETUP form formid = AUTO_ID(STACK_FORM_ID), title = STRING_TOKEN(STR_STACK_FORM); NETWORKSTACK_ONEOF_NETWORK_STACK_SUPPORT #if UefiIpv4StackII_SUPPORT == 1 suppressif ideqval NETWORK_STACK.Enable == 0; NETWORKSTACK_ONEOF_IPV4_PXE_SUPPORT endif; #endif #if UefiIpv6StackII_SUPPORT == 1 suppressif ideqval NETWORK_STACK.Enable == 0; NETWORKSTACK_ONEOF_IPV6_PXE_SUPPORT endif; #endif #if IpSec_SUPPORT == 1 suppressif ideqval NETWORK_STACK.Enable == 0; NETWORKSTACK_ONEOF_IPSEC_CERTIFICATE endif; #endif #if UefiPxeBc_SUPPORT == 1 suppressif ideqval NETWORK_STACK.Enable == 0; NETWORKSTACK_NUMERIC_PXE_BOOT_WAIT_TIME endif; suppressif ideqval NETWORK_STACK.Enable == 0; NETWORKSTACK_NUMERIC_MEDIA_DETECT_TIME endif; #endif // #if UefiPxeBc_SUPPORT == 1 endform; #endif // NETWORK_STACK_FORM_SETUP #endif // #ifdef FORM_SET_GOTO #endif // ADVANCED_FORM_SET //********************************************************************** //********************************************************************** //** ** //** (C)Copyright 1985-2014, American Megatrends, Inc. ** //** ** //** All Rights Reserved. ** //** ** //** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 ** //** ** //** Phone: (770)-246-8600 ** //** ** //********************************************************************** //**********************************************************************