Change-Id: I7f6f938f9412e535df0cbc0687ec9f2de2dbf8e3
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/32918
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu>
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
}
int32_t
- curTaskPIDFromTaskStruct(Addr task_struct) {
+ curTaskPIDFromTaskStruct(Addr task_struct)
+ {
int32_t offset = 0;
if (!get_data("task_struct_pid", offset))
return -1;