__init__.py revision 13714:35636064b7a1
111832SChristian.Menard@tu-dresden.de# Copyright (c) 2010 The Hewlett-Packard Development Company
211832SChristian.Menard@tu-dresden.de# All rights reserved.
311832SChristian.Menard@tu-dresden.de#
411832SChristian.Menard@tu-dresden.de# Redistribution and use in source and binary forms, with or without
511832SChristian.Menard@tu-dresden.de# modification, are permitted provided that the following conditions are
610993Sjungma@eit.uni-kl.de# met: redistributions of source code must retain the above copyright
710993Sjungma@eit.uni-kl.de# notice, this list of conditions and the following disclaimer;
811832SChristian.Menard@tu-dresden.de# redistributions in binary form must reproduce the above copyright
911832SChristian.Menard@tu-dresden.de# notice, this list of conditions and the following disclaimer in the
1011832SChristian.Menard@tu-dresden.de# documentation and/or other materials provided with the distribution;
1111832SChristian.Menard@tu-dresden.de# neither the name of the copyright holders nor the names of its
1211832SChristian.Menard@tu-dresden.de# contributors may be used to endorse or promote products derived from
1311832SChristian.Menard@tu-dresden.de# this software without specific prior written permission.
1411832SChristian.Menard@tu-dresden.de#
1511832SChristian.Menard@tu-dresden.de# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
1611832SChristian.Menard@tu-dresden.de# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
1711832SChristian.Menard@tu-dresden.de# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
1811832SChristian.Menard@tu-dresden.de# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
1911832SChristian.Menard@tu-dresden.de# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
2011832SChristian.Menard@tu-dresden.de# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
2111832SChristian.Menard@tu-dresden.de# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
2211832SChristian.Menard@tu-dresden.de# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
2311832SChristian.Menard@tu-dresden.de# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2411832SChristian.Menard@tu-dresden.de# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
2511832SChristian.Menard@tu-dresden.de# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2611832SChristian.Menard@tu-dresden.de#
2711832SChristian.Menard@tu-dresden.de# Authors: Nathan Binkert
2811832SChristian.Menard@tu-dresden.de
2911832SChristian.Menard@tu-dresden.defrom __future__ import print_function
3011832SChristian.Menard@tu-dresden.defrom __future__ import absolute_import
3111832SChristian.Menard@tu-dresden.de
3211971Szulian@eit.uni-kl.defrom m5.internal import params
3311832SChristian.Menard@tu-dresden.defrom m5.SimObject import *
3411832SChristian.Menard@tu-dresden.de
3511971Szulian@eit.uni-kl.detry:
3611971Szulian@eit.uni-kl.de    modules = __loader__.modules
3711832SChristian.Menard@tu-dresden.deexcept NameError:
3811832SChristian.Menard@tu-dresden.de    modules = { }
3911832SChristian.Menard@tu-dresden.de
4011832SChristian.Menard@tu-dresden.defor module in modules.keys():
4111832SChristian.Menard@tu-dresden.de    if module.startswith('m5.objects.'):
4211832SChristian.Menard@tu-dresden.de        exec("from %s import *" % module)
4311832SChristian.Menard@tu-dresden.de