diff options
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 (
|