diff options
author | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-08-14 00:00:01 +0000 |
---|---|---|
committer | mdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-08-14 00:00:01 +0000 |
commit | a1e3528b313590d31523ef8b68ce708621f35fde (patch) | |
tree | e05dbd5e061f61d2c49be0af0afd78688a8f94f2 /IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/atapi.c | |
parent | 4cd79ac6e5e49e89b820df85d437b6263b8226f6 (diff) | |
download | edk2-platforms-a1e3528b313590d31523ef8b68ce708621f35fde.tar.xz |
Replace EFI_MAX() with MAX()
Replace EFI_MIN() with MIN()
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3631 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/atapi.c')
-rw-r--r-- | IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/atapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/atapi.c b/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/atapi.c index 2609591c0c..210d9ddf32 100644 --- a/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/atapi.c +++ b/IntelFrameworkModulePkg/Bus/Pci/IdeBusDxe/atapi.c @@ -754,7 +754,7 @@ PioReadWriteData ( WordCount = WordCount & 0xffff;
WordCount /= 2;
- WordCount = EFI_MIN (WordCount, (RequiredWordCount - ActualWordCount));
+ WordCount = MIN (WordCount, (RequiredWordCount - ActualWordCount));
if (Read) {
IDEReadPortWMultiple (
|