using the exact device path DEBUGPORT_DEVICE_PATH.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6670 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
vanjeff 2008-11-21 09:48:41 +00:00
parent 91fd9c9b83
commit b643f69c98
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ DebugPortSupported (
if (Status == EFI_SUCCESS && if (Status == EFI_SUCCESS &&
(Dp2->Type != MESSAGING_DEVICE_PATH || (Dp2->Type != MESSAGING_DEVICE_PATH ||
Dp2->SubType != MSG_VENDOR_DP || Dp2->SubType != MSG_VENDOR_DP ||
*((UINT16 *) Dp2->Length) != sizeof (VENDOR_DEVICE_PATH))) { *((UINT16 *) Dp2->Length) != sizeof (DEBUGPORT_DEVICE_PATH))) {
Status = EFI_UNSUPPORTED; Status = EFI_UNSUPPORTED;
} }