X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fgeekos%2Ftimer.c;h=01b716d235a62f49d178746836f1fd48071d82b0;hb=8094dbfed1ac05d7a9dd168d5f2ef4b44b7c9978;hp=7c15550fd4100b0bb481965f884788559fc4571a;hpb=aad69eda8e2354cf146054e57ad25fe201a1cb52;p=palacios-OLD.git diff --git a/palacios/src/geekos/timer.c b/palacios/src/geekos/timer.c index 7c15550..01b716d 100644 --- a/palacios/src/geekos/timer.c +++ b/palacios/src/geekos/timer.c @@ -2,7 +2,7 @@ * GeekOS timer interrupt support * Copyright (c) 2001,2003 David H. Hovemeyer * Copyright (c) 2003, Jeffrey K. Hollingsworth - * $Revision: 1.9 $ + * $Revision: 1.10 $ * * This is free software. You are permitted to use, * redistribute, and modify it as specified in the file "COPYING". @@ -164,6 +164,11 @@ pit_calibrate_tsc(void) */ volatile ulong_t g_numTicks; +ulong_t clock_time(void){ + return g_numTicks; +} + + /* * Number of times the spin loop can execute during one timer tick */