xen/arm: UART addresses are not always aligned to a page.
authorJon Fraser <jfraser@broadcom.com>
Thu, 31 Oct 2013 19:37:38 +0000 (15:37 -0400)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 1 Nov 2013 13:09:14 +0000 (13:09 +0000)
commit3a2c282b0e5f1f59abec88f0001b71cba3af3378
tree5ad98a6ada40020ce217e457913282fa042f995c
parentbbf891bcd1841bc61d0726d11988b8c9bf8d6757
xen/arm: UART addresses are not always aligned to a page.

When calculating the virtual address of the UART,
add the page offset of the UART to the mapped address.

Create define EARLY_UART_VIRTUAL_ADDRESS and use instead
of FIXMAP_ADDR(FIXMAP_CONSOLE)

Signed-off-by: Jon Fraser <jfraser@broadcom.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/arm32/debug.S
xen/arch/arm/arm32/head.S
xen/arch/arm/arm64/debug.S
xen/arch/arm/arm64/head.S
xen/include/asm-arm/early_printk.h