From 8512948cebb6ea06d45a94fdf2c1390ffd3894a0 Mon Sep 17 00:00:00 2001 From: Ron Dreslinski Date: Sun, 5 Jun 2005 01:35:55 -0400 Subject: [PATCH 1/6] update for ISCA release --HG-- extra : convert_revision : ab97c34b76c253267d48479bd043963be8b7fe4b From e14bff46b6abbbdf0fa9fc2baea1fe2de6df9255 Mon Sep 17 00:00:00 2001 From: Kevin Lim Date: Sun, 5 Jun 2005 01:50:35 -0400 Subject: [PATCH 2/6] Update for ISCA release. --HG-- extra : convert_revision : 5c3fd17ba0a5173b22d2977b278013ef50d78a68 From d4559c32e480d19076d16f00009ae93e9e9d1c73 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Sun, 5 Jun 2005 01:57:57 -0400 Subject: [PATCH 3/6] Add licenses in python dir. python/m5/__init__.py: python/m5/convert.py: python/m5/multidict.py: python/m5/smartdict.py: Add license. --HG-- extra : convert_revision : 825dcad94e13b18aadc7188053ad1999a0219eae --- python/m5/__init__.py | 26 ++++++++++++++++++++++++++ python/m5/convert.py | 26 ++++++++++++++++++++++++++ python/m5/multidict.py | 26 ++++++++++++++++++++++++++ python/m5/smartdict.py | 26 ++++++++++++++++++++++++++ 4 files changed, 104 insertions(+) diff --git a/python/m5/__init__.py b/python/m5/__init__.py index 5a3c69caa9..cf4ba9a54c 100644 --- a/python/m5/__init__.py +++ b/python/m5/__init__.py @@ -1,3 +1,29 @@ +# Copyright (c) 2005 The Regents of The University of Michigan +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are +# met: redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer; +# redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution; +# neither the name of the copyright holders nor the names of its +# contributors may be used to endorse or promote products derived from +# this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + import sys, os # define this here so we can use it right away if necessary diff --git a/python/m5/convert.py b/python/m5/convert.py index a893036875..2551459bd9 100644 --- a/python/m5/convert.py +++ b/python/m5/convert.py @@ -1,3 +1,29 @@ +# Copyright (c) 2005 The Regents of The University of Michigan +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are +# met: redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer; +# redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution; +# neither the name of the copyright holders nor the names of its +# contributors may be used to endorse or promote products derived from +# this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + # metric prefixes exa = 1.0e18 peta = 1.0e15 diff --git a/python/m5/multidict.py b/python/m5/multidict.py index d0c27fa8ea..fd40ebbbde 100644 --- a/python/m5/multidict.py +++ b/python/m5/multidict.py @@ -1,3 +1,29 @@ +# Copyright (c) 2005 The Regents of The University of Michigan +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are +# met: redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer; +# redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution; +# neither the name of the copyright holders nor the names of its +# contributors may be used to endorse or promote products derived from +# this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + __all__ = [ 'multidict' ] class multidict(object): diff --git a/python/m5/smartdict.py b/python/m5/smartdict.py index a2661c279f..cd38d73264 100644 --- a/python/m5/smartdict.py +++ b/python/m5/smartdict.py @@ -1,3 +1,29 @@ +# Copyright (c) 2005 The Regents of The University of Michigan +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are +# met: redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer; +# redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution; +# neither the name of the copyright holders nor the names of its +# contributors may be used to endorse or promote products derived from +# this software without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + # The SmartDict class fixes a couple of issues with using the content # of os.environ or similar dicts of strings as Python variables: # From 4f8cab04d4155e76445fefdfb6bba38d8a5aee6b Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Sun, 5 Jun 2005 02:01:36 -0400 Subject: [PATCH 4/6] Actually commit new doxygen stats doc. --HG-- extra : convert_revision : 8397036847797c116ce1bcbdb30636e70326c6d6 From 07b1ecd1a3ef25ddbb25afadd542405f253e7743 Mon Sep 17 00:00:00 2001 From: Ron Dreslinski Date: Sun, 5 Jun 2005 02:24:26 -0400 Subject: [PATCH 5/6] Defualt only build LRU cache, speed compile --HG-- extra : convert_revision : 871d5b79de2cd3da1fb618ff09063aa4a00c39ac From 966ae300dbdc1e00ff1ff656ac0c9fd9589a7166 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Sun, 5 Jun 2005 02:26:06 -0400 Subject: [PATCH 6/6] Get rid of a bunch of obsolete utilities. --HG-- extra : convert_revision : 6ffe39211b6c9cc55f2decd2f1fbdba9ea0fabcd