| 
									
										
										
										
											2007-07-17 18:37:06 -07:00
										 |  |  | #ifndef XEN_HVC_CONSOLE_H
 | 
					
						
							|  |  |  | #define XEN_HVC_CONSOLE_H
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | extern struct console xenboot_console; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2008-05-29 09:31:50 +02:00
										 |  |  | #ifdef CONFIG_HVC_XEN
 | 
					
						
							| 
									
										
										
										
											2008-05-26 23:31:25 +01:00
										 |  |  | void xen_console_resume(void); | 
					
						
							| 
									
										
										
										
											2008-07-09 13:15:03 +02:00
										 |  |  | void xen_raw_console_write(const char *str); | 
					
						
							| 
									
										
										
										
											2011-10-31 17:11:33 -07:00
										 |  |  | __printf(1, 2) | 
					
						
							| 
									
										
										
										
											2008-07-09 13:15:03 +02:00
										 |  |  | void xen_raw_printk(const char *fmt, ...); | 
					
						
							| 
									
										
										
										
											2008-05-29 09:31:50 +02:00
										 |  |  | #else
 | 
					
						
							|  |  |  | static inline void xen_console_resume(void) { } | 
					
						
							| 
									
										
										
										
											2008-07-09 13:15:03 +02:00
										 |  |  | static inline void xen_raw_console_write(const char *str) { } | 
					
						
							| 
									
										
										
										
											2011-10-31 17:11:33 -07:00
										 |  |  | static inline __printf(1, 2) | 
					
						
							| 
									
										
										
										
											2011-06-12 09:21:13 -07:00
										 |  |  | void xen_raw_printk(const char *fmt, ...) { } | 
					
						
							| 
									
										
										
										
											2008-05-29 09:31:50 +02:00
										 |  |  | #endif
 | 
					
						
							| 
									
										
										
										
											2008-05-26 23:31:25 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2007-07-17 18:37:06 -07:00
										 |  |  | #endif	/* XEN_HVC_CONSOLE_H */
 |