**Debuggingmacroincludeheader**Copyright(C)1994-1999RussellKing*Movedfromlinux/arch/arm/kernel/debug.SbyBenDooks**Thisprogramisfreesoftware; you can redistribute it and/or modify*itunderthetermsoftheGNUGeneralPublicLicenseversion2as*publishedbytheFreeSoftwareFoundation.**/#include <linux/amba/serial.h>.macrosenduart,rd,rxstrb\rd,[\rx,#UART01x_DR].endm.macrowaituart,rd,rx1001:ldr\rd,[\rx,#UART01x_FR]tst\rd,#UART01x_FR_TXFFbne1001b.endm.macrobusyuart,rd,rx1001:ldr\rd,[\rx,#UART01x_FR]tst\rd,#UART01x_FR_BUSYbne1001b.endm