1) Fix some casting working in X64 building
2) Use SetMem/CopyMem function to do structure initialization to avoid X64 compiler call standard C library. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5180 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -270,7 +270,7 @@ PcatRootBridgeIoPollMem (
|
||||
{
|
||||
EFI_STATUS Status;
|
||||
UINT64 NumberOfTicks;
|
||||
UINTN Remainder;
|
||||
UINT32 Remainder;
|
||||
|
||||
if (Result == NULL) {
|
||||
return EFI_INVALID_PARAMETER;
|
||||
@@ -332,7 +332,7 @@ PcatRootBridgeIoPollIo (
|
||||
{
|
||||
EFI_STATUS Status;
|
||||
UINT64 NumberOfTicks;
|
||||
UINTN Remainder;
|
||||
UINT32 Remainder;
|
||||
|
||||
if (Result == NULL) {
|
||||
return EFI_INVALID_PARAMETER;
|
||||
|
Reference in New Issue
Block a user