X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=IntelFrameworkPkg%2FLibrary%2FDxeIoLibCpuIo%2FIoLib.c;h=e124e39b6cae59ddfeaf9c75bcb4e2cc4a5e09da;hp=096f899be6952810f5a2ae4075408e60e506ed7c;hb=ff4ef0495628199c1754401f10b72ae4674ecac3;hpb=79964ac84ea0ca6c68d0dea38245fa83ff1945d1 diff --git a/IntelFrameworkPkg/Library/DxeIoLibCpuIo/IoLib.c b/IntelFrameworkPkg/Library/DxeIoLibCpuIo/IoLib.c index 096f899be6..e124e39b6c 100644 --- a/IntelFrameworkPkg/Library/DxeIoLibCpuIo/IoLib.c +++ b/IntelFrameworkPkg/Library/DxeIoLibCpuIo/IoLib.c @@ -14,6 +14,11 @@ **/ +// +// Include common header file for this module. +// +#include "CommonHeader.h" + #include "DxeCpuIoLibInternal.h" // @@ -146,7 +151,7 @@ MmioReadWorker ( UINT64 Data; if (mPciRootBridgeIo != NULL) { - Status = mPciRootBridgeIo.Mem.Read (mPciRootBridgeIo, Width, Address, 1, &Data); + Status = mPciRootBridgeIo->Mem.Read (mPciRootBridgeIo, Width, Address, 1, &Data); } else { Status = mCpuIo->Mem.Read (mCpuIo, Width, Address, 1, &Data); }