summaryrefslogtreecommitdiff
path: root/include/semihosting.h
diff options
context:
space:
mode:
authorBradley Morgan <brads@mainlining.org>2026-10-03 23:04:08 +0000
committerBradley Morgan <brads@mainlining.org>2026-10-03 23:04:08 +0000
commit4f700c280b55c551047c00c71ef14aacf5830872 (patch)
treee3b436beb07733edbf6d6dc8134541759fd39dae /include/semihosting.h
parent61af8d6209b395a03ceab156b6df6720d638048e (diff)
tashaboot: pl011 console, the real hardware path
The console was semihosting only, the dev path. Real hardware has no semihosting host, a phone or a server speaks to the serial port. The sink is now the pl011 PrimeCell uart (DDI 0183): register map from the spec, bringup sequence disable, mask, clear, divisors, 8n1 fifo, enable, and the transmit path polls FR.TXFF and waits out FR.BUSY. 115200 at the 24MHz virt reference clock. The divisors are the one board dependent part, everything else is arch. semihosting stays as the dev path fallback, the init probes the uart and writes to it, the semihosting call remains for the file ops on qemu. Same boot receipt through the uart now, initrd, 4 cpus, userspace shell, nothing else changed. Signed-off-by: Bradley Morgan <brads@mainlining.org>
Diffstat (limited to 'include/semihosting.h')
0 files changed, 0 insertions, 0 deletions