/** @file\r
\r
Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
+ Copyright (c) 2011 - 2014, ARM Limited. All rights reserved.\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
UINTN ArmCacheOperationThreshold = PcdGet32(PcdArmCacheOperationThreshold);\r
\r
if ((CacheOperation != NULL) && (Length >= ArmCacheOperationThreshold)) {\r
+ ArmDrainWriteBuffer ();\r
CacheOperation ();\r
} else {\r
// Align address (rounding down)\r