]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[riscv] Move prefix debug message printing to libprefix.S
authorMichael Brown <mcb30@ipxe.org>
Tue, 6 May 2025 15:35:19 +0000 (16:35 +0100)
committerMichael Brown <mcb30@ipxe.org>
Tue, 6 May 2025 16:28:14 +0000 (17:28 +0100)
commitdc9e6f0edf1ffd7c88c6112c638e7a2b013cf89a
treefb95576279e8fc63ed5d649a368b897e6d1288dd
parentb3cbdc86fcb7a483bce7d73dae269257cb61002e
[riscv] Move prefix debug message printing to libprefix.S

Create a prefix library function print_message() to print text to the
SBI debug console.  Use the "write byte" SBI call (rather than "write
string") so that the function remains usable even after enabling
paging.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/riscv/prefix/libprefix.S
src/arch/riscv/prefix/sbiprefix.S