mirror of
https://github.com/drasko/codezero.git
synced 2026-05-03 17:11:29 +02:00
Added missing uart file.
This commit is contained in:
17
conts/baremetal/uart_service/include/uart.h
Normal file
17
conts/baremetal/uart_service/include/uart.h
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
|
||||||
|
#ifndef __UART_SERVICE_H__
|
||||||
|
#define __UART_SERVICE_H__
|
||||||
|
|
||||||
|
#include <l4/api/capability.h>
|
||||||
|
#include <l4/generic/cap-types.h>
|
||||||
|
|
||||||
|
/*
|
||||||
|
* uart structure ecapsulating
|
||||||
|
* capability and virtual base address of uart
|
||||||
|
*/
|
||||||
|
struct uart {
|
||||||
|
unsigned long base; /* VMA where uart will be mapped */
|
||||||
|
struct capability cap; /* Capability describing uart */
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif /* __UART_SERVICE_H__ */
|
||||||
Reference in New Issue
Block a user