Add devices directory, and PL011 and PL110 basic (very!) device drivers
This commit is contained in:
		
							
								
								
									
										6
									
								
								include/devices/pl011.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								include/devices/pl011.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
#ifndef PL011_H
 | 
			
		||||
#define PL011_H
 | 
			
		||||
 | 
			
		||||
void pl011_putc(char c);
 | 
			
		||||
 | 
			
		||||
#endif /* PL011_H */
 | 
			
		||||
							
								
								
									
										3
									
								
								include/devices/pl110.h
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								include/devices/pl110.h
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
#include <framebuffer.h>
 | 
			
		||||
 | 
			
		||||
int pl110_init(struct fb *f, unsigned int color_depth);
 | 
			
		||||
		Reference in New Issue
	
	Block a user