2008-04-09 04:09:51 +02:00
|
|
|
// *++
|
|
|
|
//
|
2010-04-24 11:33:45 +02:00
|
|
|
// Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>
|
|
|
|
// This program and the accompanying materials
|
2008-04-09 04:09:51 +02:00
|
|
|
// 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
|
|
|
|
// 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.
|
|
|
|
//
|
|
|
|
// Module Name:
|
|
|
|
//
|
|
|
|
// Vfr.vfr
|
|
|
|
//
|
|
|
|
// Abstract:
|
|
|
|
//
|
|
|
|
// Platform driver Override manager formset
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// --*/
|
|
|
|
|
2008-12-25 10:13:53 +01:00
|
|
|
#include "PlatOverMngr.h"
|
2008-04-09 04:09:51 +02:00
|
|
|
|
|
|
|
#define EFI_DISK_DEVICE_CLASS 0x01
|
|
|
|
|
|
|
|
formset
|
|
|
|
guid = PLAT_OVER_MNGR_GUID,
|
|
|
|
title = STRING_TOKEN(STR_ENTRY_TITLE),
|
|
|
|
help = STRING_TOKEN(STR_TITLE_HELP),
|
|
|
|
class = EFI_DISK_DEVICE_CLASS,
|
|
|
|
subclass = 0xff,
|
|
|
|
|
|
|
|
varstore PLAT_OVER_MNGR_DATA,
|
|
|
|
varid = VARSTORE_ID_PLAT_OVER_MNGR,
|
|
|
|
name = Data,
|
|
|
|
guid = PLAT_OVER_MNGR_GUID;
|
|
|
|
|
|
|
|
form formid = FORM_ID_DEVICE,
|
|
|
|
title = STRING_TOKEN(STR_TITLE);
|
|
|
|
|
|
|
|
text
|
|
|
|
help = STRING_TOKEN(STR_FIRST_REFRESH_HELP),
|
|
|
|
text = STRING_TOKEN(STR_FIRST_REFRESH),
|
|
|
|
text = STRING_TOKEN(STR_NULL_STRING),
|
|
|
|
flags = INTERACTIVE,
|
|
|
|
key = KEY_VALUE_DEVICE_REFRESH;
|
|
|
|
|
|
|
|
checkbox varid = Data.PciDeviceFilter,
|
|
|
|
prompt = STRING_TOKEN(STR_PCI_DEVICE_FILTER_PROMPT),
|
|
|
|
help = STRING_TOKEN(STR_PCI_DEVICE_FILTER_HELP),
|
|
|
|
flags = INTERACTIVE,
|
|
|
|
key = KEY_VALUE_DEVICE_FILTER,
|
|
|
|
endcheckbox;
|
|
|
|
|
|
|
|
label FORM_ID_DEVICE;
|
|
|
|
label LABEL_END;
|
|
|
|
|
|
|
|
subtitle text = STRING_TOKEN(STR_NULL_STRING);
|
|
|
|
|
|
|
|
goto FORM_ID_DEVICE,
|
|
|
|
prompt = STRING_TOKEN(STR_CLEAR_ALL),
|
|
|
|
help = STRING_TOKEN(STR_CLEAR_ALL_HELP),
|
|
|
|
flags = INTERACTIVE | RESET_REQUIRED,
|
|
|
|
key = KEY_VALUE_DEVICE_CLEAR;
|
|
|
|
endform;
|
|
|
|
|
|
|
|
form formid = FORM_ID_DRIVER,
|
|
|
|
title = STRING_TOKEN(STR_TITLE);
|
|
|
|
|
|
|
|
goto FORM_ID_DEVICE,
|
|
|
|
prompt = STRING_TOKEN(STR_GOTO_PREVIOUS),
|
|
|
|
help = STRING_TOKEN(STR_NULL_STRING),
|
|
|
|
flags = INTERACTIVE,
|
|
|
|
key = KEY_VALUE_DRIVER_GOTO_PREVIOUS;
|
|
|
|
|
|
|
|
goto FORM_ID_ORDER,
|
|
|
|
prompt = STRING_TOKEN(STR_TITLE_ORDER),
|
|
|
|
help = STRING_TOKEN(STR_TITLE_ORDER_HELP),
|
|
|
|
flags = INTERACTIVE,
|
|
|
|
key = KEY_VALUE_DRIVER_GOTO_ORDER;
|
|
|
|
|
|
|
|
label FORM_ID_DRIVER;
|
|
|
|
label LABEL_END;
|
|
|
|
|
|
|
|
endform;
|
|
|
|
|
|
|
|
form formid = FORM_ID_ORDER,
|
|
|
|
title = STRING_TOKEN(STR_TITLE);
|
|
|
|
|
|
|
|
goto FORM_ID_DRIVER,
|
|
|
|
prompt = STRING_TOKEN(STR_GOTO_PREVIOUS),
|
|
|
|
help = STRING_TOKEN(STR_NULL_STRING),
|
|
|
|
flags = INTERACTIVE,
|
|
|
|
key = KEY_VALUE_ORDER_GOTO_PREVIOUS;
|
|
|
|
|
|
|
|
label FORM_ID_ORDER;
|
|
|
|
label LABEL_END;
|
|
|
|
|
|
|
|
subtitle text = STRING_TOKEN(STR_NULL_STRING);
|
|
|
|
|
|
|
|
goto FORM_ID_ORDER,
|
|
|
|
prompt = STRING_TOKEN(STR_SAVE_AND_EXIT),
|
|
|
|
help = STRING_TOKEN(STR_NULL_STRING),
|
|
|
|
flags = INTERACTIVE | RESET_REQUIRED,
|
|
|
|
key = KEY_VALUE_ORDER_SAVE_AND_EXIT;
|
|
|
|
endform;
|
|
|
|
|
|
|
|
endformset;
|