mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-20 21:26:32 +08:00
uart-output-char.h: extra offset definition.
All, This patch is submitted as its values are used in my to-be-submitted beagle bsp.
This commit is contained in:
@@ -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 { \
|
||||
|
||||
Reference in New Issue
Block a user