projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
674b941
)
Alpha: Fix the datatypes of some values read from the simulated kernel.
author
Yi Xiang
<yix@colostate.edu>
Wed, 9 Mar 2011 05:43:11 +0000
(21:43 -0800)
committer
Yi Xiang
<yix@colostate.edu>
Wed, 9 Mar 2011 05:43:11 +0000
(21:43 -0800)
src/arch/alpha/linux/threadinfo.hh
patch
|
blob
|
history
diff --git
a/src/arch/alpha/linux/threadinfo.hh
b/src/arch/alpha/linux/threadinfo.hh
index db723bed3a018647d923f0e2fcb36bee4e9b354d..6144cb773043d4e507d47b61526c4a3de4391b1c 100644
(file)
--- a/
src/arch/alpha/linux/threadinfo.hh
+++ b/
src/arch/alpha/linux/threadinfo.hh
@@
-103,7
+103,7
@@
class ThreadInfo
int32_t
curTaskPID(Addr thread_info = 0)
{
-
Addr
offset;
+
int32_t
offset;
if (!get_data("task_struct_pid", offset))
return -1;
@@
-116,7
+116,7
@@
class ThreadInfo
int64_t
curTaskStart(Addr thread_info = 0)
{
-
Addr
offset;
+
int32_t
offset;
if (!get_data("task_struct_start_time", offset))
return -1;