diff --git a/conts/baremetal/uart_service/include/uart.h b/conts/baremetal/uart_service/include/uart.h new file mode 100644 index 0000000..fa21d7a --- /dev/null +++ b/conts/baremetal/uart_service/include/uart.h @@ -0,0 +1,17 @@ + +#ifndef __UART_SERVICE_H__ +#define __UART_SERVICE_H__ + +#include +#include + +/* + * 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__ */