mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-16 07:27:35 +00:00
fixup "hw: sanitize scheduler, cpu, and timer interplay" (scheduler unit test)
This commit is contained in:
parent
f357c4923a
commit
9c3c1c6fe3
@ -39,10 +39,10 @@ struct Kernel::Timer
|
||||
|
||||
time_t schedule_timeout() { return 0; } /* dummy unneeded */
|
||||
|
||||
void set_timeout(Timeout * const timeout, time_t const duration)
|
||||
void set_timeout(Timeout &timeout, time_t const duration)
|
||||
{
|
||||
_next_timeout = _time + duration;
|
||||
_timeout = timeout;
|
||||
_timeout = &timeout;
|
||||
}
|
||||
|
||||
void add_time(time_t const duration)
|
||||
|
Loading…
x
Reference in New Issue
Block a user