summaryrefslogtreecommitdiff
path: root/DuetPkg/CpuIoDxe/CpuIo.c
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-16 15:31:52 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-16 15:31:52 +0000
commiteea53ce14d49acddbb58418bb9055eed9d04648f (patch)
treedd48750602135c0c71f42149c50da71eaa79a858 /DuetPkg/CpuIoDxe/CpuIo.c
parent99e1dd896a87bc8c8548f4dcd7c1a902825c9c42 (diff)
downloadedk2-platforms-eea53ce14d49acddbb58418bb9055eed9d04648f.tar.xz
Clean up to update the reference of the these macros:
EFI_SIGNATURE_16 -> SIGNATURE_16 EFI_SIGNATURE_32 -> SIGNATURE_32 EFI_SIGNATURE_64 -> SIGNATURE_64 EFI_FIELD_OFFSET -> OFFSET_OF EFI_MAX_BIT -> MAX_BIT EFI_MAX_ADDRESS -> MAX_ADDRESS These macros are not defined in UEFI spec. It makes more sense to use the equivalent macros in Base.h to avoid alias. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7049 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/CpuIoDxe/CpuIo.c')
-rw-r--r--DuetPkg/CpuIoDxe/CpuIo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/DuetPkg/CpuIoDxe/CpuIo.c b/DuetPkg/CpuIoDxe/CpuIo.c
index 9e5be46df8..11a21360f7 100644
--- a/DuetPkg/CpuIoDxe/CpuIo.c
+++ b/DuetPkg/CpuIoDxe/CpuIo.c
@@ -159,7 +159,7 @@ Returns:
PTR Destination;
EFI_STATUS Status;
- Status = CpuIoCheckParameter (Width, Address, Count, Buffer, EFI_MAX_ADDRESS);
+ Status = CpuIoCheckParameter (Width, Address, Count, Buffer, MAX_ADDRESS);
if (EFI_ERROR (Status)) {
return Status;
}
@@ -220,7 +220,7 @@ Returns:
PTR Destination;
EFI_STATUS Status;
- Status = CpuIoCheckParameter (Width, Address, Count, Buffer, EFI_MAX_ADDRESS);
+ Status = CpuIoCheckParameter (Width, Address, Count, Buffer, MAX_ADDRESS);
if (EFI_ERROR (Status)) {
return Status;
}