5 Commits

Author SHA1 Message Date
Travis Geiselbrecht
6f89579856 [dev][pl011] track if the uart has been initialized
Dont deref a bad pointer if the uart is uninitialized. This helps if a
system tries to print too early in the boot process.
2025-10-05 15:47:00 -07:00
Travis Geiselbrecht
6fd2626359 [dev][uart][pl011] switch configuration to a structure
This should be a bit easier to deal with going forward.
2024-08-09 18:20:30 -07:00
Travis Geiselbrecht
21bc71d8a2 [dev][uart][pl011] add defines for the bits that are used 2024-08-09 18:05:35 -07:00
Travis Geiselbrecht
51bcea6525 [dev][uart][pl011] have the uart be data driven
Initialize the uart by passing in the base and irq, as well as a flag
specifying if it's the debug uart and should directly put data into the
console buffer (if present).
2024-08-09 18:05:35 -07:00
Travis Geiselbrecht
5fa540dd31 [dev][uart][pl011] first step moving pl011 driver out of qemu-virt-arm
No real functional change, but move the driver implementation out to a
separate place so it can be made to be platform independent.
2024-08-09 18:05:35 -07:00