Alpha: Fix the datatypes of some values read from the simulated kernel.
This commit is contained in:
parent
674b941282
commit
d7b5508875
|
@ -103,7 +103,7 @@ class ThreadInfo
|
||||||
int32_t
|
int32_t
|
||||||
curTaskPID(Addr thread_info = 0)
|
curTaskPID(Addr thread_info = 0)
|
||||||
{
|
{
|
||||||
Addr offset;
|
int32_t offset;
|
||||||
if (!get_data("task_struct_pid", offset))
|
if (!get_data("task_struct_pid", offset))
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
|
@ -116,7 +116,7 @@ class ThreadInfo
|
||||||
int64_t
|
int64_t
|
||||||
curTaskStart(Addr thread_info = 0)
|
curTaskStart(Addr thread_info = 0)
|
||||||
{
|
{
|
||||||
Addr offset;
|
int32_t offset;
|
||||||
if (!get_data("task_struct_start_time", offset))
|
if (!get_data("task_struct_start_time", offset))
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue