memtest-ruby.py (8801:1a84c6a81299) | memtest-ruby.py (8802:ef66a9083bc4) |
---|---|
1# Copyright (c) 2006-2007 The Regents of The University of Michigan 2# Copyright (c) 2010 Advanced Micro Devices, Inc. 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions are 7# met: redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer; --- 19 unchanged lines hidden (view full) --- 28# Authors: Ron Dreslinski 29 30import m5 31from m5.objects import * 32from m5.defines import buildEnv 33from m5.util import addToPath 34import os, optparse, sys 35 | 1# Copyright (c) 2006-2007 The Regents of The University of Michigan 2# Copyright (c) 2010 Advanced Micro Devices, Inc. 3# All rights reserved. 4# 5# Redistribution and use in source and binary forms, with or without 6# modification, are permitted provided that the following conditions are 7# met: redistributions of source code must retain the above copyright 8# notice, this list of conditions and the following disclaimer; --- 19 unchanged lines hidden (view full) --- 28# Authors: Ron Dreslinski 29 30import m5 31from m5.objects import * 32from m5.defines import buildEnv 33from m5.util import addToPath 34import os, optparse, sys 35 |
36if buildEnv['FULL_SYSTEM']: 37 panic("This script requires system-emulation mode (*_SE).") 38 | |
39# Get paths we might need 40config_path = os.path.dirname(os.path.abspath(__file__)) 41config_root = os.path.dirname(config_path) 42m5_root = os.path.dirname(config_root) 43addToPath(config_root+'/configs/common') 44addToPath(config_root+'/configs/ruby') 45 46import Ruby --- 78 unchanged lines hidden --- | 36# Get paths we might need 37config_path = os.path.dirname(os.path.abspath(__file__)) 38config_root = os.path.dirname(config_path) 39m5_root = os.path.dirname(config_root) 40addToPath(config_root+'/configs/common') 41addToPath(config_root+'/configs/ruby') 42 43import Ruby --- 78 unchanged lines hidden --- |