projects
/
mirror_edk2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove CommonHeader.h
[mirror_edk2.git]
/
IntelFrameworkPkg
/
Library
/
DxeIoLibCpuIo
/
IoLib.c
diff --git
a/IntelFrameworkPkg/Library/DxeIoLibCpuIo/IoLib.c
b/IntelFrameworkPkg/Library/DxeIoLibCpuIo/IoLib.c
index 096f899be6952810f5a2ae4075408e60e506ed7c..e124e39b6cae59ddfeaf9c75bcb4e2cc4a5e09da 100644
(file)
--- a/
IntelFrameworkPkg/Library/DxeIoLibCpuIo/IoLib.c
+++ b/
IntelFrameworkPkg/Library/DxeIoLibCpuIo/IoLib.c
@@
-14,6
+14,11
@@
\r
**/
\r
\r
\r
**/
\r
\r
+//
\r
+// Include common header file for this module.
\r
+//
\r
+#include "CommonHeader.h"
\r
+
\r
#include "DxeCpuIoLibInternal.h"
\r
\r
//
\r
#include "DxeCpuIoLibInternal.h"
\r
\r
//
\r
@@
-146,7
+151,7
@@
MmioReadWorker (
UINT64 Data;
\r
\r
if (mPciRootBridgeIo != NULL) {
\r
UINT64 Data;
\r
\r
if (mPciRootBridgeIo != NULL) {
\r
- Status = mPciRootBridgeIo
.
Mem.Read (mPciRootBridgeIo, Width, Address, 1, &Data);
\r
+ Status = mPciRootBridgeIo
->
Mem.Read (mPciRootBridgeIo, Width, Address, 1, &Data);
\r
} else {
\r
Status = mCpuIo->Mem.Read (mCpuIo, Width, Address, 1, &Data);
\r
}
\r
} else {
\r
Status = mCpuIo->Mem.Read (mCpuIo, Width, Address, 1, &Data);
\r
}
\r