1/* 2 * Copyright (c) 2012, 2014 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 --- 332 unchanged lines hidden (view full) --- 341 return (bits(a, intlvHighBit, intlvHighBit - intlvBits + 1) ^ 342 bits(a, xorHighBit, xorHighBit - intlvBits + 1)) == 343 intlvMatch; 344 } 345 } 346 return false; 347 } 348 |
349 /** 350 * Less-than operator used to turn an STL map into a binary search 351 * tree of non-overlapping address ranges. 352 * 353 * @param r Range to compare with 354 * @return true if the start address is less than that of the other range 355 */ 356 bool operator<(const AddrRange& r) const --- 17 unchanged lines hidden (view full) --- 374 } 375 return true; 376 } 377 378 bool operator!=(const AddrRange& r) const 379 { 380 return !(*this == r); 381 } |
382}; 383 384/** 385 * Convenience typedef for a collection of address ranges 386 */ 387typedef std::list<AddrRange> AddrRangeList; 388 389inline AddrRange --- 12 unchanged lines hidden --- |