Deleted Added
sdiff udiff text old ( 10815:169af9a2779f ) new ( 10941:a39646f4c407 )
full compact
1/*
2 * Copyright (c) 2012-2013 ARM Limited
3 * All rights reserved.
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 222 unchanged lines hidden (view full) ---

231 */
232 unsigned
233 getSubBlockSize() const
234 {
235 return blkSize;
236 }
237
238 /**
239 * Align an address to the block size.
240 * @param addr the address to align.
241 * @return The aligned address.
242 */
243 Addr blkAlign(Addr addr) const
244 {
245 return (addr & ~(Addr)(blkSize-1));
246 }

--- 66 unchanged lines hidden ---