[rtems commit] uart-output-char.h: extra offset definition.
Joel Sherrill
joel at rtems.org
Tue Jul 15 14:57:17 UTC 2014
Module: rtems
Branch: master
Commit: 7e60b7d125a7285a2411a3dba638dcbdd7905642
Changeset: http://git.rtems.org/rtems/commit/?id=7e60b7d125a7285a2411a3dba638dcbdd7905642
Author: Ben Gras <beng at shrike-systems.com>
Date: Sat Jul 12 17:04:19 2014 -0500
uart-output-char.h: extra offset definition.
All,
This patch is submitted as its values are used in my to-be-submitted
beagle bsp.
---
c/src/lib/libbsp/shared/include/uart-output-char.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/c/src/lib/libbsp/shared/include/uart-output-char.h b/c/src/lib/libbsp/shared/include/uart-output-char.h
index b009350..4242901 100644
--- a/c/src/lib/libbsp/shared/include/uart-output-char.h
+++ b/c/src/lib/libbsp/shared/include/uart-output-char.h
@@ -34,6 +34,7 @@
#define CONSOLE_IIR (*(volatile uint32_t *) (BSP_CONSOLE_UART_BASE + 0x08))
#define CONSOLE_FCR (*(volatile uint32_t *) (BSP_CONSOLE_UART_BASE + 0x08))
#define CONSOLE_LCR (*(volatile uint32_t *) (BSP_CONSOLE_UART_BASE + 0x0C))
+#define CONSOLE_MCR (*(volatile uint32_t *) (BSP_CONSOLE_UART_BASE + 0x10))
#define CONSOLE_LSR (*(volatile uint32_t *) (BSP_CONSOLE_UART_BASE + 0x14))
#define CONSOLE_SCR (*(volatile uint32_t *) (BSP_CONSOLE_UART_BASE + 0x1C))
#define CONSOLE_ACR (*(volatile uint32_t *) (BSP_CONSOLE_UART_BASE + 0x20))
@@ -43,6 +44,7 @@
#define CONSOLE_LSR_RDR 0x1
#define CONSOLE_LSR_THRE 0x20
+#define CONSOLE_LSR_TEMT 0x40
#define BSP_CONSOLE_UART_INIT(dll) \
do { \
More information about the vc
mailing list