1. Add Missing UefiDrvierModel APIs in UefiLibFramework instances.

2. Fix the bug to judge Media Device Path.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3863 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8
2007-09-17 03:41:47 +00:00
parent f662c19489
commit 6313f115aa
3 changed files with 672 additions and 2 deletions

View File

@@ -297,7 +297,7 @@ EfiGetNameGuidFromFwVolDevicePathNode (
//
// Use the new Device path that does not conflict with the UEFI
//
if (FrameworkFvDevicePathNode->Tiano.Header.Type == MEDIA_DEVICE_PATH ||
if (FrameworkFvDevicePathNode->Tiano.Header.Type == MEDIA_DEVICE_PATH &&
FrameworkFvDevicePathNode->Tiano.Header.SubType == MEDIA_VENDOR_DP) {
if (CompareGuid (&gEfiFrameworkDevicePathGuid, &FrameworkFvDevicePathNode->Tiano.TianoSpecificDevicePath)) {
if (FrameworkFvDevicePathNode->Tiano.Type == TIANO_MEDIA_FW_VOL_FILEPATH_DEVICE_PATH_TYPE) {