\r
@param Length The number of bytes to invalidate from the instruction cache.\r
\r
- @return Address\r
+ @return Address of cache invalidation.\r
\r
**/\r
VOID *\r
@param Length The number of bytes to write back and invalidate from the\r
data cache.\r
\r
- @return Address\r
+ @return Address of cache invalidation.\r
\r
**/\r
VOID *\r
}\r
\r
Start = (UINTN)Address;\r
+ //\r
+ // Calculate the cache line alignment\r
+ // \r
End = (Start + Length + (CACHE_LINE_SIZE - 1)) & ~(CACHE_LINE_SIZE - 1);\r
Start &= ~(CACHE_LINE_SIZE - 1);\r
\r
mode, then Address is a virtual address.\r
@param Length The number of bytes to write back from the data cache.\r
\r
- @return Address\r
+ @return Address of cache wrote in main memory.\r
\r
**/\r
VOID *\r
then Address is a virtual address.\r
@param Length The number of bytes to invalidate from the data cache.\r
\r
- @return Address\r
+ @return Address of cache invalidation.\r
\r
**/\r
VOID *\r