diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-12-09 08:19:47 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-12-09 08:19:47 +0000 |
commit | 6191043539345a1a98d0831ad98feb68dbab6d23 (patch) | |
tree | 5ac00ed9ffa457b9a6a0f505225895728329e0f8 /IntelFrameworkModulePkg | |
parent | afbb91aa09219bcfe7a525ba48d8d80b34ac4494 (diff) | |
download | edk2-platforms-6191043539345a1a98d0831ad98feb68dbab6d23.tar.xz |
Add the missing HiiVendor DevicePath for new added DriverHealth Form.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9546 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg')
-rw-r--r-- | IntelFrameworkModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.c b/IntelFrameworkModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.c index 3fa24ad6d5..15435056f8 100644 --- a/IntelFrameworkModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.c +++ b/IntelFrameworkModulePkg/Universal/BdsDxe/DeviceMngr/DeviceManager.c @@ -69,6 +69,31 @@ HII_VENDOR_DEVICE_PATH mDeviceManagerHiiVendorDevicePath = { }
};
+HII_VENDOR_DEVICE_PATH mDriverHealthHiiVendorDevicePath = {
+ {
+ {
+ HARDWARE_DEVICE_PATH,
+ HW_VENDOR_DP,
+ {
+ (UINT8) (sizeof (VENDOR_DEVICE_PATH)),
+ (UINT8) ((sizeof (VENDOR_DEVICE_PATH)) >> 8)
+ }
+ },
+ //
+ // {D8F76651-1675-4986-BED4-3824B2F1F4C8}
+ //
+ { 0xd8f76651, 0x1675, 0x4986, { 0xbe, 0xd4, 0x38, 0x24, 0xb2, 0xf1, 0xf4, 0xc8 } }
+ },
+ {
+ END_DEVICE_PATH_TYPE,
+ END_ENTIRE_DEVICE_PATH_SUBTYPE,
+ {
+ (UINT8) (END_DEVICE_PATH_LENGTH),
+ (UINT8) ((END_DEVICE_PATH_LENGTH) >> 8)
+ }
+ }
+};
+
/**
This function is invoked if user selected a interactive opcode from Device Manager's
Formset. The decision by user is saved to gCallbackKey for later processing. If
@@ -141,6 +166,8 @@ InitializeDeviceManager ( Status = gBS->InstallMultipleProtocolInterfaces (
&gDeviceManagerPrivate.DriverHealthHandle,
+ &gEfiDevicePathProtocolGuid,
+ &mDriverHealthHiiVendorDevicePath,
&gEfiHiiConfigAccessProtocolGuid,
&gDeviceManagerPrivate.DriverHealthConfigAccess,
NULL
|