 f14fb60209
			
		
	
	
		f14fb60209
		
	
	
	
	
		
			
			* Updating common/lib * Updating lib/csu * Updating lib/libc * Updating libexec/ld.elf_so * Corrected test on __minix in featuretest to actually follow the meaning of the comment. * Cleaned up _REENTRANT-related defintions. * Disabled -D_REENTRANT for libfetch * Removing some unneeded __NBSD_LIBC defines and tests Change-Id: Ic1394baef74d11b9f86b312f5ff4bbc3cbf72ce2
		
			
				
	
	
		
			23 lines
		
	
	
		
			573 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			573 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #ifndef __CLOCK_H__
 | |
| #define __CLOCK_H__
 | |
| 
 | |
| #include "kernel/kernel.h"
 | |
| #include "arch_clock.h"
 | |
| 
 | |
| int boot_cpu_init_timer(unsigned freq);
 | |
| int app_cpu_init_timer(unsigned freq);
 | |
| 
 | |
| int timer_int_handler(void);
 | |
| 
 | |
| int init_local_timer(unsigned freq);
 | |
| /* sto p the local timer ticking */
 | |
| void stop_local_timer(void);
 | |
| /* let the time tick again with the original settings after it was stopped */
 | |
| void restart_local_timer(void);
 | |
| int register_local_timer_handler(irq_handler_t handler);
 | |
| 
 | |
| u64_t ms_2_cpu_time(unsigned ms);
 | |
| unsigned cpu_time_2_ms(u64_t cpu_time);
 | |
| 
 | |
| #endif /* __CLOCK_H__ */
 |