From 569df850cd7badd1e36132ad3b44aa76a4d27c25 Mon Sep 17 00:00:00 2001 From: Flavio Cruz Date: Thu, 19 Jan 2023 23:26:19 +0100 Subject: Add host_get_time64 RPC to return the time as time_value64_t Also updated the mapped time to support the new 64-bit time while keeping compatible with the user land programs currently using it so they can be migrated in parallel. --- kern/mach_clock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kern/mach_clock.h') diff --git a/kern/mach_clock.h b/kern/mach_clock.h index 903492e6..2da311d1 100644 --- a/kern/mach_clock.h +++ b/kern/mach_clock.h @@ -98,7 +98,7 @@ extern void record_time_stamp (time_value_t *stamp); * Read a timestamp in STAMP into RESULT. Returns values in the * real-time clock frame. */ -extern void read_time_stamp (time_value_t *stamp, time_value_t *result); +extern void read_time_stamp (const time_value_t *stamp, time_value_t *result); extern kern_return_t host_get_time( host_t host, -- cgit v1.2.3