* Renamed struct timer to struct minix_timer * Renamed timer_t to minix_timer_t * Ensured all the code uses the minix_timer_t typedef * Removed ifdef around _BSD_TIMER_T * Removed include/timers.h and merged it into include/minix/timers.h * Resolved prototype conflict by renaming kernel's (re)set_timer to (re)set_kernel_timer. Change-Id: I56f0f30dfed96e1a0575d92492294cf9a06468a5
		
			
				
	
	
		
			22 lines
		
	
	
		
			503 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			503 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* Function prototypes. */
 | 
						|
 | 
						|
struct schedproc;
 | 
						|
#include <minix/timers.h>
 | 
						|
 | 
						|
/* main.c */
 | 
						|
int main(void);
 | 
						|
void setreply(int proc_nr, int result);
 | 
						|
 | 
						|
/* schedule.c */
 | 
						|
int do_noquantum(message *m_ptr);
 | 
						|
int do_start_scheduling(message *m_ptr);
 | 
						|
int do_stop_scheduling(message *m_ptr);
 | 
						|
int do_nice(message *m_ptr);
 | 
						|
void init_scheduling(void);
 | 
						|
 | 
						|
/* utility.c */
 | 
						|
int no_sys(int who_e, int call_nr);
 | 
						|
int sched_isokendpt(int ep, int *proc);
 | 
						|
int sched_isemtyendpt(int ep, int *proc);
 | 
						|
int accept_message(message *m_ptr);
 |