SMP - Only a single APIC timer handler

- bsp_timer_int_handler() and ap_timer_int_handler() unified into
  timer_int_handler()

- global realtime updated only on BSP
This commit is contained in:
Tomas Hruby
2010-09-15 14:10:09 +00:00
parent 85cca7096f
commit b7aed08e65
6 changed files with 100 additions and 115 deletions

View File

@@ -1,6 +1,8 @@
#ifndef __CLOCK_X86_H__
#define __CLOCK_X86_H__
#include "../apic_asm.h"
_PROTOTYPE(int init_8253A_timer, (unsigned freq));
_PROTOTYPE(void stop_8253A_timer, (void));