|
|
@ -31,6 +31,11 @@ SharedPtr<Timer> Timer::Create(ResetType reset_type, std::string name) {
|
|
|
|
timer->interval_delay = 0;
|
|
|
|
timer->interval_delay = 0;
|
|
|
|
timer->callback_handle = timer_callback_handle_table.Create(timer).MoveFrom();
|
|
|
|
timer->callback_handle = timer_callback_handle_table.Create(timer).MoveFrom();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (reset_type == ResetType::Pulse) {
|
|
|
|
|
|
|
|
LOG_ERROR(Kernel, "Unimplemented timer reset type Pulse");
|
|
|
|
|
|
|
|
UNIMPLEMENTED();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return timer;
|
|
|
|
return timer;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|