X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fgeekos%2Ftimer.h;h=6b123aa758ce2b1f91c23d0d7558d24ef0ff6a41;hb=3cfd36ea8e68ec218ae1aa3ac3c793037aa5c694;hp=768a31b19ebe00f7f8097c28330c3366c784e857;hpb=101529b6eae500272347287df43ec51aa003d0aa;p=palacios.releases.git diff --git a/palacios/include/geekos/timer.h b/palacios/include/geekos/timer.h index 768a31b..6b123aa 100644 --- a/palacios/include/geekos/timer.h +++ b/palacios/include/geekos/timer.h @@ -30,10 +30,14 @@ typedef struct { int origTicks; } timerEvent; +int Start_Timer_Secs(int seconds, timerCallback cb); +int Start_Timer_MSecs(int msecs, timerCallback cb); int Start_Timer(int ticks, timerCallback); -int Get_Remaing_Timer_Ticks(int id); -int Cancel_Timer(int id); +double Get_Remaining_Timer_Secs(int id); +int Get_Remaining_Timer_MSecs(int id); +int Get_Remaining_Timer_Ticks(int id); +int Cancel_Timer(int id); void Micro_Delay(int us);