aboutsummaryrefslogtreecommitdiff
path: root/i386/i386at/kd_queue.c
diff options
context:
space:
mode:
authorFlavio Cruz <flaviocruz@gmail.com>2023-01-03 00:41:42 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2023-01-03 00:43:04 +0100
commitd7348c94453d2662affecbb7605047044898ed19 (patch)
treebde2413d0cfb14962f8f543ad96765a445920908 /i386/i386at/kd_queue.c
parent276f997fd7a51385829fec6d460d0a588b0bad7c (diff)
downloadgnumach-d7348c94453d2662affecbb7605047044898ed19.tar.gz
gnumach-d7348c94453d2662affecbb7605047044898ed19.tar.bz2
gnumach-d7348c94453d2662affecbb7605047044898ed19.zip
Introduce time_value64_t to keep track of real time in the kernel
time_value64_t uses int64_t to track seconds and nanoseconds and hence is Y2038 proof. It does not have nano second resolution but it could be provided in the future. Removed include/sys/time.h as it remaps time_value_t into timeval which can create confusion. The timestamp from keyboard and mouse events is no longer set and replaced with rpc_time_value for better compatibility.
Diffstat (limited to 'i386/i386at/kd_queue.c')
-rw-r--r--i386/i386at/kd_queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386at/kd_queue.c b/i386/i386at/kd_queue.c
index 78035b18..ab399cd8 100644
--- a/i386/i386at/kd_queue.c
+++ b/i386/i386at/kd_queue.c
@@ -88,7 +88,7 @@ kdq_put(kd_event_queue *q, kd_event *ev)
kd_event *qp = q->events + q->firstfree;
qp->type = ev->type;
- qp->time = ev->time;
+ qp->unused_time = ev->unused_time;
qp->value = ev->value;
q->firstfree = q_next(q->firstfree);
}