mirror of
				https://git.proxmox.com/git/mirror_edk2
				synced 2025-11-04 03:57:26 +00:00 
			
		
		
		
	Signed-off-by: tye Reviewed-by: lgao4 Reviewed-by: xdu2 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12197 6f19259b-4bc3-4df7-8a09-765794883524
		
			
				
	
	
		
			80 lines
		
	
	
		
			2.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			80 lines
		
	
	
		
			2.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
///** @file
 | 
						|
//  VLAN configuration formset.
 | 
						|
//
 | 
						|
//  Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
 | 
						|
//  This program and the accompanying materials
 | 
						|
//  are licensed and made available under the terms and conditions
 | 
						|
//  of the BSD License which accompanies this distribution.  The full
 | 
						|
//  text of the license may be found at<BR>
 | 
						|
//  http://opensource.org/licenses/bsd-license.php
 | 
						|
//
 | 
						|
//  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
 | 
						|
//  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 | 
						|
//
 | 
						|
//**/
 | 
						|
 | 
						|
#include "VlanConfigNvData.h"
 | 
						|
 | 
						|
formset
 | 
						|
  guid      = VLAN_CONFIG_PRIVATE_GUID,
 | 
						|
  title     = STRING_TOKEN(STR_VLAN_FORM_SET_TITLE),
 | 
						|
  help      = STRING_TOKEN(STR_VLAN_FORM_SET_TITLE_HELP),
 | 
						|
  classguid = EFI_HII_PLATFORM_SETUP_FORMSET_GUID,
 | 
						|
 | 
						|
  varstore VLAN_CONFIGURATION,
 | 
						|
    varid = VLAN_CONFIGURATION_VARSTORE_ID,
 | 
						|
    name  = VlanNvData,
 | 
						|
    guid  = VLAN_CONFIG_PRIVATE_GUID;
 | 
						|
 | 
						|
  form formid = VLAN_HEAD_FORM_ID,
 | 
						|
    title  = STRING_TOKEN(STR_VLAN_FORM_TITLE);
 | 
						|
 | 
						|
    goto VLAN_CONFIGURATION_FORM_ID,
 | 
						|
    prompt = STRING_TOKEN (STR_GET_CURRENT_SETTING),
 | 
						|
    help   = STRING_TOKEN (STR_GET_CURRENT_SETTING_HELP),
 | 
						|
    flags  = INTERACTIVE,
 | 
						|
    key    = VLAN_UPDATE_QUESTION_ID;
 | 
						|
 | 
						|
  endform;
 | 
						|
 | 
						|
  form formid = VLAN_CONFIGURATION_FORM_ID,
 | 
						|
    title = STRING_TOKEN(STR_VLAN_FORM_TITLE);
 | 
						|
 | 
						|
    subtitle text = STRING_TOKEN(STR_VLAN_CREATE_VLAN);
 | 
						|
 | 
						|
    numeric varid   = VlanNvData.VlanId,
 | 
						|
            prompt  = STRING_TOKEN(STR_VLAN_VID_PROMPT),
 | 
						|
            help    = STRING_TOKEN(STR_VLAN_VID_HELP),
 | 
						|
            minimum = 0,
 | 
						|
            maximum = 4094,
 | 
						|
    endnumeric;
 | 
						|
 | 
						|
    numeric varid   = VlanNvData.Priority,
 | 
						|
            prompt  = STRING_TOKEN(STR_VLAN_PRIORITY_PROMPT),
 | 
						|
            help    = STRING_TOKEN(STR_VLAN_PRIORITY_HELP),
 | 
						|
            minimum = 0,
 | 
						|
            maximum = 7,
 | 
						|
    endnumeric;
 | 
						|
 | 
						|
    text
 | 
						|
      help   = STRING_TOKEN(STR_VLAN_ADD_VLAN_HELP),
 | 
						|
      text   = STRING_TOKEN(STR_VLAN_ADD_VLAN_PROMPT),
 | 
						|
      flags  = INTERACTIVE,
 | 
						|
      key    = VLAN_ADD_QUESTION_ID;
 | 
						|
 | 
						|
    subtitle text = STRING_TOKEN(STR_VLAN_NULL_STRING);
 | 
						|
    subtitle text = STRING_TOKEN(STR_VLAN_VLAN_LIST);
 | 
						|
 | 
						|
    label LABEL_VLAN_LIST;
 | 
						|
    label LABEL_END;
 | 
						|
 | 
						|
    text
 | 
						|
      help   = STRING_TOKEN(STR_VLAN_REMOVE_VLAN_HELP),
 | 
						|
      text   = STRING_TOKEN(STR_VLAN_REMOVE_VLAN_PROMPT),
 | 
						|
      flags  = INTERACTIVE,
 | 
						|
      key    = VLAN_REMOVE_QUESTION_ID;
 | 
						|
 | 
						|
  endform;
 | 
						|
 | 
						|
endformset;
 |