-# Copyright (c) 2006 The Regents of The University of Michigan
+# Copyright (c) 2006-2007 The Regents of The University of Michigan
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
#
# Authors: Korey Sewell
-process = LiveProcess(executable = binpath('bzip2'))
-process.cmd = cmd = 'bzip2' + inputpath('bzip2', 'lgred.source')
-root.system.cpu.workload = process
+m5.AddToPath('../configs/common')
+from cpu2000 import bzip2_source
+
+workload = bzip2_source(isa, opsys, 'lgred')
+root.system.cpu.workload = workload.makeLiveProcess()