Deleted Added
sdiff udiff text old ( 10435:97d6ed3054ae ) new ( 10481:59fb5779ec6e )
full compact
1/*
2 * Copyright (c) 2012 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

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

40 * Authors: Nathan Binkert
41 * Steve Reinhardt
42 * Andreas Hansson
43 */
44
45#ifndef __BASE_ADDR_RANGE_HH__
46#define __BASE_ADDR_RANGE_HH__
47
48#include <vector>
49
50#include "base/bitfield.hh"
51#include "base/cprintf.hh"
52#include "base/misc.hh"
53#include "base/types.hh"
54
55class AddrRange

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

288 // for now assume that the end is also the same, and that
289 // we are looking at the same interleaving bits
290 return intlvMatch < r.intlvMatch;
291 }
292
293#endif // SWIG
294};
295
296inline AddrRange
297RangeEx(Addr start, Addr end)
298{ return AddrRange(start, end - 1); }
299
300inline AddrRange
301RangeIn(Addr start, Addr end)
302{ return AddrRange(start, end); }
303
304inline AddrRange
305RangeSize(Addr start, Addr size)
306{ return AddrRange(start, start + size - 1); }
307
308#endif // __BASE_ADDR_RANGE_HH__