mirror of https://github.com/acidanthera/audk.git
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:
parent
aa6c4e3c99
commit
58bba9401d
|
@ -1669,7 +1669,8 @@ PxeBcSelectBootMenu (
|
|||
}
|
||||
|
||||
if (UseDefaultItem) {
|
||||
*Type = NTOHS (MenuArray[0]->Type);
|
||||
CopyMem (Type, &MenuArray[0]->Type, sizeof (UINT16));
|
||||
*Type = NTOHS (*Type);
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
||||
|
@ -1769,7 +1770,8 @@ PxeBcSelectBootMenu (
|
|||
//
|
||||
// Swap the byte order
|
||||
//
|
||||
*Type = NTOHS (MenuArray[Select]->Type);
|
||||
CopyMem (Type, &MenuArray[Select]->Type, sizeof (UINT16));
|
||||
*Type = NTOHS (*Type);
|
||||
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue