params.py revision 7675
16019Shines@cs.fsu.edu# Copyright (c) 2010 The Hewlett-Packard Development Company
26019Shines@cs.fsu.edu# All rights reserved.
37178Sgblack@eecs.umich.edu#
47178Sgblack@eecs.umich.edu# Redistribution and use in source and binary forms, with or without
57178Sgblack@eecs.umich.edu# modification, are permitted provided that the following conditions are
67178Sgblack@eecs.umich.edu# met: redistributions of source code must retain the above copyright
77178Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer;
87178Sgblack@eecs.umich.edu# redistributions in binary form must reproduce the above copyright
97178Sgblack@eecs.umich.edu# notice, this list of conditions and the following disclaimer in the
107178Sgblack@eecs.umich.edu# documentation and/or other materials provided with the distribution;
117178Sgblack@eecs.umich.edu# neither the name of the copyright holders nor the names of its
127178Sgblack@eecs.umich.edu# contributors may be used to endorse or promote products derived from
137178Sgblack@eecs.umich.edu# this software without specific prior written permission.
147178Sgblack@eecs.umich.edu#
156019Shines@cs.fsu.edu# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
166019Shines@cs.fsu.edu# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
176019Shines@cs.fsu.edu# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
186019Shines@cs.fsu.edu# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
196019Shines@cs.fsu.edu# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
206019Shines@cs.fsu.edu# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
216019Shines@cs.fsu.edu# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
226019Shines@cs.fsu.edu# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
236019Shines@cs.fsu.edu# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
246019Shines@cs.fsu.edu# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
256019Shines@cs.fsu.edu# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
266019Shines@cs.fsu.edu#
276019Shines@cs.fsu.edu# Authors: Nathan Binkert
286019Shines@cs.fsu.edu
296019Shines@cs.fsu.edutry:
306019Shines@cs.fsu.edu    modules = __loader__.modules
316019Shines@cs.fsu.eduexcept NameError:
326019Shines@cs.fsu.edu    modules = { }
336019Shines@cs.fsu.edu
346019Shines@cs.fsu.edufor module in modules.iterkeys():
356019Shines@cs.fsu.edu    if module.startswith('m5.internal.params.'):
366019Shines@cs.fsu.edu        exec "from %s import *" % module
376019Shines@cs.fsu.edu