From d0110749bd8ea88c752013033a1e7c186e53aed3 Mon Sep 17 00:00:00 2001 From: Amit Mahajan Date: Tue, 30 Mar 2010 20:16:31 +0530 Subject: [PATCH] Added missing uart file. --- conts/baremetal/uart_service/include/uart.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 conts/baremetal/uart_service/include/uart.h 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__ */