summaryrefslogtreecommitdiff
path: root/src/arch/mips/utility.hh
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2007-03-09 16:56:52 -0500
committerAli Saidi <saidi@eecs.umich.edu>2007-03-09 16:56:52 -0500
commitdc4d47bad4f95501ebd144dc4aa53aa17563abcc (patch)
treeb4e4a4f0f180468e7d4b5861165176d439229a50 /src/arch/mips/utility.hh
parentad4483490785236f49b009f0d7ef3328abaf8cc5 (diff)
parent58f69391cac4dcc3696470d08756d0c5ff308963 (diff)
downloadgem5-dc4d47bad4f95501ebd144dc4aa53aa17563abcc.tar.xz
Merge zizzer:/bk/newmem
into zeep.pool:/z/saidi/work/m5.newmem --HG-- extra : convert_revision : 5804298706ac0f04fbe491326af71ce9ab74425a
Diffstat (limited to 'src/arch/mips/utility.hh')
-rw-r--r--src/arch/mips/utility.hh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/arch/mips/utility.hh b/src/arch/mips/utility.hh
index 56689ba4d..b5c1e31e1 100644
--- a/src/arch/mips/utility.hh
+++ b/src/arch/mips/utility.hh
@@ -1,5 +1,6 @@
/*
* Copyright (c) 2003-2005 The Regents of The University of Michigan
+ * Copyright (c) 2007 MIPS Technologies, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -27,6 +28,7 @@
*
* Authors: Nathan Binkert
* Steve Reinhardt
+ * Korey Sewell
*/
#ifndef __ARCH_MIPS_UTILITY_HH__
@@ -98,6 +100,11 @@ namespace MipsISA {
return ExtMachInst(inst);
#endif
}
+
+ inline void startupCPU(ThreadContext *tc, int cpuId)
+ {
+ tc->activate(0);
+ }
};