/* debug-macro.S * * Debugging macro include header * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * */ #include #include .macro addruart, rx, tmp mrc p15, 0, \rx, c1, c0 tst \rx, #1 @ MMU enabled? ldreq \rx, =AST_UART3_BASE ldrne \rx, =IO_ADDRESS(AST_UART3_BASE) .endm #define UART_SHIFT 2 #include