| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | /* 
 | 
					
						
							|  |  |  |  * Copyright (C) 2000 Jeff Dike (jdike@karaya.com) | 
					
						
							|  |  |  |  * Licensed under the GPL | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | #ifndef __KERN_H__
 | 
					
						
							|  |  |  | #define __KERN_H__
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /* These are all user-mode things which are convenient to call directly
 | 
					
						
							|  |  |  |  * from kernel code and for which writing a wrapper is too much of a pain. | 
					
						
							|  |  |  |  * The regular include files can't be included because this file is included | 
					
						
							|  |  |  |  * only into kernel code, and user-space includes conflict with kernel | 
					
						
							|  |  |  |  * includes. | 
					
						
							|  |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2006-01-06 00:18:59 -08:00
										 |  |  | extern int printf(const char *fmt, ...); | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | extern void *sbrk(int increment); | 
					
						
							|  |  |  | extern int pause(void); | 
					
						
							| 
									
										
										
										
											2006-03-27 01:14:29 -08:00
										 |  |  | extern void exit(int); | 
					
						
							| 
									
										
										
										
											2006-01-06 00:18:59 -08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2005-04-16 15:20:36 -07:00
										 |  |  | #endif
 | 
					
						
							|  |  |  | 
 |