Skip to content

Commit 3275eb1

Browse files
committed
kern: initramfs: add missing uart_amd64.v and uart_arm64.v
Fixes CI failure: initramfs.v references uart_putc, but the platform-specific definitions were never committed.
1 parent c4cdb40 commit 3275eb1

2 files changed

Lines changed: 14 additions & 0 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module initramfs
2+
3+
import dev.serial
4+
5+
fn uart_putc(c u8) {
6+
serial.out(c)
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
module initramfs
2+
3+
fn C.aarch64__uart__putc(c u8)
4+
5+
fn uart_putc(c u8) {
6+
C.aarch64__uart__putc(c)
7+
}

0 commit comments

Comments
 (0)