// Copyright (c) 2010 ARM Limited // All rights reserved // // The license below extends only to copyright in the software and shall // not be construed as granting a license to any other intellectual // property including but not limited to intellectual property relating // to a hardware implementation of the functionality of the software // licensed hereunder. You may use the software subject to the license // terms below provided that you ensure that this notice is replicated // unmodified and in its entirety in all distributions of the software, // modified or unmodified, in source code or in binary form. // // Copyright (c) 2007, 2008 // The Florida State University // All Rights Reserved // // This code is part of the M5 simulator. // // Permission is granted to use, copy, create derivative works and // redistribute this software and such derivative works for any // purpose, so long as the copyright notice above, this grant of // permission, and the disclaimer below appear in all copies made; and // so long as the name of The Florida State University is not used in // any advertising or publicity pertaining to the use or distribution // of this software without specific, written prior authorization. // // THIS SOFTWARE IS PROVIDED AS IS, WITHOUT REPRESENTATION FROM THE // FLORIDA STATE UNIVERSITY AS TO ITS FITNESS FOR ANY PURPOSE, AND // WITHOUT WARRANTY BY THE FLORIDA STATE UNIVERSITY OF ANY KIND, EITHER // EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION THE IMPLIED // WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR // PURPOSE. THE REGENTS OF THE FLORIDA STATE UNIVERSITY SHALL NOT BE // LIABLE FOR ANY DAMAGES, INCLUDING DIRECT, SPECIAL, INDIRECT, // INCIDENTAL, OR CONSEQUENTIAL DAMAGES, WITH RESPECT TO ANY CLAIM // ARISING OUT OF OR IN CONNECTION WITH THE USE OF THE SOFTWARE, EVEN // IF IT HAS BEEN OR IS HEREAFTER ADVISED OF THE POSSIBILITY OF SUCH // DAMAGES. // // Authors: Stephen R. Hines - modified for use in ARM version