projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1267ff5
)
work around gcc 4.5 warning
author
Nathan Binkert
<nate@binkert.org>
Mon, 9 May 2011 20:34:11 +0000
(16:34 -0400)
committer
Nathan Binkert
<nate@binkert.org>
Mon, 9 May 2011 20:34:11 +0000
(16:34 -0400)
src/cpu/inorder/resource_pool.cc
patch
|
blob
|
history
diff --git
a/src/cpu/inorder/resource_pool.cc
b/src/cpu/inorder/resource_pool.cc
index 263512611c4dd6e6f840cf310db0f3b66b256ce2..1800aac37adf03d7b7ee9532edc382d9e38791f4 100644
(file)
--- a/
src/cpu/inorder/resource_pool.cc
+++ b/
src/cpu/inorder/resource_pool.cc
@@
-260,7
+260,7
@@
ResourcePool::scheduleEvent(InOrderCPU::CPUEventType e_type, DynInstPtr inst,
Tick when = cpu->nextCycle(curTick() + cpu->ticks(delay));
- switch (e_type)
+ switch (
(int)
e_type)
{
case InOrderCPU::ActivateThread:
{
@@
-505,7
+505,7
@@
ResourcePool::ResPoolEvent::ResPoolEvent(ResourcePool *_resPool,
void
ResourcePool::ResPoolEvent::process()
{
- switch (eventType)
+ switch (
(int)
eventType)
{
case InOrderCPU::ActivateThread:
resPool->activateAll(tid);