- preemption handled in the clock timer interrupt handler, not in the clock task - more achitecture independent clock timer handling code - smp ready as each CPU can have its own timer
		
			
				
	
	
		
			9 lines
		
	
	
		
			219 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			219 B
		
	
	
	
		
			C
		
	
	
	
	
	
#ifndef __CLOCK_X86_H__
 | 
						|
#define __CLOCK_X86_H__
 | 
						|
 | 
						|
_PROTOTYPE(int init_8253A_timer, (unsigned freq));
 | 
						|
_PROTOTYPE(void stop_8253A_timer, (void));
 | 
						|
_PROTOTYPE(clock_t read_8253A_timer, (void));
 | 
						|
 | 
						|
#endif /* __CLOCK_X86_H__ */
 |