X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fgeekos%2Ftimer.c;h=7355efb5e42d2448ba8aae6c0c72e272d4223a19;hb=dd37e2c1fabd6d6856c7a2cdbd2f3f73fb034393;hp=34f752b7c48a8f3e75fd90934c2c6d4b631ab647;hpb=645c766b13d15fd70cd360e577eac1f62e07149f;p=palacios-OLD.git diff --git a/palacios/src/geekos/timer.c b/palacios/src/geekos/timer.c index 34f752b..7355efb 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.5 $ + * $Revision: 1.8 $ * * This is free software. You are permitted to use, * redistribute, and modify it as specified in the file "COPYING". @@ -206,13 +206,22 @@ static void Timer_Interrupt_Handler(struct Interrupt_State* state) Begin_IRQ(state); - SerialPrintLevel(1,"Host Timer Interrupt Handler Running\n"); + +#if 0 +#define STACK_LEN 256 + + SerialPrint("Host Timer Interrupt Handler running\n"); + SerialPrint("Timer====\n"); + Dump_Interrupt_State(state); + // SerialMemDump((unsigned char*)(¤t),STACK_LEN); + SerialPrint("Timer done===\n"); + +#endif /* Update global and per-thread number of ticks */ ++g_numTicks; ++current->numTicks; - /* * If thread has been running for an entire quantum, * inform the interrupt return code that we want