diff options
author | Yi Xiang <yix@colostate.edu> | 2011-03-08 21:43:11 -0800 |
---|---|---|
committer | Yi Xiang <yix@colostate.edu> | 2011-03-08 21:43:11 -0800 |
commit | d7b55088756c2e26a7fd6375c08689cfdfa1ed33 (patch) | |
tree | 85d607763a55af33a19b9c880ed847627f149c0e /src | |
parent | 674b94128284796c90f12e16d5029ce693464deb (diff) | |
download | gem5-d7b55088756c2e26a7fd6375c08689cfdfa1ed33.tar.xz |
Alpha: Fix the datatypes of some values read from the simulated kernel.
Diffstat (limited to 'src')
-rw-r--r-- | src/arch/alpha/linux/threadinfo.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/alpha/linux/threadinfo.hh b/src/arch/alpha/linux/threadinfo.hh index db723bed3..6144cb773 100644 --- 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; |