sync alignment issue on IPF.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4987 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -1669,7 +1669,8 @@ PxeBcSelectBootMenu (
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (UseDefaultItem) {
|
if (UseDefaultItem) {
|
||||||
*Type = NTOHS (MenuArray[0]->Type);
|
CopyMem (Type, &MenuArray[0]->Type, sizeof (UINT16));
|
||||||
|
*Type = NTOHS (*Type);
|
||||||
return EFI_SUCCESS;
|
return EFI_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1769,7 +1770,8 @@ PxeBcSelectBootMenu (
|
|||||||
//
|
//
|
||||||
// Swap the byte order
|
// Swap the byte order
|
||||||
//
|
//
|
||||||
*Type = NTOHS (MenuArray[Select]->Type);
|
CopyMem (Type, &MenuArray[Select]->Type, sizeof (UINT16));
|
||||||
|
*Type = NTOHS (*Type);
|
||||||
|
|
||||||
return EFI_SUCCESS;
|
return EFI_SUCCESS;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user