Per UEFI spec, on CallBack action EFI_BROWSER_ACTION_CHANGING, the return value of ActionRequest will be ignored, but on CallBack action EFI_BROWSER_ACTION_CHANGED, the return value of ActionRequest will be used. But, EDKII browser still processes the got ActionRequest. And, all HII drivers in EDKII project also returns their expected ActionRequest value on action EFI_BROWSER_ACTION_CHANGING. Now update the browser to follow the spec, and update all core Hii drivers to keep old working modal. Signed-off-by: ydong10 Reviewed-by: lgao4 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12866 6f19259b-4bc3-4df7-8a09-765794883524
		
			
				
	
	
		
			57 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			57 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			C
		
	
	
	
	
	
| /** @file
 | |
|   The platform device manager reference implement
 | |
| 
 | |
| Copyright (c) 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
 | |
| 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.
 | |
| 
 | |
| **/
 | |
| 
 | |
| #ifndef _DEVICE_MANAGER_VFR_H_
 | |
| #define _DEVICE_MANAGER_VFR_H_
 | |
| 
 | |
| #include <Guid/BdsHii.h>
 | |
| 
 | |
| #define LABEL_DEVICES_LIST                   0x1100
 | |
| #define LABEL_NETWORK_DEVICE_LIST_ID         0x1101
 | |
| #define LABEL_NETWORK_DEVICE_ID              0x1102
 | |
| #define LABEL_END                            0xffff
 | |
| #define LABEL_FORM_ID_OFFSET                 0x0100
 | |
| 
 | |
| #define LABEL_DRIVER_HEALTH                  0x2000
 | |
| #define LABEL_DRIVER_HEALTH_END              0x2001
 | |
| 
 | |
| #define LABEL_DRIVER_HEALTH_REAPIR_ALL       0x3000
 | |
| #define LABEL_DRIVER_HEALTH_REAPIR_ALL_END   0x3001
 | |
| 
 | |
| #define LABEL_VBIOS                          0x0040
 | |
| 
 | |
| #define INVALID_FORM_ID                      0x0FFF
 | |
| #define DEVICE_MANAGER_FORM_ID               0x1000
 | |
| #define NETWORK_DEVICE_LIST_FORM_ID          0x1001
 | |
| #define NETWORK_DEVICE_FORM_ID               0x1002
 | |
| #define DRIVER_HEALTH_FORM_ID                0x1003
 | |
| #define DEVICE_KEY_OFFSET                    0x4000
 | |
| #define NETWORK_DEVICE_LIST_KEY_OFFSET       0x2000
 | |
| #define DEVICE_MANAGER_KEY_VBIOS             0x3000
 | |
| #define MAX_KEY_SECTION_LEN                  0x1000
 | |
| 
 | |
| #define DEVICE_MANAGER_KEY_DRIVER_HEALTH     0x1111
 | |
| #define DRIVER_HEALTH_KEY_OFFSET             0x2000
 | |
| #define DRIVER_HEALTH_REPAIR_ALL_KEY         0x3000
 | |
| #define DRIVER_HEALTH_RETURN_KEY             0x4000
 | |
| 
 | |
| #define QUESTION_NETWORK_DEVICE_ID           0x3FFF
 | |
| //
 | |
| // These are the VFR compiler generated data representing our VFR data.
 | |
| //
 | |
| extern UINT8  DeviceManagerVfrBin[];
 | |
| extern UINT8  DriverHealthVfrBin[];
 | |
| 
 | |
| #endif
 |