diff options
author | Luca Dariz <luca@orpolo.org> | 2023-02-12 18:03:11 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-02-12 18:28:47 +0100 |
commit | 5fdc928d3d29fdc93ad00cea5f5c877a19013d44 (patch) | |
tree | b4b63da236cd6d805d6bcd7bafad03ef3994bb40 /kern/thread.c | |
parent | b0d39e2ffda3cdd67d81022f40b2a73518fda6d0 (diff) | |
download | gnumach-5fdc928d3d29fdc93ad00cea5f5c877a19013d44.tar.gz gnumach-5fdc928d3d29fdc93ad00cea5f5c877a19013d44.tar.bz2 gnumach-5fdc928d3d29fdc93ad00cea5f5c877a19013d44.zip |
fix rpc time value for 64 bit
* include/mach/task_info.h: use rpc variant of time_value_t
* include/mach/thread_info.h: Likewise
* kern/mach_clock.c: use rpc variant of time_value_t in
read_time_stamp()
* kern/mach_clock.h: Likewise
* kern/thread.c: use rpc variant of thread_read_times()
* kern/timer.h_ add thread_read_times_rpc() by converting time_value_t
to the corresponding rpc structures inline.
Message-Id: <20230212170313.1501404-5-luca@orpolo.org>
Diffstat (limited to 'kern/thread.c')
-rw-r--r-- | kern/thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kern/thread.c b/kern/thread.c index 17cc458c..4a6b9eda 100644 --- a/kern/thread.c +++ b/kern/thread.c @@ -1522,7 +1522,7 @@ kern_return_t thread_info( /* fill in info */ - thread_read_times(thread, + thread_read_times_rpc(thread, &basic_info->user_time, &basic_info->system_time); basic_info->base_priority = thread->priority; |