1 // SPDX-License-Identifier: GPL-2.0
3 * arch/alpha/lib/srm_puts.c
6 #include <linux/string.h>
7 #include <asm/console.h>
10 srm_puts(const char *str, long len)
12 long remaining, written;
14 if (!callback_init_done)
17 for (remaining = len; remaining > 0; remaining -= written)
19 written = callback_puts(0, str, remaining);
20 written &= 0xffffffff;