xen/arm64: debug: Add missing code symbol annotations

Use the generic xen/linkage.h macros to annotate code symbols
and add missing annotations.

Signed-off-by: Edgar E. Iglesias <edgar.iglesias@amd.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
This commit is contained in:
Edgar E. Iglesias authored and Julien Grall committed 2024-05-16 22:06:01 +01:00
1 parent fba250ae60
commit fdba3ff11f
1 file changed
+4 -2
+4 -2
View File
@@ -27,17 +27,19 @@
* Print a character on the UART - this function is called by C
* x0: character to print
*/
GLOBAL(early_putch)
FUNC(early_putch)
ldr x15, =EARLY_UART_VIRTUAL_ADDRESS
early_uart_ready x15, 1
early_uart_transmit x15, w0
ret
END(early_putch)
/* Flush the UART - this function is called by C */
GLOBAL(early_flush)
FUNC(early_flush)
ldr x15, =EARLY_UART_VIRTUAL_ADDRESS /* x15 := VA UART base address */
early_uart_ready x15, 1
ret
END(early_flush)
/*
* Local variables:
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.