params.py (7689:9d75590d7abe) params.py (11802:be62996c95d1)
1# Copyright (c) 2010 The Hewlett-Packard Development Company
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

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

27# Authors: Nathan Binkert
28
29try:
30 modules = __loader__.modules
31except NameError:
32 modules = { }
33
34for module in modules.iterkeys():
1# Copyright (c) 2010 The Hewlett-Packard Development Company
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

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

27# Authors: Nathan Binkert
28
29try:
30 modules = __loader__.modules
31except NameError:
32 modules = { }
33
34for module in modules.iterkeys():
35 if module.startswith('m5.internal.param_') or \
36 module.startswith('m5.internal.enum_'):
35 if module.startswith('_m5.param_') or \
36 module.startswith('_m5.enum_'):
37 exec "from %s import *" % module
37 exec "from %s import *" % module